Xray-core
Xray-core copied to clipboard
[功能请求] 节点分享链接解析
众所周知xray相对于小白是易用性最出众的内核,例如文档做的很详细,也有官方维护的一键部署脚本。
所以后续能否考虑出站配置里支持直接填入节点分享链接?封装一个节点链接解析之类的模块,使其更好的适配生态。
参考:https://github.com/shtorm-7/sing-box-extended/blob/extended/examples/parser/client.json
预期配置demo:
{
"log": {
"level": "error"
},
"dns": {
"servers": [
{
"type": "local",
"tag": "default"
}
]
},
"inbounds": [
{
"type": "mixed",
"tag": "mixed-in",
"listen_port": 7897
}
],
"outbounds": [
{
"type": "direct",
"tag": "direct"
},
{
"type": "parser",
"tag": "vless-out",
// Supported protocols: hysteria, hysteria2, shadowsocks, trojan, tuic, vless, vmess
"link": "vless://[email protected]:443?..."
}
],
"route": {
"final": "vless-out",
"default_domain_resolver": "default",
"auto_detect_interface": true
}
}
?我觉得有点不伦不类,链接本身是参数排列而已
link的最初目的是方便在网上分享和客户端对齐GUI参数 本质就是把几个值以简便一点的写法压缩到一行 自己写json何不直接存json呢(