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

其他代理 App 也可以参考此逻辑

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

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

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

⚠️ mirror.ghproxy.com 也被墙了 自己换成其他加速

为了防止墙内无法连接. 拼接一个加速. 假设拼接完之后的链接为 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 即可

支持后续更新

相关内容

使用覆写生成 Mihomo 配置

Surfboard 远程托管配置示例(其他代理 App 也可以参考)

动态生成 sing-box 配置

快速生成 sing-box 机场入口+落地节点 代理链 示例

Sub-Store 合集 频道资源合集 恰饭推荐 群组

#Sub-Store #Surboard #配置 #示例 #gist