0.5.3 • Published 2 years ago

uclash v0.5.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Clash For Termux

uclash is a CLI tool for managing clash profile in Termux. uclash is writen in javascript with esm. uclash runs in nodejs runtime and is able to run in most platform.

uclash also has a alias as cft meaning clash-for-termux. I use it to run clash in my android cellphone and share proxy to other devices. Now, it's opinioned and buggy.

Install

npm install -g uclash
yarn global add uclash

Install latest unstable version from github

yarn global add https://github.com/xsro/uclash
npm install -g https://github.com/xsro/uclash

Install Clash in Termux

#install clash
pkg install clash
#install clash premium
curl -fsSL "https://raw.githubusercontent.com/xsro/uclash/main/scripts/install-premium-in-termux.sh" | bash

Usage

type uclash help.

Quick start

#uclash config config-repo <repo>     # set a repo for uclash profiles
uclash init                 # create folder for ui and clone `config-repo` to `config-folder`
uclash config -p            # display a list of clash profiles with id, 0 is built in profile
uclash generate 0           # update profiles, `0` can be the path of your config or config id
uclash exec 0               # exec clash to start proxy server with clash config path or id

Troubleshoot

  • shebang interpreter Error:
    • Install termux-exec for most cases
    • in some script like Termux:Widge: use node $(which uclash) command as an alternative
  • Problems about esm: Upgrade nodejs

know issue

  • use white pac in android, bilibili app can't work
  • use http(s) proxy in android, zhihu app can't work
0.5.3

2 years ago

0.5.2

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.3.5

2 years ago

0.1.7

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.3.2

2 years ago

0.2.3

2 years ago

0.1.4

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.2.2

2 years ago

0.4.3

2 years ago

0.3.4

2 years ago

0.1.6

2 years ago

0.5.1

2 years ago

0.4.2

2 years ago

0.3.3

2 years ago

0.1.5

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago