# ==================================================================== # Mihomo (Clash Meta) 标准 YAML 模板 # 节点统一通过 proxy-providers(引用 Sub-Store 订阅链接)提供, # 每个分组用 use: [main] 自动包含全部真实节点,无需手动注入。 # 静态项(🎯总模式/♻️手动切换/DIRECT)仍作为快捷方式保留。 # ==================================================================== proxy-providers: main: type: http url: "https://substore.kelvingc.com/x7k9m2p4q8r/download/Subs?target=ClashMeta" interval: 3600 path: ./proxy-providers/main.yaml health-check: enable: true url: http://www.gstatic.com/generate_204 interval: 300 proxy-groups: - name: 🎯 总模式 type: select use: - main proxies: - ♻️ 手动切换 - DIRECT - name: ♻️ 手动切换 type: select use: - main proxies: [] # use: main 自动提供节点,此处留空即可 - name: Ⓜ️ 延迟最低 type: url-test use: - main proxies: [] url: http://www.apple.com/library/test/success.html interval: 300 tolerance: 100 - name: 🍎 苹果服务 type: select use: - main proxies: - DIRECT - 🎯 总模式 - ♻️ 手动切换 - name: 🧩 微软服务 type: select use: - main proxies: - DIRECT - 🎯 总模式 - ♻️ 手动切换 - name: 📲 聊天软件 type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🤖 AI服务 type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 📹 YouTube type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🎥 NETFLIX type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🎦 HBOMAX type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🎞️ DISNEYPlus type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🎶 TikTok type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🔍 谷歌服务 type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🎮 游戏平台 type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: ⛩ 日韩媒体 type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🌏 港台媒体 type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🌍 国外媒体 type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🌐 全球直连 type: select use: - main proxies: - DIRECT - 🎯 总模式 - ♻️ 手动切换 - name: 🇺🇳 国外网站 type: select use: - main proxies: - 🎯 总模式 - ♻️ 手动切换 - DIRECT - name: 🇨🇳 国内网站 type: select use: - main proxies: - DIRECT - 🎯 总模式 - ♻️ 手动切换 - name: 📼 个人直播 type: select use: - main proxies: - DIRECT - 🎯 总模式 - ♻️ 手动切换 - name: 🌍 自有地址 type: select use: - main proxies: - DIRECT - 🎯 总模式 - ♻️ 手动切换 - name: 👠 懂的都懂 type: select use: - main proxies: - DIRECT - 🎯 总模式 - ♻️ 手动切换 - name: 🐟 漏网之鱼 type: select use: - main proxies: - DIRECT - 🎯 总模式 - ♻️ 手动切换 - name: ⛔ 广告拦截 type: select proxies: - REJECT - DIRECT # --------------------------------------------------------------- # 远程规则集 # --------------------------------------------------------------- rule-providers: steam_cdn: type: http behavior: classical url: "https://gitea.kelvingc.com/kelvingc/OpenClash_Rules_Online/raw/branch/main/Rules/steam_cdn.list" path: ./ruleset/steam_cdn.list interval: 86400 steam_store: type: http behavior: classical url: "https://gitea.kelvingc.com/kelvingc/OpenClash_Rules_Online/raw/branch/main/Rules/steam_store.list" path: ./ruleset/steam_store.list interval: 86400 ad_allow: type: http behavior: classical url: "https://raw.githubusercontent.com/AyraHikari/openclash_adguard/main/rules/adguard_allow.yaml" path: ./ruleset/ad_allow.yaml interval: 43200 ad_block: type: http behavior: classical url: "https://raw.githubusercontent.com/AyraHikari/openclash_adguard/main/rules/adguard_block.yaml" path: ./ruleset/ad_block.yaml interval: 43200 h_list: type: http behavior: classical url: "https://gitea.kelvingc.com/kelvingc/OpenClash_Rules_Online/raw/branch/main/Rules/H.list" path: ./ruleset/h_list.list interval: 86400 stream_list: type: http behavior: classical url: "https://gitea.kelvingc.com/kelvingc/OpenClash_Rules_Online/raw/branch/main/Rules/Stream.list" path: ./ruleset/stream_list.list interval: 86400 my_domain: type: http behavior: classical url: "https://gitea.kelvingc.com/kelvingc/OpenClash_Rules_Online/raw/branch/main/Rules/MyDomain.list" path: ./ruleset/my_domain.list interval: 86400 # --------------------------------------------------------------- # 规则 (顺序与原配置保持一致) # --------------------------------------------------------------- rules: - DOMAIN-SUFFIX,ringringlu.com,🌐 全球直连 - IP-CIDR,45.78.67.21/32,🌐 全球直连,no-resolve - RULE-SET,ad_allow,⛔ 广告拦截 - RULE-SET,ad_block,⛔ 广告拦截 - DOMAIN-SUFFIX,dmit.io,🌐 全球直连 - DOMAIN-SUFFIX,kelvingc.com,🌐 全球直连 - DOMAIN-SUFFIX,jsdelivr.net,🌐 全球直连 - GEOSITE,private,🌐 全球直连 - GEOIP,private,🌐 全球直连,no-resolve - GEOSITE,google-cn,🌐 全球直连 - GEOSITE,category-games@cn,🌐 全球直连 - RULE-SET,steam_cdn,🌐 全球直连 - GEOSITE,category-game-platforms-download,🌐 全球直连 - GEOSITE,category-public-tracker,🌐 全球直连 - GEOSITE,github,🎯 总模式 - GEOSITE,apple,🍎 苹果服务 - GEOSITE,microsoft,🧩 微软服务 - GEOSITE,openai,🤖 AI服务 - GEOSITE,category-ai-!cn,🤖 AI服务 - RULE-SET,steam_store,🎮 游戏平台 - GEOSITE,steam,🎮 游戏平台 - GEOSITE,category-games,🎮 游戏平台 - GEOSITE,youtube,📹 YouTube - GEOSITE,netflix,🎥 NETFLIX - GEOSITE,hbo,🎦 HBOMAX - GEOSITE,disney,🎞️ DISNEYPlus - GEOSITE,tiktok,🎶 TikTok - DOMAIN-SUFFIX,niconico.jp,⛩ 日韩媒体 - GEOSITE,abema,⛩ 日韩媒体 - GEOSITE,pixiv,⛩ 日韩媒体 - GEOSITE,dmm,⛩ 日韩媒体 - GEOSITE,bahamut,🌏 港台媒体 - GEOSITE,category-entertainment,🌍 国外媒体 - DOMAIN-KEYWORD,beetalk,📲 聊天软件 - GEOSITE,category-communication,📲 聊天软件 - GEOSITE,category-social-media-!cn,📲 聊天软件 - GEOSITE,google,🔍 谷歌服务 - GEOSITE,gfw,🇺🇳 国外网站 - GEOSITE,geolocation-!cn,🇺🇳 国外网站 - RULE-SET,h_list,👠 懂的都懂 - RULE-SET,stream_list,📼 个人直播 - RULE-SET,my_domain,🌍 自有地址 - GEOIP,netflix,🎥 NETFLIX,no-resolve - GEOIP,telegram,📲 聊天软件,no-resolve - GEOIP,twitter,📲 聊天软件,no-resolve - GEOIP,facebook,📲 聊天软件,no-resolve - GEOSITE,cn,🇨🇳 国内网站 - GEOIP,cn,🇨🇳 国内网站,no-resolve - MATCH,🐟 漏网之鱼