Full user documentation — including features, supported platforms, installation, CLI flags, protocol support, and configuration reference — is hosted at docs.watfaq.com/clash:
- User Manual — Overview, key features, and supported platforms
- Quick Start — Prebuilt binaries, Docker, building from source, Cargo features, and minimal config
- CLI & Environment — Command-line flags, runtime environment variables, and systemd service setup
- GUI Clients & Web Dashboard — Desktop/mobile clients and built-in or external dashboards
- Configuration Reference — Inbounds, Outbounds, DNS, TUN, Proxy Groups, Rules, and Providers
- Mihomo Compatibility & Safe Paths — Migration guide and path confinement rules
- REST API & Controller — HTTP/WebSocket controller API
- Developer Guide — Workspace layout, concurrency, graceful shutdown, and error handling
-
Prebuilt Binaries: GitHub Releases
-
Container Images: ghcr.io/watfaq/clash-rs
- Published
amd64andarm64images run the glibc build on distroless Debian 13. Mount your configuration at/root/.config/clash/. To inspect YAML, run the bundledyqdirectly with--entrypoint /usr/bin/yq.
- Published
-
Android: clash-android
-
iOS / iPadOS: ChocLite (official iOS client built on ClashRS; beta builds on TestFlight)
For desktop clients and Web dashboards, see GUI Clients & Web Dashboard.
To build an XCFramework for iOS and macOS:
git clone https://github.com/Watfaq/clash-rs.git
cd clash-rs
chmod +x scripts/build_apple.sh
./scripts/build_apple.shThis generates build/clashrs.xcframework.
Install Git hooks with pre-commit before submitting changes:
pipx install pre-commit
pre-commit install
