Skip to content

Commit b2c24ab

Browse files
committed
修改 Android 端分享教程为 Clash Mi;修改 zashboard 路径;其它优化
1 parent 70b2c8c commit b2c24ab

18 files changed

+25
-29
lines changed

_posts/2024-08-21-pin-toolsinstall.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pin: true
1212
1. 本教程中 **[AdGuard Home](https://github.com/AdguardTeam/AdGuardHome) 安装目录为 `/data/AdGuardHome`{: .filepath}**
1313
2. 本教程中的下载链接以 CPU 架构 ARMv8 为例,请注意修改链接后缀
1414
3. 查看 CPU 架构可连接 SSH 后执行命令 `uname -ms`,若执行结果是“linux aarch64”,就是搭载的 ARMv8 架构
15-
4. 以下所有命令均可全部复制后直接粘贴执行
15+
4. 以下所有命令均可全部复制后直接粘贴执行(若出现无法下载的情况,可更换[下载源](https://proxy-tutorials.dustinwin.us.kg/about/#%E5%AF%B9%E4%B8%8B%E8%BD%BD%E6%BA%90%E7%9A%84%E8%AF%B4%E6%98%8E)
1616

1717
## 一、 安装 [ShellCrash](https://github.com/juewuy/ShellCrash)
1818
### 1. 本地安装
@@ -84,11 +84,11 @@ curl -o $CRASHDIR/CrashCore.tar.gz -L https://ghfast.top/https://github.com/Dust
8484
连接 SSH 后执行如下命令:
8585

8686
```shell
87-
curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/Dashboard/metacubexd.tar.gz | tar -zx -C $CRASHDIR/ui/ && $CRASHDIR/start.sh restart
87+
curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/Dashboard/zashboard.tar.gz | tar -zx -C $CRASHDIR/ui/ && $CRASHDIR/start.sh restart
8888
```
8989

9090
- 注:若使用基于 [Chromium 项目](https://www.chromium.org/Home/)开发的浏览器打开网址去访问 Dashboard 面板时,以 [Chrome 浏览器](https://www.google.com/chrome/)为例,需要设置该网址域名“允许显示不安全内容”。方法如下:
91-
进入设置 → 隐私和安全 → 网站设置 → 更多内容设置 → 不安全内容(或者直接在地址栏打开 chrome://settings/content/insecureContent 进行设置),在“允许显示不安全内容”内添加网址域名如:`metacubex.github.io`
91+
进入设置 → 隐私和安全 → 网站设置 → 更多内容设置 → 不安全内容(或者直接在地址栏打开 chrome://settings/content/insecureContent 进行设置),在“允许显示不安全内容”内添加网址域名如:`board.zash.run.place`
9292

9393
## 四、 安装 AdGuard Home
9494
### 1. 安装 AdGuard Home

_posts/2024-08-21-share-android-mihomo-ruleset.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: 分享 FlClash for Android 采用 ruleset 方案的一套配置
2+
title: 分享 Clash Mi for Android 采用 ruleset 方案的一套配置
33
description: 此配置搭载 mihomo 内核,采用 `RULE-SET` 规则搭配 .list 和 .mrs 规则集合文件
44
date: 2024-08-21 18:08:13 +0800
55
categories: [分享配置, Android]
6-
tags: [Clash, FlClash, mihomo, Android, ruleset, rule-set, 分享]
6+
tags: [Clash, Clash Mi, mihomo, Android, ruleset, rule-set, 分享]
77
---
88

99
> 声明
@@ -308,11 +308,7 @@ dns:
308308
---
309309
310310
## 二、 导入配置文件并启动
311-
1. 进入 [FlClash for Android](https://github.com/chen08209/FlClash) → 配置 → 添加配置 → URL,“URL”输入《[一](https://proxy-tutorials.dustinwin.us.kg/posts/share-android-mihomo-ruleset/#%E4%B8%80-%E7%94%9F%E6%88%90%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6-yaml-%E6%96%87%E4%BB%B6%E7%9B%B4%E9%93%BE)》中生成的配置文件 .yaml 直链,点击“提交”
312-
2. 待配置下载完成后返回到主界面,点击“▶”即可启动
313-
314-
## 三、 在线 Dashboard 面板
315-
推荐使用在线 Dashboard 面板 [zashboard](https://github.com/Zephyruso/zashboard),访问地址:<https://board.zash.run.place>
316-
1. 进入 FlClash for Android → 工具 → 设置 → 基本设置 → 常规,启用“外部控制器”
317-
2. 首次进入 <https://board.zash.run.place> 需要添加“后端地址”,直接点击“提交”即可访问 Dashboard 面板
318-
<img src="/assets/img/share/127-9090-phone-dashboard.png" alt="在线 Dashboard 面板" width="60%" />
311+
1. 进入 [Clash Mi for Android](https://github.com/KaringX/clashmi) → “+”图标 → 添加配置链接,“配置链接/内容”输入《[一](https://proxy-tutorials.dustinwin.us.kg/posts/share-android-mihomo-ruleset/#%E4%B8%80-%E7%94%9F%E6%88%90%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6-yaml-%E6%96%87%E4%BB%B6%E7%9B%B4%E9%93%BE)》中生成的配置文件 .yaml 直链,点击“✓”
312+
2. 待配置下载完成后返回到主界面,进入核心设置,关闭所有配置项的覆写功能
313+
3. 再次返回到主界面,点击“未连接”右边的灰色按钮即可启动服务
314+
4. 待服务启动成功后可直接点击“面板”来使用 zashboard 面板

_posts/2024-08-21-share-android-singboxp-ruleset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ tags: [sing-box, sing-boxp, Android, ruleset, rule_set, 分享]
263263
"clash_api": {
264264
"external_controller": "127.0.0.1:9090",
265265
"external_ui": "./",
266-
"external_ui_download_url": "https://github.com/Zephyruso/zashboard/releases/latest/download/dist.zip",
266+
"external_ui_download_url": "https://github.com/Zephyruso/zashboard/archive/gh-pages.zip",
267267
"secret": "",
268268
"default_mode": "Rule"
269269
}

_posts/2024-08-21-share-shellcrash-mihomo-geodata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ log-level: error
136136
allow-lan: true
137137
unified-delay: true
138138
tcp-concurrent: true
139-
external-ui-url: "https://github.com/Zephyruso/zashboard/releases/latest/download/dist-cdn-fonts.zip"
139+
external-ui-url: "https://github.com/Zephyruso/zashboard/archive/gh-pages-cdn-fonts.zip"
140140
global-client-fingerprint: chrome
141141
profile: {store-selected: true, store-fake-ip: true}
142142

_posts/2024-08-21-share-shellcrash-mihomo-ruleset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ log-level: error
235235
allow-lan: true
236236
unified-delay: true
237237
tcp-concurrent: true
238-
external-ui-url: "https://github.com/Zephyruso/zashboard/releases/latest/download/dist-cdn-fonts.zip"
238+
external-ui-url: "https://github.com/Zephyruso/zashboard/archive/gh-pages-cdn-fonts.zip"
239239
global-client-fingerprint: chrome
240240
profile: {store-selected: true, store-fake-ip: true}
241241

_posts/2024-08-21-share-shellcrashadguardhome-mihomo-ruleset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ log-level: error
240240
allow-lan: true
241241
unified-delay: true
242242
tcp-concurrent: true
243-
external-ui-url: "https://github.com/Zephyruso/zashboard/releases/latest/download/dist-cdn-fonts.zip"
243+
external-ui-url: "https://github.com/Zephyruso/zashboard/archive/gh-pages-cdn-fonts.zip"
244244
global-client-fingerprint: chrome
245245
profile: {store-selected: true, store-fake-ip: true}
246246

_posts/2024-08-21-toolsettings-shellcrash-mihomo-geodata.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ curl -o $CRASHDIR/Country.mmdb -L https://cdn.jsdelivr.net/gh/DustinWin/ruleset_
3939
```shell
4040
201#curl -o $CRASHDIR/CrashCore.tar.gz -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/mihomo/mihomo-meta-linux-armv8.tar.gz && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新mihomo内核
4141
202#curl -o $CRASHDIR/GeoSite.dat -L https://cdn.jsdelivr.net/gh/DustinWin/ruleset_geodata@mihomo-geodata/geosite-all.dat && curl -o $CRASHDIR/Country.mmdb -L https://cdn.jsdelivr.net/gh/DustinWin/ruleset_geodata@mihomo-geodata/Country.mmdb && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新geodata路由规则文件
42-
203#curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/Dashboard/metacubexd.tar.gz | tar -zx -C $CRASHDIR/ui/ && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新metacubexd面板
42+
203#curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/Dashboard/zashboard.tar.gz | tar -zx -C $CRASHDIR/ui/ && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新zashboard面板
4343
```
4444

4545
按一下 Esc 键(退出键),输入英文冒号 `:`,继续输入 `wq` 并回车
@@ -67,11 +67,11 @@ curl -o $CRASHDIR/Country.mmdb -L https://cdn.jsdelivr.net/gh/DustinWin/ruleset_
6767
6. 进入主菜单 → 4 内核启动设置,选择 1 允许 ShellCrash 开机启动(若重启路由器后服务没有自动运行,可“设置自启延时”为 `30` 秒)
6868
7. 进入主菜单 → 5 配置自动任务 → 1 添加自动任务,可以看到末尾就有《[](https://proxy-tutorials.dustinwin.us.kg/posts/toolsettings-shellcrash-mihomo-geodata/#%E4%B8%89-%E6%B7%BB%E5%8A%A0%E5%AE%9A%E6%97%B6%E4%BB%BB%E5%8A%A1)》中添加的定时任务,输入对应的数字并回车后可设置执行条件
6969
8. 进入主菜单 → 7 内核进阶设置,启用 4 启用域名嗅探
70-
9. 进入主菜单 → 6 导入配置文件 → 2 在线获取完整配置文件,粘贴《[生成带有自定义策略组和规则的 mihomo 配置文件直链-geodata 方案](https://proxy-tutorials.dustinwin.us.kg/posts/link-mihomo-geodata)》中生成的 .yaml 配置文件直链,启动服务即可
70+
9. 进入主菜单 → 6 导入配置文件 → 2 在线获取完整配置文件,粘贴《[生成带有自定义策略组和规则的 mihomo 配置文件直链-geodata 方案](https://proxy-tutorials.dustinwin.us.kg/posts/link-mihomo-geodata)》中生成的 .yaml 配置文件直链,启动服务即可
7171
10. 访问 Dashboard 面板 <http://192.168.31.1:9999/ui/>,首次打开需要添加“主机”和“端口”,分别填入 `192.168.31.1``9999` 并点击“添加”即可
7272
<img src="/assets/img/tools/192-9999-dashboard.png" alt="设置部分 2" width="60%" />
7373

74-
11. 进入 Dashboard 面板 → 代理 → 代理提供者,点击“转圈”图标,可手动更新节点
74+
11. 进入 Dashboard 面板 → 代理 → 代理提供者,点击“转圈”图标,可手动更新节点
7575

7676
## 五、 在线 Dashboard 面板
7777
推荐使用在线 Dashboard 面板 [zashboard](https://github.com/Zephyruso/zashboard),网址:<https://board.zash.run.place>

_posts/2024-08-21-toolsettings-shellcrash-mihomo-ruleset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/dow
3030

3131
```shell
3232
201#curl -o $CRASHDIR/CrashCore.tar.gz -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/mihomo/mihomo-meta-linux-armv8.tar.gz && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新mihomo内核
33-
202#curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/Dashboard/metacubexd.tar.gz | tar -zx -C $CRASHDIR/ui/ && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新metacubexd面板
33+
202#curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/Dashboard/zashboard.tar.gz | tar -zx -C $CRASHDIR/ui/ && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新zashboard面板
3434
```
3535

3636
按一下 Esc 键(退出键),输入英文冒号 `:`,继续输入 `wq` 并回车

_posts/2024-08-21-toolsettings-shellcrash-singboxp-geodata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ curl -o $CRASHDIR/geoip.db -L https://cdn.jsdelivr.net/gh/DustinWin/ruleset_geod
3939
```shell
4040
201#curl -o $CRASHDIR/CrashCore.tar.gz -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/sing-box/sing-box-puernya-linux-armv8.tar.gz && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新sing-box_PuerNya版内核
4141
202#curl -o $CRASHDIR/geosite.db -L https://cdn.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-geodata/geosite-all.db && curl -o $CRASHDIR/geoip.db -L https://cdn.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-geodata/geoip.db && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新geodata路由规则文件
42-
203#curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/Dashboard/metacubexd.tar.gz | tar -zx -C $CRASHDIR/ui/ && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新metacubexd面板
42+
203#curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/Dashboard/zashboard.tar.gz | tar -zx -C $CRASHDIR/ui/ && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新zashboard面板
4343
```
4444

4545
按一下 Esc 键(退出键),输入英文冒号 `:`,继续输入 `wq` 并回车
@@ -67,7 +67,7 @@ curl -o $CRASHDIR/geoip.db -L https://cdn.jsdelivr.net/gh/DustinWin/ruleset_geod
6767
6. 进入主菜单 → 4 内核启动设置,选择 1 允许 ShellCrash 开机启动(若重启路由器后服务没有自动运行,可“设置自启延时”为 `30` 秒)
6868
7. 进入主菜单 → 5 配置自动任务 → 1 添加自动任务,可以看到末尾就有《[](https://proxy-tutorials.dustinwin.us.kg/posts/toolsettings-shellcrash-singboxp-geodata/#%E4%B8%89-%E6%B7%BB%E5%8A%A0%E5%AE%9A%E6%97%B6%E4%BB%BB%E5%8A%A1)》中添加的定时任务,输入对应的数字并回车后可设置执行条件
6969
8. 进入主菜单 → 6 导入配置文件 → 2 在线获取完整配置文件,粘贴《[生成带有自定义出站和规则的 sing-boxp 配置文件直链-geodata 方案](https://proxy-tutorials.dustinwin.us.kg/posts/link-singboxp-geodata)》中生成的 .json 配置文件直链,启动服务即可
70-
9. 访问 Dashboard 面板 <http://192.168.31.1:9999/ui/>,首次打开需要添加“主机”和“端口”,分别填入 `192.168.31.1``9999` 并点击“添加”即可
70+
9. 访问 Dashboard 面板 <http://192.168.31.1:9999/ui/>,首次打开需要添加“主机”和“端口”,分别填入 `192.168.31.1``9999` 并点击“添加”即可
7171
<img src="/assets/img/tools/192-9999-dashboard.png" alt="设置部分 2" width="60%" />
7272

7373
10. 进入 Dashboard 面板 → 代理 → 代理提供者,点击“转圈”图标,可手动更新节点

_posts/2024-08-22-share-shellcrash-singboxp-geodata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ curl -o $CRASHDIR/geoip.db -L https://cdn.jsdelivr.net/gh/DustinWin/ruleset_geod
252252
201#curl -o $CRASHDIR/CrashCore.tar.gz -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/sing-box/sing-box-puernya-linux-armv8.tar.gz && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新sing-box_PuerNya版内核
253253
202#curl -o $CRASHDIR/geosite.db -L https://ghfast.top/https://github.com/DustinWin/ruleset_geodata/releases/download/sing-box-geodata/geosite.db && curl -o $CRASHDIR/geoip.db -L https://ghfast.top/https://github.com/DustinWin/ruleset_geodata/releases/download/sing-box-geodata/geoip-lite.db && $CRASHDIR/start.sh restart >/dev/null 2>&1#更新geodata路由规则文件
254254
203#curl -o $CRASHDIR/cn_ip.txt -L https://ghfast.top/https://github.com/DustinWin/geoip/releases/download/ips/cn_ipv4.txt && curl -o $CRASHDIR/cn_ipv6.txt -L https://ghfast.top/https://github.com/DustinWin/geoip/releases/download/ips/cn_ipv6.txt >/dev/null 2>&1#更新CN_IP文件
255-
204#rm -rf $CRASHDIR/ui/* && curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/Dashboard/zashboard.tar.gz | tar -zx -C $CRASHDIR/ui/ >/dev/null 2>&1#更新Dashboard面板
255+
204#rm -rf $CRASHDIR/ui/* && curl -L https://ghfast.top/https://github.com/DustinWin/proxy-tools/releases/download/Dashboard/zashboard.tar.gz | tar -zx -C $CRASHDIR/ui/ >/dev/null 2>&1#更新zashboard面板
256256
```
257257

258258
2. 按一下 Esc 键(退出键),输入英文冒号 `:`,继续输入 `wq` 并回车

0 commit comments

Comments
 (0)