Skip to content

Commit

Permalink
添加和修改下载源
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinWin committed Sep 14, 2024
1 parent 6e042b2 commit 31b34c5
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 15 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
5. sing-box 采用 geodata 方案,使用 `GEOSITE``GEOIP` 规则搭配 geosite.db 和 geoip.db [路由规则文件](https://github.com/DustinWin/ruleset_geodata?tab=readme-ov-file#%E4%B8%80-geodata-%E8%A7%84%E5%88%99%E9%9B%86%E6%96%87%E4%BB%B6%E8%AF%B4%E6%98%8E)
6. sing-box 采用 ruleset 方案,采用 `rule_set` 规则搭配 .srs 和 .json [规则集文件](https://github.com/DustinWin/ruleset_geodata?tab=readme-ov-file#%E4%BA%8C-ruleset-%E8%A7%84%E5%88%99%E9%9B%86%E6%96%87%E4%BB%B6%E8%AF%B4%E6%98%8E)

# 对下载源的说明
1. 本教程默认下载源为 [jsDelivr 源](https://www.jsdelivr.com/github),地址前缀为 <https://cdn.jsdelivr.net/gh/xxx>,此源中**文件更新有 12 小时延迟**
2. 若 jsDelivr 源无法访问,可将地址前缀改为 `https://fastly.jsdelivr.net/gh/xxx`
3. 推荐使用 [GitHub 源](https://github.com),地址前缀分别为 <https://github.com/xx><https://raw.githubusercontent.com/xxx>
4. 若 GitHub 源无法访问,可在地址前缀前加上 `https://ghp.ci/`,即将地址前缀分别改为 `https://ghp.ci/https://github.com/xx``https://ghp.ci/https://raw.githubusercontent.com/xxx`

# 给作者加鸡腿
支付宝
<img src="/assets/img/about/alipay.jpg" alt="支付宝" width="20%" />
Expand Down
4 changes: 2 additions & 2 deletions _posts/2024-08-21-pin-toolsinstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ chmod +x /data/AdGuardHome/AdGuardHome

```shell
# AdGuard Home Release 版
curl -o /data/AdGuardHome/AdGuardHome -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/AdGuardHome/AdGuardHome_release_linux_armv8
curl -o /data/AdGuardHome/AdGuardHome -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/AdGuardHome/AdGuardHome_release_linux_armv8
# AdGuard Home Beta 版
curl -o /data/AdGuardHome/AdGuardHome -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/AdGuardHome/AdGuardHome_beta_linux_armv8
curl -o /data/AdGuardHome/AdGuardHome -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/AdGuardHome/AdGuardHome_beta_linux_armv8
/data/AdGuardHome/AdGuardHome -s restart
```
4 changes: 2 additions & 2 deletions _posts/2024-08-21-share-shellcrash-mihomo-geodata.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ dns:
1. 连接 SSH 后运行 `vi $CRASHDIR/task/task.user`,按一下 Ins 键(Insert 键),粘贴如下内容:

```shell
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/mihomo/mihomo-alpha-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新mihomo内核
202#curl -o /data/ShellCrash/GeoSite.dat -L https://mirror.ghproxy.com/https://github.com/DustinWin/ruleset_geodata/releases/download/clash/geosite.dat && curl -o /data/ShellCrash/GeoIP.dat -L https://mirror.ghproxy.com/https://github.com/DustinWin/ruleset_geodata/releases/download/clash/geoip-lite.dat && curl -o /data/ShellCrash/Country.mmdb -L https://mirror.ghproxy.com/https://github.com/DustinWin/ruleset_geodata/releases/download/clash/Country-lite.mmdb && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新geodata路由规则文件
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/mihomo/mihomo-alpha-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新mihomo内核
202#curl -o /data/ShellCrash/GeoSite.dat -L https://ghp.ci/https://github.com/DustinWin/ruleset_geodata/releases/download/clash/geosite.dat && curl -o /data/ShellCrash/GeoIP.dat -L https://ghp.ci/https://github.com/DustinWin/ruleset_geodata/releases/download/clash/geoip-lite.dat && curl -o /data/ShellCrash/Country.mmdb -L https://ghp.ci/https://github.com/DustinWin/ruleset_geodata/releases/download/clash/Country-lite.mmdb && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新geodata路由规则文件
```

2. 按一下 Esc 键(退出键),输入英文冒号 `:`,继续输入 `wq` 并回车
Expand Down
2 changes: 1 addition & 1 deletion _posts/2024-08-21-share-shellcrash-mihomo-ruleset.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ dns:
1. 连接 SSH 后运行 `vi $CRASHDIR/task/task.user`,按一下 Ins 键(Insert 键),粘贴如下内容:

```shell
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/mihomo/mihomo-alpha-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新mihomo内核
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/mihomo/mihomo-alpha-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新mihomo内核
```

2. 按一下 Esc 键(退出键),输入英文冒号 `:`,继续输入 `wq` 并回车
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ dns:
1. 连接 SSH 后执行 `vi $CRASHDIR/task/task.user`,按一下 Ins 键(Insert 键),粘贴如下内容:

```shell
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/mihomo/mihomo-alpha-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新mihomo内核
202#curl -o /data/ShellCrash/cn_ip.txt -L https://mirror.ghproxy.com/https://github.com/DustinWin/geoip/releases/download/ips/cn_ipv4.txt && curl -o /data/ShellCrash/cn_ipv6.txt -L https://mirror.ghproxy.com/https://github.com/DustinWin/geoip/releases/download/ips/cn_ipv6.txt >/dev/null 2>&1#更新CN_IP文件
203#curl -o /data/AdGuardHome/AdGuardHome -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/AdGuardHome/AdGuardHome_beta_linux_armv8 && /data/AdGuardHome/AdGuardHome -s restart >/dev/null 2>&1#更新AdGuardHome
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/mihomo/mihomo-alpha-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新mihomo内核
202#curl -o /data/ShellCrash/cn_ip.txt -L https://ghp.ci/https://github.com/DustinWin/geoip/releases/download/ips/cn_ipv4.txt && curl -o /data/ShellCrash/cn_ipv6.txt -L https://ghp.ci/https://github.com/DustinWin/geoip/releases/download/ips/cn_ipv6.txt >/dev/null 2>&1#更新CN_IP文件
203#curl -o /data/AdGuardHome/AdGuardHome -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/AdGuardHome/AdGuardHome_beta_linux_armv8 && /data/AdGuardHome/AdGuardHome -s restart >/dev/null 2>&1#更新AdGuardHome
```

2. 按一下 Esc 键(退出键),输入英文冒号 `:`,继续输入 `wq` 并回车
Expand Down
4 changes: 2 additions & 2 deletions _posts/2024-08-22-share-shellcrash-singboxp-geodata.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ curl -o $CRASHDIR/geoip.db -L https://cdn.jsdelivr.net/gh/DustinWin/ruleset_geod
1. 连接 SSH 后运行 `vi $CRASHDIR/task/task.user`,按一下 Ins 键(Insert 键),粘贴如下内容:

```shell
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/sing-box/sing-box-puernya-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新sing-box_PuerNya版内核
202#curl -o /data/ShellCrash/geosite.db -L https://mirror.ghproxy.com/https://github.com/DustinWin/ruleset_geodata/releases/download/sing-box/geosite.db && curl -o /data/ShellCrash/geoip.db -L https://mirror.ghproxy.com/https://github.com/DustinWin/ruleset_geodata/releases/download/sing-box/geoip-lite.db && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新geodata路由规则文件
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/sing-box/sing-box-puernya-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新sing-box_PuerNya版内核
202#curl -o /data/ShellCrash/geosite.db -L https://ghp.ci/https://github.com/DustinWin/ruleset_geodata/releases/download/sing-box/geosite.db && curl -o /data/ShellCrash/geoip.db -L https://ghp.ci/https://github.com/DustinWin/ruleset_geodata/releases/download/sing-box/geoip-lite.db && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新geodata路由规则文件
```

2. 按一下 Esc 键(退出键),输入英文冒号 `:`,继续输入 `wq` 并回车
Expand Down
2 changes: 1 addition & 1 deletion _posts/2024-08-22-share-shellcrash-singboxp-ruleset.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ curl -L https://cdn.jsdelivr.net/gh/DustinWin/clash_singbox-tools@sing-box/sing-
1. 连接 SSH 后运行 `vi $CRASHDIR/task/task.user`,按一下 Ins 键(Insert 键),粘贴如下内容:

```shell
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/sing-box/sing-box-puernya-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新sing-box_PuerNya版内核
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/sing-box/sing-box-puernya-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新sing-box_PuerNya版内核
```

2. 按一下 Esc 键(退出键),输入英文冒号 `:`,继续输入 `wq` 并回车
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ crash
1. 连接 SSH 后执行 `vi $CRASHDIR/task/task.user`,按一下 Ins 键(Insert 键),粘贴如下内容:

```shell
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/sing-box/sing-box-puernya-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新sing-box_PuerNya版内核
202#curl -o /data/ShellCrash/cn_ip.txt -L https://mirror.ghproxy.com/https://github.com/DustinWin/geoip/releases/download/ips/cn_ipv4.txt && curl -o /data/ShellCrash/cn_ipv6.txt -L https://mirror.ghproxy.com/https://github.com/DustinWin/geoip/releases/download/ips/cn_ipv6.txt >/dev/null 2>&1#更新CN_IP文件
203#curl -o /data/AdGuardHome/AdGuardHome -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/AdGuardHome/AdGuardHome_beta_linux_armv8 && /data/AdGuardHome/AdGuardHome -s restart >/dev/null 2>&1#更新AdGuardHome
201#curl -o /data/ShellCrash/CrashCore.tar.gz -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/sing-box/sing-box-puernya-linux-armv8.tar.gz && /data/ShellCrash/start.sh restart >/dev/null 2>&1#更新sing-box_PuerNya版内核
202#curl -o /data/ShellCrash/cn_ip.txt -L https://ghp.ci/https://github.com/DustinWin/geoip/releases/download/ips/cn_ipv4.txt && curl -o /data/ShellCrash/cn_ipv6.txt -L https://ghp.ci/https://github.com/DustinWin/geoip/releases/download/ips/cn_ipv6.txt >/dev/null 2>&1#更新CN_IP文件
203#curl -o /data/AdGuardHome/AdGuardHome -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/AdGuardHome/AdGuardHome_beta_linux_armv8 && /data/AdGuardHome/AdGuardHome -s restart >/dev/null 2>&1#更新AdGuardHome
```

2. 按一下 Esc 键(退出键),输入英文冒号 `:`,继续输入 `wq` 并回车
Expand Down
2 changes: 1 addition & 1 deletion _posts/2024-08-22-share-windows-singboxp-ruleset.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ tags: [sing-box, sing-boxp, Windows, ruleset, rule_set, 分享, Windows]
icacls "%PROGRAMFILES%\sing-box" /grant[:r] SYSTEM:(OI)(CI)F
icacls "%PROGRAMFILES%\sing-box" /grant[:r] Administrators:(OI)(CI)F
icacls "%PROGRAMFILES%\sing-box" /grant[:r] Users:(OI)(CI)F
curl -o "%PROGRAMFILES%\sing-box\sing-box.exe" -L https://mirror.ghproxy.com/https://github.com/DustinWin/clash_singbox-tools/releases/download/sing-box/sing-box-puernya-windows-amd64v3.exe
curl -o "%PROGRAMFILES%\sing-box\sing-box.exe" -L https://ghp.ci/https://github.com/DustinWin/clash_singbox-tools/releases/download/sing-box/sing-box-puernya-windows-amd64v3.exe
curl -o "%PROGRAMFILES%\sing-box\config.json" -L {.json 配置文件直链}
echo 导入 sing-box 内核和配置文件成功
pause
Expand Down
6 changes: 6 additions & 0 deletions _tabs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ order: 4
5. sing-box 采用 geodata 方案,使用 `GEOSITE``GEOIP` 规则搭配 geosite.db 和 geoip.db [路由规则文件](https://github.com/DustinWin/ruleset_geodata?tab=readme-ov-file#%E4%B8%80-geodata-%E8%A7%84%E5%88%99%E9%9B%86%E6%96%87%E4%BB%B6%E8%AF%B4%E6%98%8E)
6. sing-box 采用 ruleset 方案,采用 `rule_set` 规则搭配 .srs 和 .json [规则集文件](https://github.com/DustinWin/ruleset_geodata?tab=readme-ov-file#%E4%BA%8C-ruleset-%E8%A7%84%E5%88%99%E9%9B%86%E6%96%87%E4%BB%B6%E8%AF%B4%E6%98%8E)

# 对下载源的说明
1. 本教程默认下载源为 [jsDelivr 源](https://www.jsdelivr.com/github),地址前缀为 <https://cdn.jsdelivr.net/gh/xxx>,此源中**文件更新有 12 小时延迟**
2. 若 jsDelivr 源无法访问,可将地址前缀改为 `https://fastly.jsdelivr.net/gh/xxx`
3. 推荐使用 [GitHub 源](https://github.com),地址前缀分别为 <https://github.com/xx><https://raw.githubusercontent.com/xxx>
4. 若 GitHub 源无法访问,可在地址前缀前加上 `https://ghp.ci/`,即将地址前缀分别改为 `https://ghp.ci/https://github.com/xx``https://ghp.ci/https://raw.githubusercontent.com/xxx`

## 给作者加鸡腿
支付宝
<img src="/assets/img/about/alipay.jpg" alt="支付宝" width="20%" />
Expand Down

0 comments on commit 31b34c5

Please sign in to comment.