1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-23 15:04:41 -05:00
将节点和订阅转换为 sing-box 配置
Go to file
2024-03-12 02:24:23 +08:00
.github/workflows add: goreleaser 2024-03-12 02:24:23 +08:00
.vscode add: template 2024-03-11 19:50:21 +08:00
api feat: api server 2024-03-12 01:34:08 +08:00
cmd feat: api server 2024-03-12 01:34:08 +08:00
internal fix: 清除多余 alpn 字段 2024-03-12 00:13:59 +08:00
pkg feat: api server 2024-03-12 01:34:08 +08:00
template update 2024-03-11 21:00:13 +08:00
.gitignore add: goreleaser 2024-03-12 02:24:23 +08:00
.goreleaser.yaml add: goreleaser 2024-03-12 02:24:23 +08:00
go.mod feat: api server 2024-03-12 01:34:08 +08:00
go.sum feat: api server 2024-03-12 01:34:08 +08:00
main.go update 2024-03-11 17:31:29 +08:00
Readme.md update: readme 2024-03-12 00:15:35 +08:00

sub2sing-box

Convert common proxy to sing-box proxy

Usage:
   convert [flags]

Flags:
  -d, --delete string           delete proxy with regex
  -h, --help                    help for convert
  -o, --output string           output file path
  -p, --proxy strings           common proxies
  -r, --rename stringToString   rename proxy with regex (default [])
  -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
},