Cool Scripts
16.6K subscribers
364 photos
24 videos
3 files
631 links
QuanX, Loon, Surge, JsBox, Pythonista, Scriptable, Shortcuts等脚本分享
Download Telegram
#Sub-Store #Surboard #配置 #示例 #gist

🔗 Sub-Store 文件动态生成 ⚠️ Surfboard 远程托管配置示例

❗️ 服务器版不需要这么复杂 直接用文件配置链接即可

▎如图一 先创建一个订阅, 然后创建一个目标为 Surfboard 的同步配置

打开它的定时开关, 同步一次. 点击复制得到它的 gist 链接.

为了防止墙内无法连接. 拼接一个加速. 假设拼接完之后的链接为 https://mirror.ghproxy.com/https://gist.githubusercontent.com/aaaaaaaa

▎如图二 先创建一个文件, 内容可以参考 模板 然后把 两处 __________ 都替换为上一步得到的完整订阅链接

大概长这样

自动测速 = url-test, policy-path=https://mirror.ghproxy.com/https://gist.githubusercontent.com/aaaaaaaa, ...
故障转移 = fallback, policy-path=https://mirror.ghproxy.com/https://gist.githubusercontent.com/aaaaaaaa, ...

▎如图三 创建一个来源为第二步文件的同步配置

打开它的定时开关, 同步一次. 点击复制得到它的 gist 链接. 拼接一个加速. 假设拼接完之后的链接为 https://mirror.ghproxy.com/https://gist.githubusercontent.com/bbbbbbb

回到第二步编辑的文件 修改头部的 MANAGED-CONFIG 部分

大概长这样:

#!MANAGED-CONFIG https://mirror.ghproxy.com/https://gist.githubusercontent.com/bbbbbbb interval=3600 strict=true


▎在 ⚠️ Surfboard 中通过链接导入 https://mirror.ghproxy.com/https://gist.githubusercontent.com/bbbbbbb 即可

支持后续更新

🎲 Sub-Store 代理 App 版安装下载

🛠 Sub-Store 服务器/云平台/Docker/Android 版的相关教程
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👍53