LuCI support for Clash. Configuration of clash based on https://github.com/chandelures/openwrt-clash to build your tunnel on Openwrt.
- Update list of available packages
$ opkg update
- Use Opkg package manager to install .ipk from release page
$ opkg install luci-app-simple-clash_*_all.ipk
- Download Openwrt Source Code or SDK as the basic enviroment to build the package.
$ git clone https://github.com/openwrt/openwrt
$ cd openwrt
# or
$ wget https://downloads.openwrt.org/path/to/openwrt-sdk_*.tar.xz
$ tar -Jxvf openwrt-sdk_*.tar.xz
$ cd openwrt-sdk_*
- Prepare build environment
$ ./scripts/feeds update -a
$ ./scripts/feeds install -a
$ git clone https://github.com/chandelures/openwrt-clash package/openwrt-clash
$ git clone https://github.com/chandelures/luci-app-simple-clash package/luci-app-simple-clash
- Choose luci-app-simple-clash as a module or built-in module
$ make menuconfig
...
LuCI --->
Applications --->
<M> luci-app-simple-clash
...
- Build packages
$ make package/luci-app-simple-clash/{clean,compile} V=s