English | 简体中文 | 繁體中文 | Русский
A minimal macOS menu bar client for mihomo.
The mihomo core can already host a web dashboard by itself (external-ui), and dashboards like metacubexd already do a great job with proxies, connections, rules, and logs. Yet most clients still build their own dashboard on top, duplicating features and growing in size and complexity along the way. Meanwhile the core is going: "I already have a dashboard, you know?"
ClashLite's idea is simple: do only what the core can't, and leave the rest to the core and its dashboard.
- "Client" jobs such as managing the core process, profiles, subscription updates, overrides, and TUN authorization are handled by ClashLite
- "Dashboard" jobs such as viewing connections, logs, rules, and running speed tests are one click away in the core-hosted dashboard
- The most common everyday actions (switching mode, switching proxies, toggling TUN mode) live in the menu bar, so you don't need to open the dashboard
No main window, no Dock icon, just a menu bar icon.
- Core-hosted dashboard: open the mihomo-hosted dashboard in one click with the address and secret filled in automatically, so there's no backend to configure by hand. metacubexd is used by default; switch to another dashboard with
external-ui-urlin your profile. The dashboard can be updated from the menu - Profile management: supports subscription URLs and local YAML files. Subscriptions can update automatically (using the subscription's
profile-update-intervalby default). Local profiles can be edited in the app, and subscription profiles can be viewed - Profile validation: importing, editing, or updating a profile, and saving an override, all run a full validation with the core (
mihomo -t) first, so a broken profile is never applied - Overrides: "profile overrides" (apply to a single profile) and a "global override" (applies to all profiles), deep-merged as YAML
- Menu bar shortcuts: switch proxy mode (Rule / Global / Direct), switch proxies in proxy groups (with latency), unpin, close all connections, restart the core
- TUN mode: authorize only once; DNS is automatically switched to fake-ip mode when enabled
- Switch by Wi-Fi: set the profile, TUN mode, and proxy mode for each Wi-Fi network (plus one set for all other networks); when the network changes they're applied together with a single core hot reload. Location Services permission (required by macOS to read the Wi-Fi name) is only requested when the feature is turned on
- Dashboard sync: changing the mode or switching proxies in the dashboard is synced back to the menu bar and kept across core restarts
- Launch at login
- Multilingual: English, Simplified Chinese, Traditional Chinese, and Russian, following the system language
English interface with example profiles.
| Menu bar | Profile management |
|---|---|
![]() |
![]() |
- macOS 15 or later
- Apple silicon or Intel Mac (universal binary)
-
Download the latest version from Releases and drag ClashLite into Applications. Each release provides these DMGs:
File Description ClashLite-x.y.z-mihomo-vA.B.C-arm64.dmgBundles the mihomo core (latest stable release at build time), for Apple silicon. Recommended ClashLite-x.y.z-mihomo-vA.B.C-amd64.dmgBundles the mihomo core, for Intel ClashLite-x.y.z.dmgNo core included; you provide your own -
The app is not notarized, so remove the quarantine attribute before opening it for the first time:
xattr -cr /Applications/ClashLite.app
Alternatively, after the first launch is blocked, click "Open Anyway" in System Settings → Privacy & Security.
Versions with a bundled core copy it to the core folder on first launch; nothing else is needed. An existing core in the core folder is never overwritten, so updating ClashLite won't replace a core you placed yourself. To switch to the core bundled with a newer release, delete mihomo from the core folder and reopen ClashLite.
If you're using the version without a core, or want to pick the core version yourself:
-
Download the core for your architecture from mihomo Releases (
mihomo-darwin-arm64-*.gzfor Apple silicon,mihomo-darwin-amd64-*.gzfor Intel) and extract it -
In the menu bar, click "More → Open Core Folder", put the extracted file there and rename it to
mihomo -
Make it executable and remove the quarantine attribute:
cd ~/Library/Application\ Support/com.oxi.ClashLite/Core chmod +x mihomo xattr -d com.apple.quarantine mihomo
-
The core version shows up in the menu bar, and the core starts automatically once you add a profile
To upgrade the core later, just replace this file and click "More → Restart Core". If TUN mode is on, you'll be asked to authorize again after replacing it.
An override is a YAML mapping, merged onto the profile in this order:
Profile → Profile override → Global override → ClashLite settings (mode, TUN, controller, etc.)
Merge rules:
- Mappings are merged recursively key by key; other values are replaced
- For lists,
+keyinserts before the original list andkey+appends after it
For example, to make custom rules take precedence over the subscription's rules:
+rules:
- DOMAIN-SUFFIX,example.com,DIRECTCreating a virtual network interface requires root. The first time you enable it, ClashLite shows the system administrator authorization dialog, makes the core file owned by root and sets the setuid bit, after which no further authorization is needed. Replacing the core file drops these permissions, and you'll be asked again.
All data lives in ~/Library/Application Support/com.oxi.ClashLite/:
| Path | Description |
|---|---|
Core/mihomo |
Core executable |
Home/ |
Core working directory, with Geo data, rule sets, dashboard, etc. |
Home/mihomo.log |
Core log, cleared on every start |
Profiles/ |
Profiles; the file name is the profile name |
Overrides/ |
Profile overrides |
Override.yaml |
Global override |
- The controller only listens on
127.0.0.1:9097, with a secret randomly generated on first launch - The dashboard path is randomly generated as well
- The final config is passed to the core via an environment variable, so the secret and proxy details never appear in process arguments
Requires Xcode 26 or later (the project uses Swift 6.2 and an Icon Composer icon).
git clone <repository URL>
cd ClashLite
open ClashLite.xcodeprojThe dependency (Yams) is fetched automatically by Swift Package Manager.
UI strings live in the String Catalog ClashLite/Localizable.xcstrings, with English as the source language. To add or change a translation, edit it in Xcode.
Pushing a tag starting with v triggers GitHub Actions to build the DMGs and create a Release. Versions with a bundled core download the latest stable mihomo at build time and are packaged separately for arm64 and amd64:
git tag v1.0.0
git push origin v1.0.0You can also run the workflow manually from the Actions page; build products are uploaded as artifacts.
- mihomo
- metacubexd
- Yams
- ClashBar, clash-verge-rev: ideas for TUN authorization and DNS handling









