TGViewer
Cool Scripts Cool Scripts @cool_scripts · 16.3K subscribers
Post #519 4.99K
🔗 Sub-Store

🆕 后端 2.14.216

🟢带参数 includeUnsupportedProxy 时, 支持输出 📈 Surge 的 WireGuard Section

方便部分高级用户使用

如图, 目前支持作为 WireGuard 输入的语法有:

🎈Loon 单行

🐱 Clash.Meta(mihomo), 🐱 Clash proxies 多行 YAML 或 单行 JSON


注意: 📈 Surge WireGuard Proxy 部分仅支持同入同出(用处不大). 而使用上述几种完整输入方式, 并使用新版本后, 可得到完整数据:

# WireGuard Proxy WARP+
WARP+=wireguard,section-name=WARP+
# WireGuard Section WARP+
[WireGuard WARP+]
...


所有参数均已进行兼容支持. 其中 Surge 的 prefer-ipv6 参数需按照 🐱 Clash.Meta(mihomo) 写法, 例:

{ "type":"wireguard","name":"WARP+", "ip-version": "ipv6-prefer", ... }


或

proxies:
- name: "wg"
type: wireguard
ip-version: ipv6-prefer


若在文件中使用脚本操作来输出:

  let proxies = await produceArtifact({
type: 'subscription', // 'subscription' 订阅 或 'collection' 组合订阅
name: 'sub', // 订阅的 name
platform: 'Surge',
produceOpts: {
'include-unsupported-proxy': true,
}
})
$content = proxies


❗ 相关内容

链接参数说明
脚本使用说明

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

🛠 Sub-Store 服务器/云平台/Docker/Android 版的相关教程
More from @cool_scripts
  1. Sep 27, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.42.0 🌐 前端: 2.34.0 ▎使用 shoutrrr-ts Docker 版也移除了 shoutrrr 二进制 感谢 D…
  2. Sep 26, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.41.1 🌐 前端: 2.34.0 ▎调整 sing-box SSH 密钥逻辑 感谢群友 shica 的反馈 ▎调整 SS UR…
  3. Sep 23, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.41.0 🌐 前端: 2.34.0 ▎📦 sing-box WireGuard/Tailscale 支持一些 sing-box…
  4. Sep 19, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.39.9 🌐 前端: 2.32.2 ▎🎈 Loon 支持 server-dns 用于指定解析节点服务器域名的 DNS Loon…
  5. Sep 12, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.39.6 🌐 前端: 2.32.2 ▎🐿️ Egern 支持转换 ip-version 感谢群友 shica 的反馈 自动转换…
  6. Sep 11, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.39.4 🌐 前端: 2.32.0 ▎SubCase 1.3 新增通知栏快捷开关 (Quick Settings Tile) 新…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →