surgioproject / surgio

Generating rules for Surge, Clash, Quantumult like a PRO
https://surgio.js.org
MIT License
1.6k stars 142 forks source link

请求支持sing-box #252

Closed ladit closed 5 months ago

ladit commented 8 months ago

sing-box是一款日益完善的工具,其配置文件是json。一些参考资料:

其中"{{ getNodeNames(nodeList, undefined, '", "') }}"根据现有文档,应该可转成"node1", "node2", "node3"{{ getSingBoxNodes(nodeList) }}期望输出这里定义的有效outbound,例如:

{
            "type": "shadowsocks",
            "tag": "node1",
            "server": "",
            "server_port": 1,
            "method": "",
            "password": "",
            "tcp_fast_open": false,
            "tcp_multi_path": true
},
{
            "type": "shadowsocks",
            "tag": "node2",
            "server": "",
            "server_port": 1,
            "method": "",
            "password": "",
            "tcp_fast_open": false,
            "tcp_multi_path": true
}
WuhanSy commented 8 months ago

+1

ladit commented 5 months ago

created a PR for this issue.

geekdada commented 5 months ago

https://github.com/surgioproject/surgio/releases/tag/v3.7.0-beta.1