ClashWebLite is a cross-platform lightweighted wrapper for Clash Premium on Desktop environment.
- Supported on Windows, MacOS, and Linux
- Startup after operating-system reboot
- Set system proxy
- Update Clash Premium(using system proxy)
- Change the WebUI: yacd/razord
Note: The TUN mode of the Clash Premium need root or administrator privilege.
- Download ClashWebLite from Releases
- Edit clash config.yaml
- Run ClashWebLite
With First running, the Clash Premium need to download Country.mmdb, ~6Mb.
- libayatana-appindicator
You can manually download the webui zip file or by git
:
- Stop the clash
cd path/clashweb_folder/App/ui
- delete what you want to update
git clone -b gh-pages --depth=1 https://github.com/Dreamacro/clash-dashboard.git razord
: update the razord- or
git clone -b gh-pages --depth=1 https://github.com/haishanh/yacd.git yacd
: update the yacd - Start the clash
After building the app, you need to download the latest clash premium into ./App/
folder.
For Linux, building apps requires gcc
as well as the gtk3
and libayatana-appindicator3
development headers to be installed. For Debian or Ubuntu, you may install these using:
sudo apt-get install gcc libgtk-3-dev libayatana-appindicator3-dev
On Linux Mint, libxapp-dev
is also required.
For Windows, to avoid opening a console at application startup, use these compile flags:
go build -ldflags "-H=windowsgui"
For MacOS, you will need to create an application bundle to wrap the binary; simply folders with the following minimal structure and assets:
SystrayApp.app/
Contents/
Info.plist
MacOS/
go-executable
Resources/
SystrayApp.icns
When running as an app bundle, you may want to add one or both of the following to your Info.plist:
<!-- avoid having a blurry icon and text -->
<key>NSHighResolutionCapable</key>
<string>True</string>
<!-- avoid showing the app on the Dock -->
<key>LSUIElement</key>
<string>1</string>
- https://github.com/Dreamacro/clash
- https://github.com/Dreamacro/clash-dashboard
- https://github.com/haishanh/yacd
- https://github.com/getlantern/systray
- https://github.com/gen2brain/beeep
This software is released under the GPL3.0 license.