For ip2region, the strongest matches are lionsoul2014/ip2region (This offline IP geolocation library maps both IPv4 and), geocoder-php/geocoder (Geocoder is a PHP library that provides IP geolocation) and grantjenks/python-sortedcontainers (This Python data structures library provides sorted collections for). fiorix/freegeoip and ziglang/zig round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Hand-picked ip2region GitHub repositories for fast IP location lookups. Compare top alternatives and find the best fit for your project.
ip2region is an offline IP geolocation library and framework designed to resolve IPv4 and IPv6 addresses to city-level regional information using local binary data files. It functions as a binary IP database compiler and a cross-language search client, allowing for regional lookups without relying on external APIs. The project distinguishes itself through a specialized binary format that supports high-performance query optimization. It employs adjacent-segment IP merging and deduplicated region storage to minimize the database footprint, while utilizing memory-mapped file caching and vector-i
This offline IP geolocation library maps both IPv4 and IPv6 addresses to city-level locations using an optimized local binary database and multiple language bindings, perfectly matching your requirements for fast, self-contained lookups.
Geocoder is a PHP library for converting addresses to geographic coordinates and coordinates back into addresses using various third-party services. It functions as a multi-provider geocoding wrapper and a reverse geocoding engine, providing an abstraction layer to manage multiple geocoding APIs. The project allows for switching between providers or chaining requests for failover to ensure high availability. It also serves as a GeoIP location resolver, translating IP addresses into geographic coordinates and location details through either remote services or local binary databases. The libra
Geocoder is a PHP library that provides IP geolocation capabilities alongside address geocoding, supporting both local database lookups and remote API providers.
This is a Python library providing sorted list, set, and dictionary data structures that maintain their order automatically during insertions and deletions. The library provides a sorted list for fast random access and logarithmic lookups, a sorted set for unique elements and set-theoretic operations, and a sorted dictionary for managing key-value pairs where keys remain sorted. These collections support custom sorting logic through user-defined key functions to determine the order of elements. Core capabilities include positional indexing, range queries, and the use of bisection methods to
This Python data structures library provides sorted collections for fast lookups, but it is a general-purpose utility rather than an IP geolocation database or lookup library.
freegeoip is a self-hosted geolocation service and API server that maps IP addresses and hostnames to geographic locations. It functions as a MaxMind database reader, parsing binary geolocation databases to provide location data through a REST interface. The project distinguishes itself by providing a private alternative to cloud geolocation providers, managing local database files and automating periodic updates. It includes a reverse proxy IP resolver to extract original client addresses from proxy headers, ensuring accurate mapping behind load balancers. The service incorporates a quota m
This repository provides a self-hosted API server and HTTP service rather than an embeddable offline lookup library, making it an application wrapper rather than the requested programmatic building block.
Zig is a general-purpose systems programming language designed for high-performance applications that require manual memory management and direct control over hardware resources. It prioritizes predictable execution by enforcing explicit control flow and requiring functions to accept explicit memory allocators, ensuring that all heap operations and logic paths remain visible to the developer. The language distinguishes itself through a powerful compile-time metaprogramming engine that allows for arbitrary code execution during the build process, enabling advanced reflection and the generation
Zig is a general-purpose systems programming language rather than an IP geolocation library or database, though it can be used to build such tools.
Shlink is a self-hosted URL shortener designed for creating and managing shortened web addresses on custom domains with full data ownership. It functions as a dynamic URL redirector and a multi-domain link manager, allowing a single installation to organize and serve aliases across several different root domains. The system is centered around a REST API for programmatic link management, enabling external applications to automate the creation, updating, and deletion of short URLs. It includes a dedicated traffic analytics engine that records visits, detects bots, and provides geolocation data
Shlink is a self-hosted URL shortener that includes built-in geolocation tracking, but it is an end-user application rather than a dedicated IP lookup library or database.
RocksDB is a high-performance, embeddable persistent key-value library and storage engine based on Log-Structured Merge-trees. It is designed to provide durable storage for large-scale datasets, integrating directly into applications to manage data on flash and RAM-based hardware. The engine is distinguished by its focus on minimizing read and write amplification through multi-threaded compaction and custom memory allocators. It features specialized optimizations for flash storage, including support for zoned block devices, and provides the ability to extend store behavior via external plugin
RocksDB is a high-performance embeddable key-value storage engine that could theoretically store IP geolocation data, but it is a general-purpose database rather than a pre-packaged IP lookup library.
This application is a desktop network traffic analyzer that provides real-time monitoring and forensic inspection of data packets. By interfacing directly with low-level system drivers, it captures raw network traffic from physical or virtual adapters to identify communication patterns, track bandwidth usage, and diagnose connectivity issues. The system distinguishes itself through an immediate-mode graphical interface that rebuilds the display state every frame, ensuring high responsiveness during live data updates. It maintains performance by using asynchronous message passing to decouple t
Sniffnet is a network traffic analyzer rather than an IP geolocation library or database, making it a different kind of tool entirely despite featuring geographic IP lookups.
v2rayN is a cross-platform graphical management suite designed to centralize the configuration and execution of multiple network proxy protocols. It functions as a unified control plane that abstracts heterogeneous proxy backends, allowing users to manage diverse network routing engines through a single interface. The platform distinguishes itself by providing a consistent management experience across Windows, Linux, and macOS, while orchestrating the lifecycle of independent proxy processes as child services. It supports specific configuration ecosystems, enabling users to organize and switc
This repository is a cross-platform network proxy manager and GUI client rather than an offline IP geolocation library or database.