Loyalsoldier

    Loyalsoldier/geoip

    🌚 🌍 🌝 GeoIP 增强版,自由定制多种格式 GeoIP 文件,包括但不限于 V2Ray dat 格式文件 geoip.dat、MaxMind mmdb 格式文件、sing-box SRS 格式文件、mihomo MRS 格式文件、Clash ruleset、Surge ruleset、Nginx allow & deny 规则文件等。Enhanced edition of GeoIP for Nginx, V2Ray, Xray-core, Clash, mihomo, sing-box, Shadowrocket, Quantumult X, Surge, hysteria, Trojan-Go, dae, etc.

    networking
    anti-censorship
    anticensorship
    clash
    geoip
    gfw
    Go
    CC-BY-SA-4.0
    6.6K stars
    888 forks
    6.6K GitHub watchers
    Updated Oct 27, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 4 days ago, with 16 contributors on GitHub.

    Gained 32% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides enhanced GeoIP data files in multiple formats for various proxy, routing, and network tools.
    • Offers weekly automated updates and supports extensive customization with a CLI for diverse GeoIP output formats.
    • Use for generating GeoIP dat files compatible with V2Ray, Xray-core, Trojan-Go, and hysteria proxies.
    • Use for producing MaxMind mmdb files for integration with Clash, Nginx, Shadowrocket, Quantumult X, and Surge.
    • Use for creating rule sets in formats like sing-box SRS, mihomo MRS, Clash, and Surge for advanced routing and filtering.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    CC BY-SA 4.0

    Share-alike content license, unusual for code: adaptations must carry the same license, and it was not written for software.

    Community files

    • README: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    本项目每周四自动生成多种格式 GeoIP 文件,同时提供命令行界面(CLI)工具供用户自行定制 GeoIP 文件,包括但不限于 V2Ray dat 格式文件 geoip.dat、MaxMind mmdb 格式文件 Country.mmdb、sing-box SRS 格式文件、mihomo MRS 格式文件、Clash ruleset 和 Surge ruleset。

    This project releases various formats of GeoIP files automatically every Thursday, and provides a command line interface(CLI) tool for users to customize their own GeoIP files, including but not limited to V2Ray dat format file geoip.dat, MaxMind mmdb format file Country.mmdb, sing-box SRS format files, mihomo MRS format files, Clash ruleset files and Surge ruleset files.

    本项目默认使用 MaxMind GeoLite2 Country CSV 数据生成各个国家和地区的 GeoIP 文件。所有可供使用的国家和地区 geoip 类别(如 geoip:cn,两位英文字母表示国家和地区),请查看:https://www.iban.com/country-codes。

    本项目发布的所有 GeoIP 文件,请查看 release 分支。以下是部分格式 GeoIP 文件的下载地址:

    如果无法访问域名 raw.githubusercontent.com,可以使用第二个地址 cdn.jsdelivr.net。 如果无法访问域名 cdn.jsdelivr.net,可以将其替换为 fastly.jsdelivr.net。

    *.sha256sum 为校验文件。

    Excerpt from the Loyalsoldier/geoip README on GitHub (CC-BY-SA-4.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    888+1

    Open issues

    2-1

    Compared with peers in Networking

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    Loyalsoldier/geoip compared with Networking repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    superdesigndev/treg7.2K+65645—
    MHSanaei/3x-ui49.4K+52253134 days ago
    netbirdio/netbird30.7K+399657 days ago
    tailscale/tailscale38.7K+378653 days ago
    caddyserver/caddy78.8K+267601 day ago
    Loyalsoldier/geoip6.6K—364 days ago
    Category median38.7K+39960—

    Discover Repositories

    Search across tracked repositories by name or description