添加手搓的yaml,修正gitea链接

This commit is contained in:
2026-04-11 02:03:01 +08:00
parent b1dc467845
commit f0eebceea0
2 changed files with 217 additions and 22 deletions

View File

@@ -1,26 +1,26 @@
;1、域名组 ;1、域名组
ruleset=🏡直连补充,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Matthew_Direct.list ruleset=🏡直连补充,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Matthew_Direct.list
ruleset=🌏代理补充,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Matthew_Proxy.list ruleset=🌏代理补充,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Matthew_Proxy.list
ruleset=🍎Apple,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Apple.list ruleset=🍎Apple,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Apple.list
ruleset=🪟Microsoft,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Microsoft.list ruleset=🪟Microsoft,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Microsoft.list
ruleset=🎮Steam,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Steam.list ruleset=🎮Steam,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Steam.list
ruleset=OneDrive,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/OneDrive.list ruleset=OneDrive,https://git.zbright.top/zibright/clash/raw/branch/main/rule/OneDrive.list
ruleset=Telegram,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Telegram.list ruleset=Telegram,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Telegram.list
ruleset=🕊Twitter,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Twitter.list ruleset=🕊Twitter,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Twitter.list
ruleset=🤖AI香港,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/AI1.list ruleset=🤖AI香港,https://git.zbright.top/zibright/clash/raw/branch/main/rule/AI1.list
ruleset=🤖AI美国,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/AI2.list ruleset=🤖AI美国,https://git.zbright.top/zibright/clash/raw/branch/main/rule/AI2.list
ruleset=🐋Docker,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Docker.list ruleset=🐋Docker,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Docker.list
ruleset=🐱GitHub,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/GitHub.list ruleset=🐱GitHub,https://git.zbright.top/zibright/clash/raw/branch/main/rule/GitHub.list
ruleset=🎵TikTok,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/TikTok.list ruleset=🎵TikTok,https://git.zbright.top/zibright/clash/raw/branch/main/rule/TikTok.list
ruleset=📺YouTube,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/YouTube.list ruleset=📺YouTube,https://git.zbright.top/zibright/clash/raw/branch/main/rule/YouTube.list
ruleset=🎥Twitch,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Twitch.list ruleset=🎥Twitch,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Twitch.list
ruleset=📺流媒体,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Instagram.list ruleset=📺流媒体,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Instagram.list
ruleset=🐓Google,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Google.list ruleset=🐓Google,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Google.list
ruleset=🎮国外游戏平台,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Game.list ruleset=🎮国外游戏平台,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Game.list
ruleset=📮国外邮箱,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Mail.list ruleset=📮国外邮箱,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Mail.list
ruleset=🎯检测,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Check.list ruleset=🎯检测,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Check.list
ruleset=🌏全球代理,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Proxy.list ruleset=🌏全球代理,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Proxy.list
ruleset=🌏全球代理,https://raw.githubusercontent.com/MatthewTrojan/OpenClashRule/refs/heads/main/rule/Global.list ruleset=🌏全球代理,https://git.zbright.top/zibright/clash/raw/branch/main/rule/Global.list
ruleset=🏡国内,[]FINAL ruleset=🏡国内,[]FINAL
;2、策略组域名组-节点组) ;2、策略组域名组-节点组)

195
shoucuo/smart.yaml Normal file
View File

@@ -0,0 +1,195 @@
# 必读!!!
# 注意规则在满足自己需求情况下,尽量做到精简,不要过度复杂,以免影响性能。
# 跑裸核用户请自行去掉下方控制面板模块的注释。
# 机场订阅
proxy-providers:
Airport1:
url: "link"
type: http
interval: 86400
health-check:
enable: true
url: https://www.gstatic.com/generate_204
interval: 300
proxy: 直连
#override:
#additional-prefix: "前缀 |"
#additional-suffix: "| 后缀"
# 节点信息
proxies:
- {name: 直连, type: direct}
# 全局配置
port: 7890
socks-port: 7891
redir-port: 7892
mixed-port: 7893
tproxy-port: 7894
allow-lan: true
bind-address: "*"
ipv6: false
unified-delay: true
tcp-concurrent: true
log-level: warning
find-process-mode: 'off'
# interface-name: en0
global-client-fingerprint: chrome
keep-alive-idle: 600
keep-alive-interval: 15
disable-keep-alive: false
profile:
store-selected: true
store-fake-ip: true
# 控制面板external-ui 路径如果出现报错根据你使用的插件进行调整比如openclash改为 /etc/openclash/run ,裸核跑改为/etc/mihomo/run
# 因容易造成新手面板启动问题,我注释掉了,需要的自行开启
#external-controller: 0.0.0.0:9090
#secret: ""
#external-ui: "/etc/nikki/run"
#external-ui-name: zashboard
#external-ui-url: "https://github.com/Zephyruso/zashboard/archive/refs/heads/gh-pages.zip"
# 嗅探
sniffer:
enable: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
force-domain:
- "+.v2ex.com"
skip-domain:
- "+.baidu.com"
# 入站
tun:
enable: true
# system/gvisor/mixed
stack: mixed
dns-hijack: ["any:53", "tcp://any:53"]
auto-route: true
auto-redirect: true
auto-detect-interface: true
# DNS模块
dns:
enable: true
listen: 0.0.0.0:1053
ipv6: false
respect-rules: true
enhanced-mode: fake-ip
fake-ip-range: 28.0.0.1/8
fake-ip-filter-mode: blacklist
fake-ip-filter:
- "rule-set:private_domain,cn_domain"
- "+.msftconnecttest.com"
- "+.msftncsi.com"
- "time.*.com"
default-nameserver:
- 223.5.5.5
proxy-server-nameserver:
- https://223.5.5.5/dns-query
# namesever尽量用运营商提供的DNS
nameserver:
- 172.16.252.11
- 221.5.203.98
# 出站策略 smart参数 uselightgbm: false, collectdata: false, strategy: sticky-sessions,policy-priority: "Premium:0.9;SG:1.3"
proxy-groups:
- {name: 🚀 默认代理, type: select, proxies: [♻️ 香港智能, 🔯 香港故转, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 📹 YouTube, type: select, proxies: [♻️ 香港智能, 🔯 美国故转, 🔯 香港故转, 🔯 日本故转, 🔯 狮城故转, ♻️ 美国智能, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 🍀 Google, type: select, proxies: [♻️ 香港智能, 🔯 香港故转, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 🤖 ChatGPT, type: select, proxies: [♻️ 美国智能, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 香港智能, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 👨🏿‍💻 GitHub, type: select, proxies: [♻️ 香港智能, 🔯 香港故转, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 🎮 Steam, type: select, proxies: [直连, 🔯 香港故转, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 香港智能, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点]}
- {name: 🐬 OneDrive, type: select, proxies: [直连, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 香港智能, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点]}
- {name: 🪟 Microsoft, type: select, proxies: [直连, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 香港智能, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点]}
- {name: 🎵 TikTok, type: select, proxies: [♻️ 日本智能, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 香港智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 📲 Telegram, type: select, proxies: [♻️ 香港智能, 🔯 香港故转, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 🕊️ Twitter(X), type: select, proxies: [♻️ 香港智能, 🔯 香港故转, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 🎥 NETFLIX, type: select, proxies: [♻️ 狮城智能, 🔯 狮城故转, 🔯 香港故转, 🔯 日本故转, 🔯 美国故转, ♻️ 香港智能, ♻️ 日本智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: ✈️ Speedtest, type: select, proxies: [♻️ 香港智能, 🔯 香港故转, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 💶 PayPal, type: select, proxies: [♻️ 香港智能, 🔯 日本故转, 🔯 香港故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 🍎 Apple, type: select, proxies: [直连, 🚀 默认代理]}
- {name: 🎯 直连, type: select, proxies: [直连, 🚀 默认代理]}
- {name: 🐟 漏网之鱼, type: select, proxies: [🚀 默认代理, 🔯 香港故转, 🔯 日本故转, 🔯 狮城故转, 🔯 美国故转, ♻️ 香港智能, ♻️ 日本智能, ♻️ 狮城智能, ♻️ 美国智能, ♻️ 自动选择, 🇭🇰 香港节点, 🇯🇵 日本节点, 🇸🇬 狮城节点, 🇺🇲 美国节点, 🌐 全部节点, 直连]}
- {name: 🇭🇰 香港节点, type: select, include-all: true, filter: "(?i)港|hk|hongkong|hong kong"}
- {name: 🇹🇼 台湾节点, type: select, include-all: true, filter: "(?i)广台|台湾|台灣|TW|Tai Wan|🇹🇼|TaiWan|Taiwan"}
- {name: 🇯🇵 日本节点, type: select, include-all: true, filter: "(?i)日|jp|japan"}
- {name: 🇸🇬 狮城节点, type: select, include-all: true, filter: "(?i)新加坡|坡|狮城|SG|Singapore"}
- {name: 🇺🇲 美国节点, type: select, include-all: true, filter: "(?i)美|us|unitedstates|united states"}
- {name: 🔯 香港故转, type: fallback, include-all: true, tolerance: 20, interval: 300, filter: "(?=.*(港|HK|(?i)Hong))^((?!(台|日|韩|新|深|美)).)*$"}
- {name: 🔯 日本故转, type: fallback, include-all: true, tolerance: 20, interval: 300, filter: "(?=.*(日|JP|(?i)Japan))^((?!(港|台|韩|新|美)).)*$" }
- {name: 🔯 狮城故转, type: fallback, include-all: true, tolerance: 20, interval: 300, filter: "(?=.*(新加坡|坡|狮城|SG|Singapore))^((?!(台|日|韩|深|美)).)*$"}
- {name: 🔯 美国故转, type: fallback, include-all: true, tolerance: 20, interval: 300, filter: "(?=.*(美|US|(?i)States|America))^((?!(港|台|韩|新|日)).)*$" }
- {name: ♻️ 香港智能, type: smart, uselightgbm: true, collectdata: false, include-all: true, interval: 300, filter: "(?=.*(港|HK|(?i)Hong))^((?!(台|日|韩|新|深|美)).)*$"}
- {name: ♻️ 台湾智能, type: smart, uselightgbm: true, collectdata: false, include-all: true, interval: 300, filter: "(?=.*(广台|台湾|台灣|TW|Tai Wan|🇹🇼|TaiWan|Taiwan))^((?!(港|日|韩|新|美)).)*$"}
- {name: ♻️ 日本智能, type: smart, uselightgbm: true, collectdata: false, include-all: true, interval: 300, filter: "(?=.*(日|JP|(?i)Japan))^((?!(港|台|韩|新|美)).)*$" }
- {name: ♻️ 狮城智能, type: smart, uselightgbm: true, collectdata: false, include-all: true, interval: 300, filter: "(?=.*(新加坡|坡|狮城|SG|Singapore))^((?!(港|台|韩|日|美)).)*$" }
- {name: ♻️ 美国智能, type: smart, uselightgbm: true, collectdata: false, include-all: true, interval: 300, filter: "(?=.*(美|US|(?i)States|America))^((?!(港|台|日|韩|新)).)*$"}
- {name: ♻️ 自动选择, type: url-test, include-all: true, tolerance: 20, interval: 300, filter: "^((?!(直连)).)*$"}
- {name: 🌐 全部节点, type: select, include-all: true}
# 规则匹配
# 此规则部分没有做防泄露处理,因为弊严重大于利!
rules:
- DOMAIN-SUFFIX,qichiyu.com,🚀 默认代理
- RULE-SET,private_domain,直连
- RULE-SET,apple_domain,🍎 Apple
- RULE-SET,proxylite,🚀 默认代理
- RULE-SET,ai,🤖 ChatGPT
- RULE-SET,github_domain,👨🏿‍💻 GitHub
- RULE-SET,youtube_domain,📹 YouTube
- RULE-SET,google_domain,🍀 Google
- RULE-SET,steam_domain,🎮 Steam
- RULE-SET,onedrive_domain,🐬 OneDrive
- RULE-SET,microsoft_domain,🪟 Microsoft
- RULE-SET,tiktok_domain,🎵 TikTok
- RULE-SET,speedtest_domain,✈️ Speedtest
- RULE-SET,telegram_domain,📲 Telegram
- RULE-SET,twitter_domain,🕊️ Twitter(X)
- RULE-SET,netflix_domain,🎥 NETFLIX
- RULE-SET,paypal_domain,💶 PayPal
- RULE-SET,gfw_domain,🚀 默认代理
- RULE-SET,geolocation-!cn,🚀 默认代理
- RULE-SET,cn_domain,🎯 直连
- RULE-SET,google_ip,🍀 Google,no-resolve
- RULE-SET,netflix_ip,🎥 NETFLIX,no-resolve
- RULE-SET,telegram_ip,📲 Telegram,no-resolve
- RULE-SET,cn_ip,🎯 直连
- MATCH,🐟 漏网之鱼
# 规则集
rule-anchor:
ip: &ip {type: http, interval: 86400, behavior: ipcidr, format: mrs}
domain: &domain {type: http, interval: 86400, behavior: domain, format: mrs}
class: &class {type: http, interval: 86400, behavior: classical, format: text}
rule-providers:
private_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/private.mrs"}
proxylite: { <<: *class, url: "https://raw.githubusercontent.com/qichiyuhub/rule/refs/heads/main/proxy.list"}
ai: { <<: *domain, url: "https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/category-ai-!cn.mrs" }
youtube_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/youtube.mrs"}
google_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.mrs"}
github_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/github.mrs"}
telegram_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/telegram.mrs"}
twitter_domain: { <<: *domain, url: "https://gh-proxy.com/github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/x.mrs"}
netflix_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/netflix.mrs"}
paypal_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/paypal.mrs"}
steam_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/steam.mrs"}
onedrive_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/onedrive.mrs"}
microsoft_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/microsoft.mrs"}
apple_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/apple-cn.mrs"}
speedtest_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/ookla-speedtest.mrs"}
tiktok_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/tiktok.mrs"}
gfw_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/gfw.mrs"}
geolocation-!cn: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/geolocation-!cn.mrs"}
cn_domain: { <<: *domain, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.mrs"}
cn_ip: { <<: *ip, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/cn.mrs"}
google_ip: { <<: *ip, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/google.mrs"}
telegram_ip: { <<: *ip, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/telegram.mrs"}
netflix_ip: { <<: *ip, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/netflix.mrs"}