Skip to content
Edit this page

GUI Clients & Web Dashboard

ClashRS can be driven by desktop GUI launchers, mobile apps built on clash-ffi, or a browser-based Web Dashboard via its REST controller.

Desktop Clients

Clash Nyanpasu

Clash Nyanpasu supports ClashRS directly as a selectable proxy core on Windows, macOS, and Linux.

Clash Verge

ClashRS supports Mihomo-compatible profiles and TUN settings used by Clash Verge:

  1. Select ClashRS as the core in Clash Verge settings.
  2. When using Clash Verge Service, keep configuration files and all referenced assets (GeoData, providers, certificates) inside the service runtime directory, because service mode enforces Safe Paths.
  3. When enabling TUN on Windows, all stack choices (system, gvisor, mixed) use the same native ClashRS Rust network stack, and Wintun is handled automatically when wintun.dll is present or embedded.

clash-rs-desktop (Proof of Concept)

clash-rs-desktop (Choclite for Desktop) is a desktop client for ClashRS targeting Windows and Linux. It is currently in the proof-of-concept (PoC) stage, supporting system proxy mode and a service-backed TUN enhanced mode.

Mobile Clients

Platform Client Notes
Android clash-android Proof of concept (PoC); built on clash-ffi with VPN fd:// TUN and TProxy support
iOS / iPadOS ChocLite Official iOS client built on ClashRS (TestFlight Beta)

Built-in & External Web Dashboard

ClashRS exposes a web UI at /ui/ whenever external-controller is configured.

Using the Embedded Dashboard

Default release builds compile with the dashboard feature enabled. Simply enable external-controller:

external-controller: 127.0.0.1:9090
secret: "change-me"

Then open http://127.0.0.1:9090/ui/ in a browser.

Using an External Dashboard (external-ui)

To serve a custom dashboard (such as Yacd or Metacubexd), configure external-ui and optionally external-ui-url:

external-controller: 127.0.0.1:9090
secret: "change-me"
external-ui: ui
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"
  • external-ui is resolved relative to the working directory (-d) and checked against SafePaths.
  • If the directory does not exist or is empty and external-ui-url is set, ClashRS downloads and extracts the archive (.zip or .tgz).
  • URL fragment modifiers supported on external-ui-url:
  • #force=true — force re-download even if the directory is non-empty.
  • #_clash_outbound=<name> — download the archive through the named outbound proxy.
  • If external-ui is missing or empty and no download succeeds, ClashRS falls back to the embedded dashboard (when compiled with dashboard).

Exposing the Controller Beyond Localhost

If external-controller binds to a non-loopback address (for example 0.0.0.0:9090), ClashRS requires both a non-empty secret and explicit CORS origins (external-controller-cors or cors-allow-origins); otherwise the API server refuses to start. See REST API & Controller.