Skip to content

About

自用 Loon & Mihomo 分流规则集与 Loon 去广告插件

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

proxy-rules

自用 Loon 与 Mihomo (Clash Meta) 分流规则集及自维护 Loon 去广告/增强插件仓库,可直接通过 GitHub Raw(或自选镜像)引入使用。

目录结构

路径 数量 说明
loon/rules/ 54 份 Loon 分流规则集(.list)
loon/plugins/ 55 个插件 + 44 个脚本 自维护 Loon 去广告与增强插件(含银行/App 专项去广告与 AdRewrite 聚合重写)
loon/converted/ 3 个插件 + 2 个脚本 第三方格式转换后的 Loon 插件(菜鸟裹裹、Twitch、墨鱼去开屏 2.0)
mihomo/rules/ 79 份 Mihomo 规则集(.list / .yaml / .mrs)

如需可莉系去广告与工具插件(如 HTTPDNS 拦截、常见 App 去广告),请直接前往原作者仓库订阅:luestr/ProxyResource。

快速引入

1. Loon 远程规则集与插件

在 Loon 配置的 [Remote Rule] 中按需引入(策略名请替换为你自己的策略组名称):

[Remote Rule]
https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/loon/rules/AdRules.list, policy=REJECT, tag=AdRules, enabled=true
https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/loon/rules/Direct.list, policy=DIRECT, tag=Direct, enabled=true
https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/loon/rules/OpenAI.list, policy=OpenAI, tag=OpenAI, enabled=true
https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/loon/rules/Claude.list, policy=Claude, tag=Claude, enabled=true
https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/loon/rules/Google.list, policy=Google, tag=Google, enabled=true
https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/loon/rules/China.list, policy=DIRECT, tag=China, enabled=true

在 Loon 配置的 [Plugin] 中按需引入去广告或功能插件:

[Plugin]
https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/loon/plugins/AdRewrite.plugin, enabled=true
https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/loon/plugins/UmetripAds.plugin, enabled=true
https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/loon/plugins/ChinaMobileAds.plugin, enabled=true

2. Mihomo (Clash Meta) rule-providers

在 Mihomo 配置的 rule-providers 中按需引入(.mrs 为二进制高效格式,.yaml 为 YAML payload,.list 为 format: text):

rule-providers:
  AdRules:
    type: http
    behavior: domain
    format: mrs
    url: "https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/mihomo/rules/AdRules.mrs"
    path: ./ruleset/AdRules.mrs
    interval: 86400

  Direct:
    type: http
    behavior: classical
    format: text
    url: "https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/mihomo/rules/Direct.list"
    path: ./ruleset/Direct.list
    interval: 86400

  OpenAI:
    type: http
    behavior: classical
    format: yaml
    url: "https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/mihomo/rules/OpenAI.yaml"
    path: ./ruleset/OpenAI.yaml
    interval: 86400

  ChinaDomain:
    type: http
    behavior: domain
    format: mrs
    url: "https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/mihomo/rules/ChinaDomain.mrs"
    path: ./ruleset/ChinaDomain.mrs
    interval: 86400

  ChinaIP:
    type: http
    behavior: ipcidr
    format: mrs
    url: "https://raw.githubusercontent.com/MRXOAD/proxy-rules/main/mihomo/rules/ChinaIP.mrs"
    path: ./ruleset/ChinaIP.mrs
    interval: 86400

提示:国内直连访问 raw.githubusercontent.com 不稳定时,可自行将链接前缀替换为可用的镜像源或通过代理拉取。

规则与插件清单

Loon 分流规则集(54 份)
Mihomo 分流规则集(79 份)
Loon 自维护与聚合去广告插件(55 个)
Loon 已转换第三方插件(3 个)

致谢与上游来源

本仓库的规则集与去广告插件在大量优秀开源项目和社区作者的长期维护基础上整合、去重与适配,特此向以下项目与作者致谢(排名不分先后):

分流与去广告规则上游

Loon 插件与脚本作者

如上述致谢名单有遗漏或链接变更,欢迎提交 Issue 补充修正。

免责声明

  • 本仓库仅供个人学习与网络调试交流使用,不提供任何代理节点或服务。
  • 上游规则与脚本的版权归原作者所有,各插件文件内均保留原作者 #!author 署名。

About

自用 Loon & Mihomo 分流规则集与 Loon 去广告插件

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages