diff --git a/config/singbox/1.json b/config/singbox/1.json new file mode 100644 index 0000000..00b1924 --- /dev/null +++ b/config/singbox/1.json @@ -0,0 +1,82 @@ +//DustinWin-ruleset่ฝป้‡่ง„ๅˆ™ +{ + "outbounds": [ + { "tag": "๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ", "type": "selector", "outbounds": [ {providers_tags}, "๐Ÿ‡ญ๐Ÿ‡ฐ ้ฆ™ๆธฏ่Š‚็‚น", "๐Ÿ‡น๐Ÿ‡ผ ๅฐๆนพ่Š‚็‚น", "๐Ÿ‡ฏ๐Ÿ‡ต ๆ—ฅๆœฌ่Š‚็‚น", "๐Ÿ‡ฐ๐Ÿ‡ท ้Ÿฉๅ›ฝ่Š‚็‚น", "๐Ÿ‡ธ๐Ÿ‡ฌ ๆ–ฐๅŠ ๅก่Š‚็‚น", "๐Ÿ‡บ๐Ÿ‡ธ ็พŽๅ›ฝ่Š‚็‚น", "๐Ÿ“บ ็œๆต่Š‚็‚น", "๐Ÿ‘ ้ซ˜็บง่Š‚็‚น", "๐Ÿš€ ๆ‰‹ๅŠจๅˆ‡ๆข", "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž" ] }, + { "tag": "๐ŸŸ ๆผ็ฝ‘ไน‹้ฑผ", "type": "selector", "outbounds": [ {providers_tags}, "๐Ÿ‡ญ๐Ÿ‡ฐ ้ฆ™ๆธฏ่Š‚็‚น", "๐Ÿ‡น๐Ÿ‡ผ ๅฐๆนพ่Š‚็‚น", "๐Ÿ‡ฏ๐Ÿ‡ต ๆ—ฅๆœฌ่Š‚็‚น", "๐Ÿ‡ฐ๐Ÿ‡ท ้Ÿฉๅ›ฝ่Š‚็‚น", "๐Ÿ‡ธ๐Ÿ‡ฌ ๆ–ฐๅŠ ๅก่Š‚็‚น", "๐Ÿ‡บ๐Ÿ‡ธ ็พŽๅ›ฝ่Š‚็‚น", "๐Ÿ“บ ็œๆต่Š‚็‚น", "๐Ÿ‘ ้ซ˜็บง่Š‚็‚น", "๐Ÿš€ ๆ‰‹ๅŠจๅˆ‡ๆข", "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž" ] }, + { "tag": "๐ŸŽƒ YOUTUBE", "type": "selector", "outbounds": [ {providers_tags}, "๐Ÿ‡ญ๐Ÿ‡ฐ ้ฆ™ๆธฏ่Š‚็‚น", "๐Ÿ‡น๐Ÿ‡ผ ๅฐๆนพ่Š‚็‚น", "๐Ÿ‡ฏ๐Ÿ‡ต ๆ—ฅๆœฌ่Š‚็‚น", "๐Ÿ‡ฐ๐Ÿ‡ท ้Ÿฉๅ›ฝ่Š‚็‚น", "๐Ÿ‡ธ๐Ÿ‡ฌ ๆ–ฐๅŠ ๅก่Š‚็‚น", "๐Ÿ‡บ๐Ÿ‡ธ ็พŽๅ›ฝ่Š‚็‚น", "๐Ÿ“บ ็œๆต่Š‚็‚น", "๐Ÿ‘ ้ซ˜็บง่Š‚็‚น", "๐Ÿš€ ๆ‰‹ๅŠจๅˆ‡ๆข", "๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž" ] }, + { "tag": "๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž", "type": "selector", "outbounds": [ "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž", "๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ" ] }, + { "tag": "๐Ÿ“ฒ ็”ตๆŠฅๆถˆๆฏ", "type": "selector", "outbounds": [ "๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ", "๐Ÿ‡ญ๐Ÿ‡ฐ ้ฆ™ๆธฏ่Š‚็‚น", "๐Ÿ‡น๐Ÿ‡ผ ๅฐๆนพ่Š‚็‚น", "๐Ÿ‡ฏ๐Ÿ‡ต ๆ—ฅๆœฌ่Š‚็‚น", "๐Ÿ‡ฐ๐Ÿ‡ท ้Ÿฉๅ›ฝ่Š‚็‚น", "๐Ÿ‡ธ๐Ÿ‡ฌ ๆ–ฐๅŠ ๅก่Š‚็‚น", "๐Ÿ‡บ๐Ÿ‡ธ ็พŽๅ›ฝ่Š‚็‚น" ] }, + { "tag": "๐Ÿค– ไบบๅทฅๆ™บ่ƒฝ", "type": "selector", "outbounds": [ "๐Ÿ‡ฏ๐Ÿ‡ต ๆ—ฅๆœฌ่Š‚็‚น", "๐Ÿ‡บ๐Ÿ‡ธ ็พŽๅ›ฝ่Š‚็‚น", "๐Ÿ‡ธ๐Ÿ‡ฌ ๆ–ฐๅŠ ๅก่Š‚็‚น", "๐Ÿ‡ฐ๐Ÿ‡ท ้Ÿฉๅ›ฝ่Š‚็‚น", "๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ" ] }, + { "tag": "GLOBAL", "type": "selector", "outbounds": [ "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž", "๐Ÿ‡ญ๐Ÿ‡ฐ ้ฆ™ๆธฏ่Š‚็‚น", "๐Ÿ‡น๐Ÿ‡ผ ๅฐๆนพ่Š‚็‚น", "๐Ÿ‡ฏ๐Ÿ‡ต ๆ—ฅๆœฌ่Š‚็‚น", "๐Ÿ‡ฐ๐Ÿ‡ท ้Ÿฉๅ›ฝ่Š‚็‚น", "๐Ÿ‡ธ๐Ÿ‡ฌ ๆ–ฐๅŠ ๅก่Š‚็‚น", "๐Ÿ‡บ๐Ÿ‡ธ ็พŽๅ›ฝ่Š‚็‚น", {providers_tags}, "๐Ÿš€ ๆ‰‹ๅŠจๅˆ‡ๆข" ] }, + { "tag": "๐Ÿš€ ๆ‰‹ๅŠจๅˆ‡ๆข", "type": "selector", "use_all_providers": true }, + { "tag": "๐Ÿ“บ ็œๆต่Š‚็‚น", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "0.[1-5]|ไฝŽๅ€็އ|็œๆต|ๅคงๆต้‡" ] }, + { "tag": "๐Ÿ‘ ้ซ˜็บง่Š‚็‚น", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "ไธ“็บฟ|ไธ“็”จ|้ซ˜็บง|็›ด่ฟž|ๆ€ฅ้€Ÿ|้ซ˜ๅ€็އ|ๆธธๆˆ|game|Game|GAME|IEPL|IPLC|AIA|CTM|CC|iepl|iplc|aia|ctm|cc|AC" ] }, + { "tag": "๐Ÿ‡ญ๐Ÿ‡ฐ ้ฆ™ๆธฏ่Š‚็‚น", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "ๆธฏ|HK|Hong Kong" ] }, + { "tag": "๐Ÿ‡น๐Ÿ‡ผ ๅฐๆนพ่Š‚็‚น", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "ๅฐ|ๆ–ฐๅŒ—|ๅฝฐๅŒ–|TW|Taiwan" ] }, + { "tag": "๐Ÿ‡ฏ๐Ÿ‡ต ๆ—ฅๆœฌ่Š‚็‚น", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "ๆ—ฅๆœฌ|ๅทๆ—ฅ|ไธœไบฌ|ๅคง้˜ช|ๆณ‰ๆ—ฅ|ๅŸผ็މ|ๆฒชๆ—ฅ|ๆทฑๆ—ฅ|[^-]ๆ—ฅ|JP|Japan" ] }, + { "tag": "๐Ÿ‡ฐ๐Ÿ‡ท ้Ÿฉๅ›ฝ่Š‚็‚น", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "KR|Korea|KOR|้ฆ–ๅฐ”|้Ÿฉ|้Ÿ“" ] }, + { "tag": "๐Ÿ‡ธ๐Ÿ‡ฌ ๆ–ฐๅŠ ๅก่Š‚็‚น", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "ๆ–ฐๅŠ ๅก|ๅก|็‹ฎๅŸŽ|SG|Singapore" ] }, + { "tag": "๐Ÿ‡บ๐Ÿ‡ธ ็พŽๅ›ฝ่Š‚็‚น", "type": "urltest", "tolerance": 100, "use_all_providers": true, "includes": [ "็พŽ|ๆณข็‰นๅ…ฐ|่พพๆ‹‰ๆ–ฏ|ไฟ„ๅ‹’ๅ†ˆ|ๅ‡คๅ‡ฐๅŸŽ|่ดนๅˆฉ่’™|็ก…่ฐท|ๆ‹‰ๆ–ฏ็ปดๅŠ ๆ–ฏ|ๆด›ๆ‰็Ÿถ|ๅœฃไฝ•ๅกž|ๅœฃๅ…‹ๆ‹‰ๆ‹‰|่ฅฟ้›…ๅ›พ|่ŠๅŠ ๅ“ฅ|US|United States" ] }, + { "tag": "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž", "type": "direct" }, + { "tag": "dns-out", "type": "dns" } + ], + "route": { + "rules": [ + { "rule_set": "๐ŸŽƒ geosite_youtube", "outbound": "๐ŸŽƒ YOUTUBE" }, + { "protocol": "dns" , "outbound": "dns-out" }, + { "clash_mode": "Global", "outbound": "GLOBAL" }, + { "clash_mode": "Direct", "outbound": "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž" }, + { "rule_set": "private", "outbound": "๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž" }, + { "rule_set": "ai", "outbound": "๐Ÿค– ไบบๅทฅๆ™บ่ƒฝ" }, + { "rule_set": "proxy", "outbound": "๐Ÿš€ ่Š‚็‚น้€‰ๆ‹ฉ" }, + { "rule_set": "telegramip", "outbound": "๐Ÿ“ฒ ็”ตๆŠฅๆถˆๆฏ" }, + { "rule_set": "cnip", "outbound": "๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž" } + ], + "rule_set": [ + { + "tag": "๐ŸŸ ็พŽๅ›ฝ", + "type": "remote", + "format": "source", + "path": "./rulesets/us.json", + "url": "https://gh.sswiwi.com/https://raw.githubusercontent.com/lusalem/ruleset/main/rules/singbox/us.json", + "download_detour": "๐ŸŽฏ ๅ…จ็ƒ็›ด่ฟž" + }, + { + "tag": "private", + "type": "remote", + "format": "binary", + "url": "https://fastly.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box/private.srs", + "download_detour": "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž" + }, + { + "tag": "ai", + "type": "remote", + "format": "binary", + "url": "https://fastly.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box/ai.srs", + "download_detour": "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž" + }, + { + "tag": "proxy", + "type": "remote", + "format": "binary", + "url": "https://fastly.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box/proxy.srs", + "download_detour": "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž" + }, + { + "tag": "telegramip", + "type": "remote", + "format": "binary", + "url": "https://fastly.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box/telegramip.srs", + "download_detour": "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž" + }, + { + "tag": "cnip", + "type": "remote", + "format": "binary", + "url": "https://fastly.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box/cnip.srs", + "download_detour": "๐ŸŽฏ ๆœฌๆœบ็›ด่ฟž" + } + ], + "final": "๐ŸŸ ๆผ็ฝ‘ไน‹้ฑผ" + } +}