mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2024-12-23 14:54:42 -05:00
将节点和订阅转换为 sing-box 配置
.vscode | ||
cmd | ||
internal | ||
pkg | ||
template | ||
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
Readme.md |
sub2sing-box
Convert common proxy to sing-box proxy
Usage:
convert [flags]
Flags:
-h, --help help for convert
-o, --output string output file path
-p, --proxy strings common proxies
-s, --subscription strings subscription urls
-t, --template string template file path
Template
Template 中使用 <all-proxy-tags>
指明节点插入位置,例如
{
"type": "selector",
"tag": "节点选择",
"outbounds": ["<all-proxy-tags>", "direct"],
"interrupt_exist_connections": true
},