📈 GH Trending Explorer 🎲 Surprise me

← all repos

Loyalsoldier / clash-rules

git clone https://github.com/Loyalsoldier/clash-rules.git 202610222237 · today

🦄️ 🎃 👻 Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 等基于 Clash Premium 内核的客户端。

+16
stars, 24h · #2,304
+~79
stars, 7 days · #2,679
+~340
stars, 30 days · #2,428
29k
★ total · +0% this week
2.2k
forks · 16 open issues

Star history (as recorded here)

2026-10-20 · 28,904 ★ 2026-10-23 · 28,938 ★
LicenseGPL-3.0
Created2020-07-30 (6y ago)
Last pushtoday
Watchers112
OwnerUser

GitHub topics

Links

README excerpt
# 简介 
本项目生成适用于 **Clash Premium 内核**的规则集(RULE-SET),同时适用于所有使用 Clash Premium 内核的 Clash 图形用户界面(GUI)客户端,包括但不限于 ClashX Pro、clash-party、clash-verge-rev、Clash for Windows、clashmi、Clash Meta for Android、OpenClash。使用 GitHub Actions 北京时间每天早上 6:30 自动构建,保证规则最新。
## 说明
本项目规则集(RULE-SET)的数据主要来源于项目 @Loyalsoldier/v2ray-rules-dat 和 @v2fly/domain-list-community;`Apple` 和 `Google` 列表里的域名来源于项目 @felixonmars/dnsmasq-china-list;中国大陆 IPv4 地址数据使用 @17mon/china_ip_list。
本项目的规则集(RULE-SET)只适用于 Clash **Premium** 版本。Clash Premium 相对于普通版,增加了 **TUN 增强模式**,能接管设备所有 TCP 和 UDP 流量。
### Clash Premium 客户端下载地址
> ⚠️ 由于 Clash 及其部分周边生态项目于 2023 年 11 月上旬删库跑路,现提供部分官方原版安装包、可执行文件,详情见 **hidden** 分支。
- Clash Premium **命令行**版:
 - 官方版(适用于 Windows、macOS、Linux、OpenWRT 等多种平台,**已停止更新**)
 - mihomo(适用于 Windows、macOS、Linux、Android、OpenWRT 等多种平台)
- Clash Premium **图形用户界面**版:
 - ClashX Pro(适用于 macOS,**已停止更新**)
 - clash-party(适用于 Windows、macOS、Linux)
 - clash-verge-rev(适用于 Windows、macOS、Linux)
 - Clash for Windows(适用于 Windows、macOS、Linux,**已停止更新**)
 - clashmi(适用于 Windows、macOS、Linux、iOS、Android)
 - Clash Meta for Android(适用于 Android)
 - OpenClash(适用于 OpenWRT)
## 规则文件地址及使用方式
### 在线地址(URL)
> 如果无法访问域名 `raw.githubusercontent.com`,可以使用第二个地址(`cdn.jsdelivr.net`),但是内容更新会有 12 小时的延迟。以下地址填写在 Clash 配置文件里的 `rule-providers` 里的 `url` 配置项中。
- **直连域名列表 direct.txt**:
 - https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/direct.txt
 - https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt
- **代理域名列表 proxy.txt**:
 - https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/proxy.txt
 - https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt
- **广告域名列表 reject.txt**:
 - https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/reject.txt
 - https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt
- **私有网络专用域名列表 private.txt**:
 - https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/private.txt
 - https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt
- **Apple 在中国大陆可直连的域名列表 apple.txt**:
 - https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/apple.txt
 - https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt
- **iCloud 域名列表 icloud.txt**:
 - https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/icloud.txt
 - https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt
- **[慎用]Google 在中国大陆可直连的域名列表 google.txt**:
 - https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/google.txt
 - https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt
- **GFWList 域名列表 gfw.txt**:
 - https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/gfw.txt
 - https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gfw.txt
- **非中国大陆使用的顶级域名列表 tld-not-cn.txt**:
 - https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/tld-not-cn.txt
 - https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt
- **Telegram 使用的 IP 地址列表 telegramcid