MCPcopy Index your code
hub / github.com/GtxFury/FlyClash

github.com/GtxFury/FlyClash @v0.2.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.9 ↗ · + Follow
1,697 symbols 3,703 edges 200 files 481 documented · 28%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

友情推荐 友情推荐

FlyClash - 简洁优雅的代理工具

FlyClash是一个基于Clash内核的现代化代理客户端,拥有美观的界面和强大的功能。

功能特点

  • 🚀 集成最新的Clash内核
  • 📊 简洁直观的控制面板
  • 🎬 支持媒体服务检测
  • ⚡ 支持测速分享功能
  • 🔧 方便的订阅管理
  • 🌐 支持系统代理切换
  • 💡 明暗主题适配
  • 🔔 托盘图标支持
  • 🎨 基于现代设计语言

交流社区

加入我们的 Telegram 交流群 获取最新消息、使用帮助和与其他用户交流。

安装

从发布版下载

访问发布页面下载最新版本的安装包。

从源码构建

# 克隆仓库
git clone https://github.com/GtxFury/FlyClash.git
cd flyclash

# 安装依赖
npm install

# 开发模式运行
npm run electron:dev

# 构建安装包
npm run electron:build

使用方法

  1. 添加订阅:在"订阅管理"页面添加您的订阅链接
  2. 选择配置:在控制面板选择添加的配置文件
  3. 启动服务:点击"启动"按钮开始代理服务
  4. 系统代理:通过系统托盘菜单启用/禁用系统代理

常见问题

无法启动Clash内核

确保您没有其他同类软件占用了相同的端口(默认7890)。

系统代理设置失败

请尝试以管理员身份运行FlyClash,或手动设置系统代理。

致谢

许可证

MIT License

Extension points exported contracts — how you extend this code

LayoutProps (Interface)
(no doc)
components/Layout.tsx
ElectronAPI (Interface)
(no doc)
src/preload.ts
IpcRendererEvent (Interface)
(no doc)
src/types/electron.d.ts
ToastProps (Interface)
(no doc)
src/components/Toast.tsx
ReleaseInfo (Interface)
(no doc)
src/utils/update-check.ts
AiMessage (Interface)
(no doc)
src/stores/ai-store.ts
MihomoConfig (Interface)
(no doc)
src/services/mihomo-api.ts
ApiOptions (Interface)
(no doc)
src/hooks/use-api.ts

Core symbols most depended-on inside this repo

cn
called by 80
src/lib/utils.ts
getSetting
called by 77
electron/database/db-manager.js
parse
called by 68
electron/converter/proxy-parser.js
up
called by 62
src/components/ConfigEditor.tsx
showToast
called by 59
src/components/Settings.tsx
send
called by 56
electron/main-process/service-ipc.js
setSetting
called by 53
electron/database/db-manager.js
log
called by 41
electron/service-worker.js

Shape

Function 942
Method 475
Class 171
Interface 102
Struct 6
TypeAlias 1

Languages

TypeScript96%
Go2%
C#1%

Modules by API surface

electron/converter/proxy-producer.js100 symbols
electron/converter/proxy-parser.js79 symbols
src/components/ConfigEditor.tsx52 symbols
electron/converter/proxy-models.js48 symbols
electron/backup/backup-types.js39 symbols
electron/database/db-manager.js35 symbols
electron/main-process/tun-manager.js32 symbols
electron/main-process/mihomo-service.js31 symbols
src/components/Subscription.tsx29 symbols
src/components/Dashboard.tsx29 symbols
electron/converter/subscription-preprocessor.js28 symbols
src/components/ProxyNodes.tsx27 symbols

For agents

$ claude mcp add FlyClash \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page