Skip to content

Nemu-x/SlothClash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4,451 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sloth Clash

Clash Meta (Mihomo) desktop client — Wails · Go · React
Windows · macOS · Linux

Русский · 简体中文 · Changelog · Support

Sloth Clash preview


Overview

Sloth Clash is a GPL-3.0 GUI around Mihomo (Clash Meta). This repository ships the Wails desktop shell (apps/sloth-clash-desktop). The Windows system service / IPC layer lives in a separate project: sloth-clash-service-ipc (release artifacts are consumed by pnpm run prebuild).

Features (high level)

  • Profiles, proxies, rules, and merge / script-style config workflows in the UI
  • Mihomo core integration (stable channel via prebuild)
  • One-click Proxy / TUN traffic modes with a live connection-health status
  • Visual + YAML rule editor, live connections monitor, and a diagnostics/advanced panel
  • Signed, fail-closed in-app updates (Windows) with UAC-elevated installer hand-off
  • Windows service installer bundle + sidecar layout compatible with Wails packaging
  • Deep link scheme slothclash:// (see wails.json)

Screenshots

Home — connect, mode, traffic, live status
Home — connect, Rule/Global mode, Proxy/TUN traffic, live health & speed
Profiles — subscriptions
Profiles — import & manage subscriptions, usage, auto-update
Proxies — selector and url-test groups
Proxies — selector / url-test groups with latency and search
Connections — live traffic
Connections — live per-process traffic, matched rule, up/down
Rules — routing table
Rules — full routing table with type / policy filters
Edit rules — visual and YAML
Edit rules — visual builder + Advanced (YAML), subscription read-only base
Advanced — diagnostics and tools
Advanced — diagnostics, connectivity probes, recovery tools
Settings — runtime, updates, diagnostics
Settings — theme, language, connection, updates & diagnostics

Downloads

Releases for this app: SlothClash releases (when published).
Service binaries used at build time: sloth-clash-service-ipc releases.

Build (local)

Prerequisites: Go 1.25+, Node 20+, pnpm, Wails v2 (go run github.com/wailsapp/wails/v2/cmd/wails@latest works without a global install).

pnpm install
pnpm run desktop:resources   # mihomo sidecar, geo DBs, Sloth service exes, Windows icon → build/
pnpm run wails:dev           # or: pnpm run wails:build

desktop:resources writes under apps/sloth-clash-desktop/build/ (ignored by git). On Windows, pnpm run icons:windows is included there and refreshes build/windows/icon.ico from build/appicon.png so installers / shortcuts pick up the right icon.

CI

GitHub Actions: .github/workflows/desktop-artifacts.yml (Windows, Linux, macOS arm64 + Release) and .github/workflows/desktop-artifacts-darwin-amd64.yml (macOS Intel — same tag, adds zip to the same Release).

Contributing

See CONTRIBUTING.md.

Support the project

Sloth Clash is free and GPL-3.0. If it's useful to you, a crypto donation helps keep development and releases going. Thank you! 🦥

Asset Address
USDT (TRC20) TPACN1kJRm2FnFF1cSqYtBnJwAmZ3qGMni
USDT (Polygon / MATIC) 0xD9333e859Fb74D885d22E27568589de61E4433b5
BTC bc1qkkcgpqym967k2x73al6f7fpvkx52q4rzkut3we
ETH 0xD9333e859Fb74D885d22E27568589de61E4433b5

Double-check the network before sending — wrong-network transfers are unrecoverable.

Acknowledgements

  • Basis (upstream GUI this work descends from): clash-verge-rev — Clash Verge Rev (Tauri); Sloth Clash reimplements the product direction with Wails + Go in this repo.
  • Proxy core (Clash Meta): MetaCubeX/mihomo.
  • Desktop shell: Wails — Go backend + web frontend in one binary.

Also: zzzgydi/clash-verge (original Clash Verge), and the wider Clash ecosystem.

License

GPL-3.0

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 46.5%
  • TypeScript 35.2%
  • CSS 8.3%
  • JavaScript 7.5%
  • Objective-C 1.2%
  • NSIS 0.8%
  • Other 0.5%