loyalsoldier/clash-rules

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 16 minutes ago
Added to GitGenius on September 2nd, 2026
Created on July 30th, 2020
Open Issues & Pull Requests: 16 (+0)
GitHub issues: Enabled
Number of forks: 2,201
Total Stargazers: 28,346 (+0)
Total Subscribers: 112 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 25.8 hours
Mean response time: 20.9 days
90th percentile: 59.1 days
Tracked items: 90

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 16% of issues opened in the past year have been closed. Three people close 82% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 16
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 154 days
Stale 30+ days: 15
Stale 90+ days: 8

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Detailed Description

Clash Rules is a rule set collection for Clash Premium, a proxy routing framework that works with Clash Premium-based GUI clients including ClashX Pro, Clash for Windows, Clash Meta for Android, and OpenClash.

The project solves the problem of configuring traffic routing and filtering in Clash Premium by providing pre-built rule sets that classify domains and IP addresses for different purposes. It aggregates data from multiple upstream sources including v2ray-rules-dat, domain-list-community, dnsmasq-china-list, and china_ip_list, then generates rule sets compatible with Clash Premium's RULE-SET format. The tool automatically rebuilds these rules daily to keep them current.

Anyone adopting this project should understand that it specifically requires Clash Premium, not the standard Clash version, because the rules leverage Premium's TUN mode for intercepting all TCP and UDP traffic on a device. The project suits users who need pre-configured routing rules for common scenarios like blocking ads, handling geolocation-based routing, or managing traffic to Chinese mainland services. It is compatible with multiple Clash GUI implementations across different platforms, making it broadly applicable to users of those clients.

The project maintains an active build schedule with automated daily rule generation. The tool draws from established upstream rule sources rather than creating rules from scratch, integrating data from multiple community-maintained lists. The project provides installation packages and executables in a separate branch due to upstream repository changes in the ecosystem.