本项目是适用于 mihomo 的去广告规则集 (RULE-SET)。
本项目规则集 (RULE-SET) 的数据主要来源于项目 @ACL4SSR/ACL4SSR,适用于 mihomo。
- mihomo 命令行版 (适用于 Windows、macOS、Linux 等多种平台): mihomo
- mihomo 图形用户界面版
- clash-verge-rev (适用于 Windows、macOS、Linux)
- FlClash (适用于 Windows、macOS、Linux、Android)
- clash-nyanpasu (适用于 Windows、macOS、Linux)
- ClashMetaForAndroid (适用于 Android)
-
AD:
-
EasyList:
-
EasyListChina:
-
EasyPrivacy:
-
ProgramAD:
要想使用本项目的规则集,只需要在 Clash 配置文件中添加如下 rule-providers
和 rules
。
rule-providers:
AD:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/AD.yaml"
path: ./rules/AD.yaml
interval: 86400
EasyList:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/EasyList.yaml"
path: ./rules/EasyList.yaml
interval: 86400
EasyListChina:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/EasyListChina.yaml"
path: ./rules/EasyListChina.yaml
interval: 86400
EasyPrivacy:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/EasyPrivacy.yaml"
path: ./rules/EasyPrivacy.yaml
interval: 86400
ProgramAD:
type: http
behavior: domain
url: "https://raw.githubusercontent.com/earoftoast/clash-rules/main/ProgramAD.yaml"
path: ./rules/ProgramAD.yaml
interval: 86400
rules:
- RULE-SET,AD,REJECT
- RULE-SET,EasyList,REJECT
- RULE-SET,EasyListChina,REJECT
- RULE-SET,EasyPrivacy,REJECT
- RULE-SET,ProgramAD,REJECT