chenpingonline/Clash-for-fnos
About
飞牛nas上clash工具
Other ProjectsMeasured star growth
- in 24h
- +3
- in 7 days
- +17
- in 15 days
- +40
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalClash for fnos
简体中文 | English
A native Mihomo / Clash manager for fnOS
Manage Mihomo Core, proxies, profiles, rules, connections, logs, TUN and system proxy environment variables from the fnOS desktop.
User guide (Chinese) · Changelog (Chinese) · Download · Issues · Docker deployment · Mihomo · Clash-Manager

Version 1.7.2 with sample data. View the screenshot index
| Subscription User-Agent | Controller listen address |
|---|---|
![]() |
![]() |
| Proxy selection | Routing rules |
|---|---|
![]() |
![]() |
Overview
Clash for fnos is a Mihomo manager designed for fnOS NAS devices, offering a graphical interface without frequent SSH sessions or manual YAML editing. The Docker edition is called Clash Manager and shares the application code.
This project uses the shared source from Clash-Manager to provide a native fnOS application. For Docker deployment, use Clash-Manager directly; see the deployment links below.
The backend is fully implemented in Go. An unprivileged Web service handles the UI, APIs and Mihomo Controller communication. A separate Go Root Helper performs required system operations through a private Unix socket with an explicit API allowlist.
Two Core modes and both offline architecture packages and an online universal package are available:
- Manager-managed mode is the default on first startup. Architecture packages use their bundled Core; the
allpackage downloads the appropriate Core from official Releases. Both verify SHA-256 before activation. - External mode uses an existing Mihomo installation. Select it under Settings → Mihomo Core settings → Core management → Core operating mode. The selection persists across restarts and upgrades. Managed mode checks actual port conflicts and does not stop external Mihomo processes.
[!IMPORTANT] This project manages Mihomo. It does not provide proxies, subscription services or network access. Supply your own valid Mihomo configuration or profile.
Relationship with Clash-Manager and how it works
The purpose of this repository is to integrate Clash-Manager's Mihomo management features with the fnOS Application Center and desktop, delivering a native FPK that can be installed, upgraded and uninstalled. Users manage Core and proxy configuration through a graphical interface, reducing manual SSH and YAML work.
| Repository | Maintains | Deployment |
|---|---|---|
| Clash-Manager | Shared Vue frontend, Go Web service and Root Helper, translations, Mihomo management logic, Docker images and Linux packages | Docker / Linux |
| Clash-for-fnos (this repository) | fnOS manifest, lifecycle, permissions, configuration and data paths, desktop/window entry points, icons and FPK packaging/releases | Native fnOS FPK |
Shared source is pinned in upstream.lock, which is authoritative for the adopted shared source version and full commit SHA. The shared source version and FPK version are maintained independently; builds do not automatically follow a Clash-Manager branch.
The overall flow is:
- Use the shared implementation: build scripts obtain the pinned Clash-Manager commit, export it to a temporary directory, inject this repository's FPK version, changelog and fnOS icons, then compile the frontend and Go programs.
- Package a native application: compiled programs, Core/GEO resources and fnOS integration files are assembled into an FPK. fnOS manages installation, startup, stopping, upgrades and uninstallation. The installed application runs the packaged programs without fetching shared source at startup.
- Manage Mihomo: the interface communicates with Mihomo Controller through the Go Web service. A separate Root Helper handles privileged Core, TUN and system operations. Mihomo processes the actual proxy traffic.
For Docker, use the Clash-Manager deployment guide and image chenpingonline/clash-manager directly. This Docker edition can also run on fnOS. Choose this project's FPK for Application Center installation and native desktop, icon and host integration. Both deployments share the application implementation and expose capabilities appropriate to their platform.
Languages
The interface supports Simplified Chinese and English. Select a language under Settings → Language (top right). Follow system uses the browser language: Chinese locales select Chinese; other locales select English. Your explicit selection is stored in the current browser and takes effect immediately.
Proxy names, profile names, YAML keys and content, addresses, paths and original logs retain their original values. Dates use the selected interface language. Both the native fnOS edition and Docker edition use the same language packs. See Translation maintenance for terminology and contribution rules.
Features
| Module | Features |
|---|---|
| Dashboard | Core status, exit location, persistent traffic totals, up to 10 minutes of live traffic, memory, ports, LAN, IPv6 and TUN status |
| Proxies | Proxy groups, selection, latency tests and persistent group choices |
| Profiles | Remote profiles with a per-profile User-Agent, local YAML imports, updates, application, automatic updates/application; visual rules/proxies/groups editors and profile/global overrides and scripts |
| Configuration | Preview and edit managed startup YAML; validate, save and apply with automatic recovery on failure |
| Rules | View rules, persist enabled/disabled states per profile, explain sources, update individual or all rule providers |
| Connections | Active connections, upload/download totals, close one or all connections |
| Logs | Live and historical Mihomo logs, level/line-count filters, search highlighting, wrapping and clearing |
| Network | Proxy ports, LAN access, IPv6, Controller listen address and per-profile HTTP, SOCKS5 or Mixed listeners |
| DNS | Mihomo DNS, resolvers, Fake IP, domain policies, fallback filters and Hosts; backup, validation, application and rollback |
| TUN | Toggle, stack, MTU, auto route, DNS hijacking, strict route and excluded networks, with validation and upgrade recovery |
| Bypass router | Inspect forwarding, DNS, firewall status and active LAN connections. Enable Settings → Bypass router → Show bypass router menu to open the monitor. |
| Environment | Proxy variables in /etc/environment, /etc/profile and /etc/bash.bashrc (native fnOS only) |
| Core | Detect installed Mihomo; bundled/downloaded Core, online updates, backups and rollback |
| GEO | Bundled initial data; GeoIP, GeoSite, Country MMDB and ASN MMDB updates |
| Icons | Orbit Cat is the default. Choose an icon under Settings → Other settings → App icons, refresh the fnOS desktop and reopen the app window. |
| Application updates | GitHub Release checks, in-app download and verification, App Center installation, progress and failure reporting |
| Languages | Chinese / English / Follow system, with a persistent browser preference |
To connect a dashboard on another LAN device, open Settings → Network and ports → Controller API → Listen settings for the managed Core. The default is Localhost only. Select Specific address for one NAS interface or All IPv4 interfaces, then connect using the NAS IP, Controller port and existing Secret. Saving restarts a running Core and rolls back if verification fails. A stopped Core uses the setting on its next start.
For a subscription that requires a particular client, set User-Agent under Add profile or More → Profile information. The default follows the stable Clash Verge release. You can select the detected Mihomo version, clash.meta/alpha or a custom value. The choice applies to the first download and to manual and scheduled updates.
Configuration editing and rule toggles
- Configuration previews default to compact YAML, with formatted/compact views, line numbers and syntax highlighting. Compact lists stay on a single line; the horizontal scrollbar stays visible, as does the editor's vertical scrollbar. Very long lines initially show their prefix and a Show more (size) button. Expand or collapse them; searching reveals the matching line and can locate text near its end. Copying and editing use the complete configuration. Formatting/compacting a draft supports undo. Content is written only after Save and apply; collapsed content is retained.
- Configuration → Edit configuration edits the startup YAML of the running managed Core. Saving reuses backup, Mihomo validation, application and rollback, and synchronizes startup configuration. External Core configurations are read-only. If the profile or configuration changes while editing, overwriting is refused: keep the draft, reload and merge it.
- Direct edits may be overwritten by later profile application. For lasting changes, use Profiles → Edit → Edit rules / Edit proxies / Edit proxy groups, overrides or scripts. Visual editors offer source filters, prepend/append entries, exclusion and restoration; enhancements are stored per profile and reapplied after updates. Advanced mode edits enhancement YAML. Current Controller address and Secret are preserved.
- Each rule toggle immediately changes Core runtime behavior and is saved automatically. Reloading configurations, applying profiles and restarting Core restore saved states. Matching uses rule type, content and target policy rather than position. Different profiles keep separate records. Changed content or duplicate counts skip restoration to avoid disabling the wrong entry. The backend retries every 10 seconds. Unsupported Core versions disable the toggles. A disabled rule falls through; disabling
RULE-SETskips the referenced provider. - Proxy groups and routing rules usually come from the full profile YAML. The manager does not add them by default. Profile/global enhancements can modify the final configuration. Inspect
proxy-groups,rulesandrule-providers, or open Rule help, to identify sources.
Profile enhancements
Open a profile's Edit menu:
- Edit rules: choose type, content and policy, prepend/append, search/edit/reorder added rules, exclude/restore original rules.
- Edit proxies: paste one proxy URI per line or import a Base64 proxy list; prepend/append, search/filter/reorder, exclude/restore original proxies. Use table Edit to access advanced YAML for custom parameters.
- Edit proxy groups: type, name, members, providers and health checks; add/edit/reorder and filter/exclude/restore original groups. Optional health-check fields are under More settings.
- Global rules: open Advanced options → Global rules to prepend, append, reorder, exclude or restore rules for every profile. Global prepend rules precede profile prepend rules; trailing rules can be blocked by MATCH.
- Bypass fnOS apps: search and select installed apps in the global rule editor to generate prepended DIRECT rules from their installation directories and enable process lookup. Use Save and apply to activate. System interpreters, external child processes and Docker containers may not be covered. Re-select apps after moving their installation directories.
- Override configuration / Extension script: other configuration fields or complex changes. Global enhancement controls on the Profiles page participate in every profile application.
The first three editors default to visual mode; Advanced edits prepend, append and delete YAML. Save and apply stores enhancements and applies the profile. Reset changes only the current editor draft until saved. Download remote profiles first to view their original entries.
The question mark beside each editor title shows examples: enhancement YAML for rules/proxies/groups, configuration fragments for overrides, and JavaScript for scripts. Help remains available in advanced mode.
The final configuration is generated in this order:
Original profile → rule / proxy / group enhancements → global rules → global override
→ global script → profile override → profile script
→ saved Core settings and enabled DNS / Hosts overrides → validate and apply
Objects merge recursively; arrays replace the previous array. Scripts define main(config, profileName) and return a configuration object. Enhancement files are separate from original profiles, so updates reapply your changes.
Core modes
Manager-managed mode
On initial startup or when selecting managed mode:
- Detect the Linux CPU architecture.
- Use bundled Core for architecture packages or select an official GitHub Release asset for
all. - Verify file size and SHA-256.
- Install Core in the application's own data directory.
- Prepare managed configuration and GEO data.
- Start Mihomo and read Controller, Secret and Mixed Port settings.
Start, stop or restart managed Core under Settings → Mihomo Core settings → Core management. Stopping leaves the management interface and managed mode available; start Core or use dashboard detection to recover. Restarting the application automatically enables managed Core again. External Core lifecycle stays with its existing service.
Architecture packages do not need a Core download on first use. The smaller all package needs access to GitHub for initial activation.
External mode
Selecting external Mihomo avoids overwriting the existing installation, leaves startup/shutdown to its original service, attempts to discover its process/configuration/Controller/Secret, and retains proxy, rule, connection and log management.
Maintain the external configuration yourself. System configuration operations attempt to back up before applying changes.
Supported platforms
| fnOS CPU architecture | Release file | Core delivery |
|---|---|---|
| Intel / AMD x86_64 | Clash.for.fnos_<version>_x86_64.fpk |
Bundled linux/amd64 |
| ARM64 / aarch64 | Clash.for.fnos_<version>_arm64.fpk |
Bundled linux/arm64 |
| Universal fnOS x86 / ARM | Clash.for.fnos_<version>_all.fpk |
Detected and downloaded at runtime |
Requirements: fnOS 1.1.3100 or later, with unified application gateway; administrator access to install. Go binaries are statically compiled into the FPK; no Node.js or other runtime is required.
Starting with v1.3.0, os_min_version=1.1.3100 declares the minimum OS version. Older packages omitting it do not imply support for older systems such as fnOS 1.1.26.
[!TIP] Choose
allif unsure of your architecture. Choose the architecture package for knownx86_64oraarch64/arm64devices when you want first startup without a GitHub download.
Installation
Install from FnDepot
In a FnDepot client that supports V2 external sources, add https://github.com/chenpingonline/FnDepot. Open the Chenping source and select Clash for fnos. The source lists x86_64 and ARM64 packages. FnDepot source
Install from GitHub Releases
- Open Releases.
- Download your architecture's
.fpkor the universalallpackage without Core. - Open fnOS → Application Center → Manual installation.
- Select the FPK and finish installation.
- Open Clash for fnos from the desktop.
Existing installations can be upgraded using manual installation.
Starting with the official v1.4.0 release, choose Settings → Update settings → Update now. The NAS downloads the matching FPK from the official repository, verifies it, and submits an in-place upgrade through the local fnOS App Center API, retaining the existing volume and application data. Detected release details appear immediately. The page reloads when the new version is running and hides the completed progress panel. This requires the local App Center upgrade API, appcenter-cli, systemd-run and systemctl; manual download remains available when unavailable. Older versions need one manual upgrade to a version containing this feature.
An independent system task continues during the app's temporary disconnection. Failures show a reason and offer retry or manual installation. If an upgrade result is still unknown, check the task in App Center before submitting again. Download or verification failures never submit an upgrade. If installation or startup fails, check the application in fnOS App Center. Test-build users can manually install a newer official FPK to restore the official update source; see update sources and isolated testing.
Upgrade notes
- Profiles, managed configuration, backups and settings remain in the application's fnOS configuration/data directories.
- Explicitly saved ports, LAN access, global IPv6, Unified Delay, TUN and GEO preferences are stored in
core-user-settings.json. Every profile application, including automatic updates/application, merges these preferences before validation; untouched fields follow the profile. Enabled DNS overrides also apply saved DNS/Hosts settings. - Upgrades from versions before v1.0.0 do not convert the whole old configuration into preferences: those versions did not track where modifications came from. Save settings that should persist across profiles again. Direct YAML editing does not register preferences.
- The application no longer requires
nodejs_v22. - Upgrading with TUN enabled briefly releases and recreates its interface and routes. Check Core, TUN and exit connectivity afterward.
SHA-256 verification
GitHub Releases publish three FPK assets, one per target. Compare the SHA-256 of a downloaded file with the digest on the same release asset. For example, on Linux, run the following for the v1.7.2 x86_64 download.
sha256sum Clash.for.fnos_1.7.2_x86_64.fpk
Local builds write each FPK and its .fpk.sha256 to dist/. From that directory, use sha256sum -c "Clash for fnos_<version>_x86_64.fpk.sha256" with your build version. The package audit also writes its JSON report there.
Repository layout
This repository maintains fnOS packaging and host integration. upstream.lock pins shared application source to a full commit SHA.
Clash-for-fnos/
├── fpk/
│ ├── app/ui/ # Desktop entry and icons
│ ├── cmd/ # Lifecycle scripts
│ ├── config/ # Privilege / resource configuration
│ ├── wizard/ # Installation / uninstallation wizard
│ ├── ICON.PNG
│ ├── ICON_256.PNG
│ └── manifest # FPK version source
├── upstream.lock # Shared repository, VERSION and full commit SHA
├── scripts/ # Pinned source retrieval, checks, builds and audits
├── docs/ # fnOS documentation and screenshots
├── CHANGELOG.md # fnOS release notes
├── LICENSE
├── README.md
├── README.en.md
└── dist/ # Final packages and checksums; not committed
Shared backend/, web/, resources/core/ and assets/geodata/ live in Clash-Manager. Builds export the pinned commit into a temporary directory and compile it into the FPK. Installed applications do not fetch application source from GitHub at startup.
See Backend architecture.
Building from source
Build environment
Bash scripts support Linux, WSL2, GitHub Actions Linux runners and macOS. macOS needs GNU-compatible utilities, including sha256sum, which is not installed by default.
Required commands: bash, git, python3, cp, tar, gzip, sed, awk, mktemp, fnpack, openssl, sha256sum. The first build needs access to GitHub and npm. The build machine needs Python 3.12+, Node.js 24.22.1+ on the 24.x line (22.23.4+ on 22.x or 26.12.1+ on 26.x also work), npm and Go 1.26.10+ (at least 1.27.3 on the 1.27 line). Node.js is only a frontend build dependency; it is not needed by the FPK.
Single application version
The FPK version comes from version in fpk/manifest, using major.minor.patch. Update its matching CHANGELOG.md before packaging.
upstream.lockrecords the shared source version and commit independently of the FPK version.- Builds inject the FPK version and fnOS changelog into an isolated shared source export, synchronize its npm versions, and pass the FPK version to both Go binaries through linker flags.
- Builds do not modify the Clash-Manager checkout. Frontend build dependencies are not included in the FPK.
- Packaged
build-info.jsonrecords the FPK version, shared version and full source SHA.
Scripts do not increment versions automatically. Increment the manifest patch version for each newly produced installable FPK; failed retries without an installable output do not require another increment.
Development checks
Run from this repository:
./scripts/check.sh
Checks cover lifecycle script syntax, pinned-source retrieval tests, shared Go race tests and vet, plus frontend catalogs, types, tests and the fnOS build.
Production packages contain Vue assets, static Go binaries, configuration, GEO data and selected Core resources. Architecture packages contain one Web/Helper pair; all contains both and chooses at startup. No language runtime is required on fnOS.
Get the source
git clone https://github.com/chenpingonline/Clash-for-fnos.git
cd Clash-for-fnos
chmod +x scripts/*.sh
Release builds use fnpack 1.3.3 or a compatible version. Run fnpack cert status to check the imported developer certificate. Each build verifies the signature and the signed file inventory before writing the FPK to dist/. GitHub Actions builds unsigned test packages in a temporary directory without a developer key.
Architecture builds
| Package | Build command | Equivalent shortcut | Output in dist/ |
|---|---|---|---|
| x86_64 | ./scripts/build-manual.sh x86 |
./scripts/build-x86.sh |
Clash for fnos_<version>_x86_64.fpk and .fpk.sha256 |
| ARM64 | ./scripts/build-manual.sh arm |
./scripts/build-arm.sh |
Clash for fnos_<version>_arm64.fpk and .fpk.sha256 |
| Universal | ./scripts/build-manual.sh all |
./scripts/build-all.sh |
Clash for fnos_<version>_all.fpk and .fpk.sha256 |
Universal manifests use platform=all. They contain both x86_64 and ARM64 Go binaries, selected at startup, but no mihomo-linux-*.gz; Core is downloaded online. 32-bit x86 and ARMv7 are unsupported.
Build process
build-manual.sh retrieves the pinned commit, builds an isolated source export and assembles the FPK in a temporary stage:
upstream.lock SHA + shared VERSION → retrieve / validate / export source
→ inject FPK manifest version, fnOS CHANGELOG and icons → build Vue
→ copy fpk integration files and build assets into stage
→ write GEO assets and build-info.json
→ x86/arm: select shared resources/core/<arch> assets
all: include an online-delivery marker without Core binaries
→ set staged platform → cross-compile Go Web and Helper
→ use fnpack to create app.tgz, write the manifest checksum and sign the FPK
→ verify the developer signature and write the FPK and SHA-256 files to dist/
All architectures share the same application source. Build and audit serially:
./scripts/build-manual.sh x86
./scripts/build-manual.sh arm
./scripts/build-manual.sh all
python3 scripts/audit-fpk.py
Automated checks and archive audits do not verify installation, upgrades, themes, TUN or networking on a real fnOS device.
Adopting shared updates
Develop, validate and commit common features in Clash-Manager first. To adopt an update, specify its full 40-character commit SHA:
./scripts/update-upstream.sh <full-40-character-commit-SHA>
./scripts/check.sh
The script reads that commit's VERSION and updates upstream.lock. It does not follow master or latest automatically. Review and commit the lock and fnOS changes. For a new FPK, also update the manifest and changelog before building.
Git objects are cached in .cache/upstream.git. CLASH_OFFLINE=1 disables Git network retrieval when source is cached; npm dependencies must also be cached. CLASH_SHARED_SOURCE=/absolute/path/Clash-Manager reads local Git source, requiring a clean checkout with HEAD equal to the pinned SHA.
See Repository maintenance. Git pushes, FPK publication and Docker publication are separate operations.
Universal package Core downloads
The implementation references Clash Verge Rev Core updates. Stable Core comes from official Mihomo Releases; the manager reads the latest Release and selects for the running Linux architecture:
| Architecture | Preferred asset |
|---|---|
x86_64 / amd64 |
mihomo-linux-amd64-v2-<version>.gz, falling back to mihomo-linux-amd64-<version>.gz |
aarch64 / arm64 |
mihomo-linux-arm64-<version>.gz |
The Helper restricts download domains and file size, obtains SHA-256 from official Release metadata, verifies the file, decompresses it, runs mihomo -v and validates configuration before atomically replacing managed Core. Failed downloads/validation stop installation and show an error; retry after restoring connectivity.
Updating bundled Core
In the shared Clash-Manager repository, architecture resources live in resources/core/x86/ and resources/core/arm/. Each contains the official mihomo-linux-<arch>-<version>.gz, bundled-core.json, EXPECTED_ASSET.txt and THIRD_PARTY_NOTICES.txt.
Update the archive and its version, architecture, size and SHA-256 metadata in bundled-core.json; update filename/size/SHA-256 in EXPECTED_ASSET.txt and upstream/version notices in THIRD_PARTY_NOTICES.txt. Commit the resources in Clash-Manager, update upstream.lock in the fnOS repository, then rebuild both architecture packages.
[!WARNING] Replacing only the archive without its verification metadata causes activation to fail.
GEO data
Initial offline data from the shared repository's assets/geodata/ is packaged at fpk/app/geodata/Country.mmdb, geoip.dat and geosite.dat. It is copied only on first startup when the target file is absent, preserving subsequent updates.
Settings show size, update time and sources for GeoIP, GeoSite, Country MMDB and ASN MMDB. Missing assets can be downloaded individually; the Helper requires HTTPS, limits size, validates format and writes atomically without replacing existing files. Update now uses Mihomo /upgrade/geo.
Managed mode supports scheduled updates. Settings are persisted after backup and mihomo -t validation. External mode is read-only and does not change external GEO files/settings.
Configuration and data
| fnOS variable | Purpose |
|---|---|
TRIM_APPDEST |
Installed application runtime files |
TRIM_PKGETC |
Configuration, profile metadata and backups |
TRIM_PKGVAR |
Managed Core, logs and runtime data |
Original profile YAML and enhancements live in ${TRIM_PKGETC}/profiles/. Rule states live in ${TRIM_PKGETC}/rule-state.json, keyed by profile ID, so renaming does not lose them. Non-profile managed configuration uses a separate default record.
Privileged Helper operations include installing/starting managed Core, backing up/writing system configuration, applying TUN/network changes, managing system proxy variables and synchronizing fnOS icons. The Web service delegates these operations.
Proxy environment variables
The native fnOS edition manages /etc/environment, /etc/profile and /etc/bash.bashrc, writing http_proxy / HTTP_PROXY, https_proxy / HTTPS_PROXY and no_proxy / NO_PROXY. It can follow Mixed Port automatically. Disabling removes only application-owned entries and preserves other system configuration.
[!NOTE] Only programs that honor proxy environment variables use them. Docker containers, systemd services and other software may require their own configuration. TUN provides more transparent TCP/UDP routing.
TUN and upgrade recovery
The quick toggle prepares configuration, validates with mihomo -t, changes runtime state, confirms Controller status and commits the transaction. It does not overwrite the entire network configuration. Failure attempts to restore the previous configuration and runtime state.
For managed upgrades, the Helper sends SIGTERM and waits for Mihomo to release its TUN interface/routes before forcing termination after a timeout. Startup reads persisted settings and reconciles TUN state. If recovery fails, it attempts a restart using the validated persisted configuration.
Default MTU is 1500; 1400 may help with VPN, PPPoE or nested tunnels. Excluded networks accept IPv4/IPv6 CIDR for LAN or other virtual networks.
FAQ
Will it start a second Core if Mihomo is already installed?
Initial startup uses managed Core. Select external mode in Core settings to use an existing installation. Port conflicts show an error; the manager does not stop external processes.
How can I change ports when Core cannot start?
Click Change ports in the dashboard conflict notice, then Save or Save and start. While managed Core is stopped, Settings → Network and ports can save startup ports after backup/validation without an online Controller. Controller address follows the new port. Errors retain the edit controls; SSH commands are under advanced troubleshooting. Docker also supports startup port variables in Compose.
Can a new fnOS installation use it without installing Mihomo first?
Yes. Architecture FPKs include official Core and validate it locally before activation.
Why does 127.0.0.1:<Mixed Port> not reach the host from a container?
Container loopback points to the container itself. Use the host address or the appropriate Docker network configuration.
How do proxy environment variables differ from TUN?
Variables affect programs that read them. TUN transparently routes traffic; the suitable approach depends on the application/network.
Can I edit YAML directly?
Managed startup YAML is editable under Configuration, with validation, backups and application. External configurations are read-only. Use profile enhancements, overrides or scripts for changes that must survive profile application.
Do disabled rules become enabled after profile updates or restarts?
Saved states are restored per profile after switching, reloads, updates/application and Core/application restarts. Matching uses type, content and policy; changed content or duplicate counts skip restoration. Save failures roll back the toggle; restoration failures retain records and retry.
How do I diagnose a blank application window?
Confirm fnOS is at least 1.1.3100. Read Web/Helper startup logs over SSH:
sudo tail -n 200 /var/apps/clash-for-fnos/var/clash-for-fnos.log
# Follow logs while stopping/starting the app in Application Center:
sudo tail -f /var/apps/clash-for-fnos/var/clash-for-fnos.log
Press Ctrl+C to stop following. The application Logs page displays Mihomo logs, which differ from startup logs. If startup looks normal, attach browser Console errors and failed Network paths/status codes.
Does this project provide proxies or subscriptions?
No. It manages Mihomo only.
Contributing
Issues and pull requests are welcome. Submit fnOS lifecycle, permissions, window integration and FPK changes here; shared Vue / Go, translations, Linux packages and Docker changes belong in Clash-Manager. Include OS version, CPU architecture, application/Core versions, managed/external mode and relevant screenshots or logs. Avoid exposing subscription URLs, Secrets or passwords. Translation guidelines are in docs/i18n.md.
Acknowledgments
- MetaCubeX/mihomo: Core
- MetaCubeX/meta-rules-dat: GEO data
- Clash Verge Rev: GUI design and terminology reference
- fnOS developer documentation: packaging, entry points and runtime conventions
Thanks to the upstream maintainers and contributors.
License
Project source is GPL-3.0-only. Distributed packages keep licenses/LICENSE inside the application; first installation has no license acceptance step. Third-party components retain their licenses: Mihomo is GPL-3.0-or-later. Versions, asset origins and notices are maintained in the shared repository at resources/core/<arch>/THIRD_PARTY_NOTICES.txt and packaged with Core.
Docker and Linux packages
For Docker deployment, use Clash-Manager directly with its primary image chenpingonline/clash-manager. That repository maintains Docker and Linux packages using the same shared application code as fnOS; this repository maintains native FPKs.
Explore related projects
Loading…



