{"id":44095169,"url":"https://github.com/networkcats/merged-ip-data","last_synced_at":"2026-06-10T07:01:26.308Z","repository":{"id":337209397,"uuid":"1152712710","full_name":"NetworkCats/Merged-IP-Data","owner":"NetworkCats","description":"merge multiple IP geolocation databases into a single MMDB file","archived":false,"fork":false,"pushed_at":"2026-05-31T05:27:05.000Z","size":80,"stargazers_count":79,"open_issues_count":0,"forks_count":9,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-31T07:18:40.166Z","etag":null,"topics":["geoip","geoip2","golang","ip-address","ip-data","ip-database","ip-geolocation","ipinfo"],"latest_commit_sha":null,"homepage":"https://ip.nc.gy","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NetworkCats.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-08T10:07:20.000Z","updated_at":"2026-05-30T03:59:01.000Z","dependencies_parsed_at":"2026-02-24T06:00:45.683Z","dependency_job_id":null,"html_url":"https://github.com/NetworkCats/Merged-IP-Data","commit_stats":null,"previous_names":["networkcats/merged-ip-data"],"tags_count":66,"template":false,"template_full_name":null,"purl":"pkg:github/NetworkCats/Merged-IP-Data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkCats%2FMerged-IP-Data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkCats%2FMerged-IP-Data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkCats%2FMerged-IP-Data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkCats%2FMerged-IP-Data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NetworkCats","download_url":"https://codeload.github.com/NetworkCats/Merged-IP-Data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetworkCats%2FMerged-IP-Data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34140776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geoip","geoip2","golang","ip-address","ip-data","ip-database","ip-geolocation","ipinfo"],"created_at":"2026-02-08T12:10:20.597Z","updated_at":"2026-06-10T07:01:26.286Z","avatar_url":"https://github.com/NetworkCats.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Merged IP Database\n\nA Go program that merges multiple IP geolocation databases into a single, comprehensive MMDB file. The merged database combines the best data from each source using priority-based field-level merging.\n\n## Data Sources\n\n| Source | Primary Use | Coverage |\n|--------|-------------|----------|\n| [GeoLite2-City](https://github.com/P3TERX/GeoLite.mmdb) | Country, city, coordinates, timezone, subdivisions, multi-language names | IPv4 + IPv6 |\n| [GeoLite2-ASN](https://github.com/P3TERX/GeoLite.mmdb) | ASN fallback (secondary) | IPv4 + IPv6 |\n| [IPinfo Lite](https://github.com/NetworkCats/IPinfoLite-Download) | ASN, AS organization, AS domain (primary) | IPv4 + IPv6 |\n| [DB-IP City](https://db-ip.com/) | Supplementary geo data | IPv4 + IPv6 |\n| [RouteViews ASN](https://www.npmjs.com/package/@ip-location-db/asn-mmdb) | ASN fallback (tertiary) | IPv4 + IPv6 |\n| [GeoLite2-Geo-Whois-ASN-Country](https://www.npmjs.com/package/@ip-location-db/geolite2-geo-whois-asn-country-mmdb) | Country fallback | IPv4 + IPv6 |\n| [QQWry (Chunzhen)](https://github.com/metowolf/qqwry.ipdb) | Enhanced Chinese IP geolocation with native zh-CN names | IPv4 |\n| [OpenProxyDB](https://github.com/NetworkCats/OpenProxyDB) | Proxy, VPN, Tor, hosting, and CDN detection | IPv4 + IPv6 |\n| [iCloud Private Relay](https://mask-api.icloud.com/egress-ip-ranges.csv) | Proxy and VPN overlay for Apple iCloud Private Relay egress ranges | IPv4 + IPv6 |\n| [bgp.tools Anycast](https://github.com/bgptools/anycast-prefixes) | CDN overlay for anycast prefixes (OR'd into `is_cdn`) | IPv4 + IPv6 |\n\n## Output Format\n\nThe merged database contains the following fields:\n\n```\n{\n  \"city\": {\n    \"geoname_id\": \u003cuint32\u003e,\n    \"names\": { \"en\": \"...\", \"de\": \"...\", ... }\n  },\n  \"continent\": {\n    \"code\": \"...\",\n    \"geoname_id\": \u003cuint32\u003e,\n    \"names\": { \"en\": \"...\", \"de\": \"...\", ... }\n  },\n  \"country\": {\n    \"geoname_id\": \u003cuint32\u003e,\n    \"iso_code\": \"...\",\n    \"names\": { \"en\": \"...\", \"de\": \"...\", ... }\n  },\n  \"location\": {\n    \"accuracy_radius\": \u003cuint16\u003e,\n    \"latitude\": \u003cdouble\u003e,\n    \"longitude\": \u003cdouble\u003e,\n    \"metro_code\": \u003cuint16\u003e,\n    \"time_zone\": \"...\"\n  },\n  \"postal\": {\n    \"code\": \"...\"\n  },\n  \"registered_country\": {\n    \"geoname_id\": \u003cuint32\u003e,\n    \"iso_code\": \"...\",\n    \"names\": { \"en\": \"...\", \"de\": \"...\", ... }\n  },\n  \"subdivisions\": [\n    {\n      \"geoname_id\": \u003cuint32\u003e,\n      \"iso_code\": \"...\",\n      \"names\": { \"en\": \"...\", \"de\": \"...\", ... }\n    }\n  ],\n  \"asn\": {\n    \"autonomous_system_number\": \u003cuint32\u003e,\n    \"autonomous_system_organization\": \"...\",\n    \"as_domain\": \"...\"\n  },\n  \"proxy\": {\n    \"is_proxy\": \u003cbool\u003e,\n    \"is_vpn\": \u003cbool\u003e,\n    \"is_tor\": \u003cbool\u003e,\n    \"is_hosting\": \u003cbool\u003e,\n    \"is_cdn\": \u003cbool\u003e,\n    \"is_school\": \u003cbool\u003e,\n    \"is_anonymous\": \u003cbool\u003e\n  }\n}\n```\n\n## Download\n\nDownload the latest merged database from [Releases](../../releases/latest):\n\n```bash\nwget https://github.com/NetworkCats/Merged-IP-Data/releases/latest/download/Merged-IP.mmdb\n```\n\n## Building from Source\n\n### Prerequisites\n\n- Go 1.25 or later\n\n### Build\n\n```bash\ngit clone https://github.com/NetworkCats/Merged-IP-Data.git\ncd Merged-IP-Data\ngo build -o merge-tool ./cmd/merge\n```\n\n### Run\n\n```bash\n# Download databases and merge\n./merge-tool\n\n# Use existing downloaded databases\n./merge-tool -skip-download\n\n# Custom output path\n./merge-tool -output custom.mmdb\n```\n\n## Automatic Updates\n\nThe database is automatically updated daily at 1:00 UTC via GitHub Actions. Each release includes:\n\n- The merged MMDB file\n- Release notes with data source information\n\n## License\n\nThis project merges data from multiple sources. Please refer to each source's license:\n\n- GeoLite2: [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/)\n- IPinfo Lite: [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/)\n- DB-IP: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)\n- RouteViews ASN: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/)\n- OpenProxyDB: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/)\n\nThe merge tool source code is provided as-is for educational and personal use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkcats%2Fmerged-ip-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetworkcats%2Fmerged-ip-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkcats%2Fmerged-ip-data/lists"}