geoip

🌚 🌍 🌝 GeoIP 规则文件加强版,支持自行定制 V2Ray dat 格式文件 geoip.dat、MaxMind mmdb 格式文件、sing-box SRS 格式文件、mihomo MRS 格式文件、Clash ruleset、Surge ruleset 等。Enhanced edition of GeoIP files for V2Ray, Xray-core, sing-box, Clash, mihomo, Shadowrocket, Quantumult X, Surge, hysteria, Trojan-Go, Leaf, Nginx, etc.

23 articles 5.7k View on GitHub ↗
23 articles
How the Internal Representation of IP Ranges Affects Lookup Accuracy and Performance in geoip

Discover how IP range representation in loyalsoldier/geoip impacts lookup accuracy and performance. Learn about netipx.IPSet and O(log n) checks for sub-microsecond latency with millions of prefixes.

internals
Mar 6, 2026
Managing and Updating `config.json` in Production: Best Practices for geoip

Learn best practices for managing and updating config.json in production. Keep your loyalsoldier/geoip configuration reliable, auditable, and safely updatable with version control and CI pipelines.

best-practices
Mar 6, 2026
How to Use the GeoIP CLI for Batch Processing Multiple Conversion Tasks

Unlock efficient GeoIP data processing with the loyalsoldier/geoip CLI. Learn to batch convert multiple IP tasks using a single JSON configuration file for streamlined workflows.

how-to-guide
Mar 6, 2026
GeoIP Data Sources and Generation Process Security Considerations

Explore security risks in GeoIP generation, from insecure data sources to unvalidated parsing and artifact integrity checks. Discover best practices for a secure pipeline.

security
Mar 6, 2026
How to Implement Automated Testing for Custom GeoIP Data Transformations and Format Conversions

Automate GeoIP data transformation and format conversion testing with Go. Learn to test custom converters and output structures for reliable GeoIP data processing in the loyalsoldier/geoip repo.

how-to-guide
Mar 6, 2026
How to Troubleshoot GeoIP Lookup Failures in Target Applications Using Loyalsoldier GeoIP Files

Troubleshoot GeoIP lookup failures impacting target applications. Learn to resolve common issues like corrupted files, incorrect flags, and misconfigurations using Loyalsoldier GeoIP files.

how-to-guide
Mar 6, 2026
How to Optimize the GeoIP Generation Process for Extremely Large Datasets

Optimize GeoIP generation for millions of CIDR blocks using batch AddSet, parallel parsing, and IP version filtering. Boost performance and reduce overhead for massive datasets.

performance
Mar 6, 2026
Integration Patterns for Consuming Generated GeoIP Files in Proxy Clients

Learn integration patterns for consuming generated GeoIP files in proxy clients. loyalsoldier/geoip provides V2Ray dat, Clash YAML & sing-box SRS formats for CDN or local loading.

architecture
Mar 6, 2026
How to Migrate Existing GeoIP Data to Supported Formats Using loyalsoldier/geoip

Easily migrate your GeoIP data to supported formats using the loyalsoldier/geoip tool. Create a config file and run the geoip convert command to transform your data efficiently.

migration-guide
Mar 6, 2026
IP Address Parsing and Validation Edge Cases in the geoip Library

Explore IP address parsing and validation edge cases like malformed inputs and invalid CIDR ranges handled by the geoip library. Learn how it ensures data integrity.

deep-dive
Mar 6, 2026
Advanced Configurations for InputConverter and OutputConverter in the geoip Tool

Explore advanced geoip tool configurations for InputConverter and OutputConverter. Learn about wantedList filtering, onlyIPType, inputDir, jsonPath, overwriteList, and sourceMMDBURI for enhanced processing.

deep-dive
Mar 6, 2026
How ResetInput and ResetOutput Control Instance State in GeoIP Operations

Discover how ResetInput and ResetOutput manage Instance state in GeoIP operations. Safely reuse data containers across complex workflows without reloading source files.

internals
Mar 6, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →