Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 867 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 867 Bytes

Termux Scripts

A few scripts to automate things with Termux on Android:

  • barcode-scan: scan a file (or take a photo if not specified) for text or URLs using ZBar package
  • ocr-scan: scan a file (or take a photo if not specified) for text Tesseract package
  • php-web-server: start the built-in PHP web server displaying the IP address to connect to
  • ssh-server: start the OpenSSH server and display the wireless IP to connect to

Installation

Using at least Git 2.8.1-2:

cd && cd ../usr
mkdir local && cd local
git clone https://github.com/vaites/termux-scripts.git

Then, just add to your .profile:

export TERMUX_PREFIX=/data/data/com.termux/files/usr
export PATH=$TERMUX_PREFIX/local/bin:$PATH