1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-24 12:34:43 -05:00
sub2sing-box/Readme.md

42 lines
846 B
Markdown
Raw Normal View History

2024-03-11 07:56:50 -04:00
# sub2sing-box
```
2024-03-11 07:58:04 -04:00
Convert common proxy to sing-box proxy
2024-03-11 07:56:50 -04:00
Usage:
convert [flags]
Flags:
2024-03-11 12:15:35 -04:00
-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
2024-03-11 11:39:58 -04:00
```
2024-03-11 14:58:16 -04:00
```
Run the server
Usage:
server [flags]
Flags:
-h, --help help for server
-p, --port uint16 server port (default 8080)
```
2024-03-11 11:39:58 -04:00
## Template
Template 中使用 `<all-proxy-tags>` 指明节点插入位置,例如
```
{
"type": "selector",
"tag": "节点选择",
"outbounds": ["<all-proxy-tags>", "direct"],
"interrupt_exist_connections": true
},
```