Skip to content

ClashWebLite is a cross-platform lightweighted wrapper for Clash Premium on Desktop environment.

License

Notifications You must be signed in to change notification settings

ctaoist/clashweblite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClashWebLite

ClashWebLite is a cross-platform lightweighted wrapper for Clash Premium on Desktop environment.

build GitHub license

http://127.0.0.1:9090/ui:

Features

  • 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.

Usage

  1. Download ClashWebLite from Releases
  2. Edit clash config.yaml
  3. Run ClashWebLite

With First running, the Clash Premium need to download Country.mmdb, ~6Mb.

Dependencies

Linux

  • libayatana-appindicator

Update WebUI

You can manually download the webui zip file or by git:

  1. Stop the clash
  2. cd path/clashweb_folder/App/ui
  3. delete what you want to update
  4. git clone -b gh-pages --depth=1 https://github.com/Dreamacro/clash-dashboard.git razord: update the razord
  5. or git clone -b gh-pages --depth=1 https://github.com/haishanh/yacd.git yacd: update the yacd
  6. Start the clash

Install

Pre-compiled

Releases

From source code

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>

Credits

License

This software is released under the GPL3.0 license.

About

ClashWebLite is a cross-platform lightweighted wrapper for Clash Premium on Desktop environment.

Resources

License

Stars

Watchers

Forks

Packages

No packages published