toperlock / sing-box-geosite Goto Github PK
View Code? Open in Web Editor NEW根据已有的qx,surge,loon,clash规则列表自定义sing-box规则集
根据已有的qx,surge,loon,clash规则列表自定义sing-box规则集
开发者你好,我刚转入sing-box不久,之前一直在用v2ray,我尝试将正在使用的vless节点转换到sing-box的配置文件中,但每次打开后wechat都不能连接,搜索发现你写的wechat规则集,试着整合到配置文件中,但是依旧没有生效,请帮忙审查一下,是哪里出错。
·························
{
"tag": "📺 Bilibili",
"type": "selector",
"outbounds": [
"direct"
]
},
{
"tag": "🎉 WeChat",
"type": "selector",
"outbounds": [
"direct"
]
},
·······························
{
"rule_set": "geosite-bilibili",
"outbound": "📺 Bilibili"
},
{
"rule_set": "geosite-wechat",
"outbound": "🎉 WeChat"
},
{
"rule_set": "geoip-netflix",
"outbound": "🎬 MediaVideo"
},
·······························
{
"tag": "geosite-geolocation-!cn",
"type": "remote",
"format": "binary",
"url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/geolocation-!cn.srs",
"download_detour": "direct"
},
{
"tag": "geosite-wechat",
"type": "remote",
"format": "source",
"url": "https://raw.githubusercontent.com/Toperlock/sing-box-geosite/main/wechat.json",
"download_detour": "auto"
},
··········································
DOMAIN-SUFFIX,chatgpt.com
被转换为
{
"domain_suffix": [
".chatgpt.com",
]
}
实际上要包括chatgpt.com
本身
(packet-tunnel) error: create service: decode config: dns route rule: json: unknown field "rule_set"
例如
payload:
转换后的json里会变成
{
"rules": [
{
"domain": [
"cool.cn",
"cool.com.cn"
]
},
{
"domain_suffix": [
".cool.cn",
".cool.com.cn"
]
}
],
"version": 1
}
测试了所有带通配符+号的规则转换后都有这个问题
想使用下面这个作者的clash规则
https://github.com/Loyalsoldier/clash-rules
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.