loyalsoldier/v2ray-rules-dat

🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,适用于 V2Ray、Xray-core、mihomo(Clash-Meta)、hysteria、Trojan-Go 和 leaf。Enhanced edition of V2Ray...

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 7 minutes ago
Added to GitGenius on September 2nd, 2026
Created on December 10th, 2019
Open Issues & Pull Requests: 13 (+0)
GitHub issues: Enabled
Number of forks: 2,728
Total Stargazers: 20,646 (+1)
Total Subscribers: 151 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 13
New in 7 days: 3
Closed in 7 days: 0
Avg open age: 421 days
Stale 30+ days: 9
Stale 90+ days: 7

Recent activity

Opened in 7 days: 3
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

No issue events were indexed in the last 7 days.

Detailed Description

v2ray-rules-dat is a routing rules database that replaces V2Ray's official geoip.dat and geosite.dat files for use across multiple proxy platforms.

The tool solves the problem of maintaining accurate, up-to-date geolocation and domain routing rules for proxy applications. It generates geoip.dat files using MaxMind GeoLite2 Country data as the base, with specialized handling for Chinese mainland IP ranges drawn from dedicated sources for both IPv4 and IPv6 addresses. The geoip.dat includes standard country codes plus custom categories for major content delivery and service providers like Cloudflare, Google, Netflix, Telegram, and Tor. The project builds automatically on a daily schedule to keep rules current.

The tool is designed for users of V2Ray, Xray-core, mihomo, hysteria, Trojan-Go, leaf, and their associated GUI applications who need reliable geolocation-based routing. It suits anyone requiring more granular control over traffic routing than official rule files provide, particularly those needing accurate Chinese IP classification or filtering by specific service providers. The project explicitly references an alternative repository for users who need customized geoip.dat files or formats compatible with other proxy software.

The project maintains an automated build pipeline that generates updated rules daily. The tool draws data from multiple upstream sources including MaxMind's geolocation database and community-maintained IP lists. The project is actively maintained with regular updates to support evolving proxy platform ecosystems.