https://github.com/4evergr8/mihomor
基于Flutter框架的mihomo内核控制器,仅限Root用户
https://github.com/4evergr8/mihomor
android clash flutter linux mihomo root shell
Last synced: 20 days ago
JSON representation
基于Flutter框架的mihomo内核控制器,仅限Root用户
- Host: GitHub
- URL: https://github.com/4evergr8/mihomor
- Owner: 4evergr8
- Created: 2026-03-10T03:40:58.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-06-03T14:13:14.000Z (21 days ago)
- Last Synced: 2026-06-03T14:22:18.250Z (21 days ago)
- Topics: android, clash, flutter, linux, mihomo, root, shell
- Language: Dart
- Homepage:
- Size: 27.8 MB
- Stars: 7
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mihomoR
mihomoR
基于Flutter框架的mihomo内核控制器,仅限KernelSU
订阅切换、配置覆写、内核启停
🐞故障报告
·
🏹功能请求
## 目录
- [主要功能](#主要功能)
- [Screenshots](#screenshots)
- [食用方法](#食用方法)
- [配置文件](#配置文件)
- [引用](#引用)
## 主要功能
- 磁贴控制核心启停
- 通知监控网速
- 分应用代理,支持白名单和黑名单模式
- 批量添加Clash订阅
- 删除订阅
- 切换订阅
- 批量更新订阅
- 订阅覆写
- 从返回头自动获取配置名称和流量信息
- 对配置中的所有节点进行测速,可自定义超时和测速链接
- 查看核心状态
## Screenshots
## 食用方法
1. 前往[Release](https://github.com/4evergr8/mihomoR/releases)下载对应架构的APK和mihomoR.zip
2. 在KernelSU内安装mihomoR.zip,授予mihomoR应用root权限,重启设备
3. 由于每次构建会生成不同的签名,只有开启核心破解后才能更新app,无法更新请前往模块目录手动安装apk
4. 添加订阅,选中订阅后重启核心
5. 前往WebUI观察运行情况
## 配置文件
### settings.yaml 软件设置
```yaml
ua: "clash.meta"
#下载订阅时使用的User-Agent
port: 9090
#软件打开的控制端口,需要和配置中的端口对应
timeout: 5000
#下载订阅超时,毫秒
url: "https://www.google.com"
#节点测速链接
testtimeout: 2000
#节点测速超时,毫秒
interval: 1000
#通知网速刷新间隔,毫秒
```
### subscriptions.yaml 订阅信息
```yaml
subscriptions:
- id: "example"
#订阅的ID,一般为时间戳,同时用作文件名
link: "https://raw.githubusercontent.com/4evergr8/mihomoR/refs/heads/main/mihomo/config/example.yaml"
#订阅下载链接
label: "测试订阅"
#订阅显示名称
upload: 536870912000
#订阅已使用上传流量(来自服务商)
download: 536870912000
#订阅已使用下载流量(来自服务商)
total: 1073741824000
#订阅套餐总量(来自服务商)
expire: 1775696117
#订阅到期时间(来自服务商)
update: 0
#上次更新时间
count: 0
#可用节点数量
favorite: false
#是否收藏订阅,收藏的订阅会被置顶
select: false
#是否被选中
```
### override.yaml 非递归配置覆写
```yaml
mode: rule
external-controller: 127.0.0.1:9090
external-ui: ./metacubexd
allow-lan: false
log-level: warning
ipv6: true
keep-alive-idle: 0
keep-alive-interval: 30
disable-keep-alive: true
unified-delay: true
tcp-concurrent: true
geodata-loader: memconservative
find-process-mode: off
geo-auto-update: true
geo-update-interval: 24
etag-support: true
geodata-mode: true
geox-url:
geoip: "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat"
geosite: "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat"
tun:
enable: true
stack: "gvisor"
device: "tun0"
auto-route: true
auto-detect-interface: true
strict-route: true
dns:
enable: true
cache-algorithm: lru
prefer-h3: false
listen: 0.0.0.0:1053
ipv6: true
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
fake-ip-filter-mode: blacklist
fake-ip-filter:
- geosite:cn
- geosite:private
use-hosts: false
use-system-hosts: true
default-nameserver:
- tls://1.12.12.12:853
- tls://223.5.5.5:853
nameserver:
- https://dns.alidns.com/dns-query#h3=true
- https://doh.pub/dns-query
proxy-server-nameserver:
- https://cloudflare-dns.com/dns-query#h3=true
- https://dns.google/dns-query#h3=true
- tls://1.1.1.1:853
- tls://8.8.8.8:853
```
## 引用
- 本项目采用GitHub Action进行编译
- 软件界面参考[chen08209/FlClash](https://github.com/chen08209/FlClash)
- WebUI来自[MetaCubeX/metacubexd](https://github.com/MetaCubeX/metacubexd)
- 规则集合来自[Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat)