FlClash README

项目的 README,来自 github.com/chen08209/FlClash。合并为一个 markdown 文件:README.md。

FlClash

FlClash

A multi-platform proxy client based on ClashMeta. Simple to use, open source and ad-free.

English · 简体中文

Release Downloads License Telegram

Website · Download · Changelog · Build from source

FlClash dashboard on a MacBook and a phone

Features

Download

Get the latest build from GitHub Releases, or open the website, which picks the right file for your device.

Platform Packages Notes
Android APK for arm64 (arm64-v8a), armv7 (armeabi-v7a) and amd64 (x86_64) Most phones use arm64. Also on the F-Droid repository below.
Windows 10 and later Installer (.exe) or portable .zip, for x64 and ARM64 Pick ARM64 on Snapdragon and other ARM laptops.
macOS 12 and later DMG for Apple Silicon and Intel Also on Homebrew.
Linux .deb, .rpm and AppImage, for x64 and ARM64 See the tray note below.

Get it on F-Droid Get it on GitHub

Homebrew

brew tap chen08209/tap
brew install --cask flclash

macOS first launch

The app is not notarized, so macOS refuses to open it the first time. After dragging it to Applications, run xattr -dr com.apple.quarantine /Applications/FlClash*.app, or choose Open Anyway under System Settings > Privacy & Security. Later updates install from inside the app.

Linux tray icon

The tray icon is a StatusNotifierItem. KDE Plasma, XFCE and most panels show it as is; GNOME needs the AppIndicator and KStatusNotifierItem Support extension.

Unattended desktop

FlClash starts the core only after the disclaimer is accepted. Where nobody can click it, such as a container, set FLCLASH_ACCEPT_DISCLAIMER=1 in the app's environment to accept it on first launch.

Usage

Import a profile from a link. Opening a link in this form imports the subscription into FlClash. The clashmeta:// and flclash:// schemes work the same way.

clash://install-config?url=<URL-encoded subscription link>

Automate on Android. Tasker, MacroDroid and similar apps can start, stop or toggle the proxy by starting an activity with one of these actions:

com.follow.clash.action.START
com.follow.clash.action.STOP
com.follow.clash.action.TOGGLE

From a computer, the same works over adb:

adb shell am start -a com.follow.clash.action.TOGGLE

Build from source

You need Flutter 3.50 (release builds use 3.50.1), Go 1.27 and Rust installed through rustup. Each platform builds on its own host, except Android, which builds anywhere.

git clone --recursive https://github.com/chen08209/FlClash.git
cd FlClash
flutter pub get
dart run tool/package.dart android   # or windows, macos, linux

Packages land in dist/. The Go core and the Rust libraries are compiled as part of the Flutter build.

Platform Also needed
Android Android SDK with the NDK. Add --arch arm64 to build a single ABI.
Windows GCC (MinGW-w64) for the core and Inno Setup 6 for the installer.
macOS Xcode and Node.js. The script installs appdmg through npm.
Linux Debian or Ubuntu. The script installs the build packages with apt and downloads appimagetool.

Run dart run tool/package.dart --help for the remaining options, such as --targets to build only some package formats or --dry-run to list the files a run would write.

Support

Starring the repository is the easiest way to support the project. Questions and announcements go to the Telegram channel; bugs and feature requests go to GitHub Issues.

Star history

License

FlClash is released under the GPL-3.0 license.

FlClash (chen08209/FlClash)

正在搜索数据库…

这是什么?FlClash 是基于 ClashMeta 的多平台代理客户端。它简单、开源、无广告,可以让你在多台设备上管理代理订阅和连接。
这是应用还是库?它是使用 Flutter 构建的独立桌面和移动端应用,采用基于 Material You 的图形界面(类似 Surfboard 的界面),不是库或命令行工具。
我该如何安装和设置?下载适用于你平台(Android、Windows、macOS、Linux)的预编译版本,或在 macOS 上通过 Homebrew 安装。然后在应用内添加你的代理订阅链接。
在 Linux 上运行还需要额外的东西吗?在 Linux 上使用 FlClash 前,你必须先安装某些系统依赖;在其他平台(Windows/macOS/Android)上,文档中未提及需要额外设置。
它支持哪些平台?FlClash 支持 Android、Windows、macOS 和 Linux,界面会根据不同的屏幕尺寸自动适配。
我能在设备之间同步设置吗?可以,FlClash 支持通过 WebDAV 在设备之间同步配置数据。
它支持哪些代理协议?FlClash 基于 ClashMeta,支持 Clash 风格的规则配置,以及其项目主题中提到的 V2Ray、VLESS、Hysteria 等现代协议。
它支持深色模式和主题吗?支持,FlClash 提供多种配色主题和深色模式选项,基于 Material You 设计原则构建。
我该如何添加订阅?在应用内添加订阅链接,之后 FlClash 会从该链接获取并管理代理配置。
这个应用有广告吗?没有,项目明确标注自己为开源且无广告。
作者
chen08209
大小
81.7 MB
星标
64K
时长
3年
提交 · 90 天