Giter VIP home page Giter VIP logo

termux-setup's Introduction

My personal setup for termux.

Note

This is an entirely personal setup I shared because I thought others might find it useful. There are no guarantees, no obligations from my part to provide any support, updates, features, fixes or even commit messages. This repo only has one branch. It may be updated anytime.

Includes

  1. termux-url-opener: By sharing to termux, either download videos in highest quality with yt-dlp or image/video galleries with gallery-dl.
  2. server: A home screen widget for an http server serving 'Internal Storage' at http://<device_ip>:8080/ or http://localhost:8080/.
  3. update-setup: Update changes from the repository and reinstalls this script.

How to Install

The following folders will be deleted when you run this script. If you already use them, edit the script accordingly.

  • "~/.shortcuts"
  • "~/bin"
  1. Install termux and termux-widget (only if you want the server feature) from github.
  2. Open termux and grant storage permissions with termux-setup-storage.
  3. Update all the inbuilt packages with yes | pkg up.
  4. Install the script with curl -L https://raw.githubusercontent.com/adithya-s-sekhar/termux-setup/main/termux-setup.sh | sh

Note: Depending on your Android skin you'd have to enable 'Display over other apps' permission for termux for the scripts to work.

How to use

Download by sharing to termux.

  1. Open any website or app with playing video in Chrome or any other app.
  2. Touch the share button and share to Termux.
  3. Choose if you want yt-dlp or gallery-dl to handle the link for videos and image/video galleries respectively.
  4. It will automatically download in the Highest possible quality and saves to your 'Download' folder.
  5. It will also save all successfully downloaded urls to a 'Downloaded.txt' file and failed urls to 'Failed.txt'. This can help with debugging.

There are plans to bring AYC to termux for more features and better quality selectors.

HTTP Server

  1. On your Android homescreen, Add a widget for termux actions and you'll see the 'server' script inside.
  2. Opening it will start termux in the background and your files will be accessible at http://<device_ip>:8080/ or http://localhost:8080/

Update script

  1. Enter update-setup and termux will download all changes from this repo and installs it.

Links

Termux

Termux:Widget

the-termux-project (Discontinued)

Advanced Youtube Client - AYC

termux-setup's People

Contributors

adithya-s-sekhar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.