{"id":15306683,"url":"https://github.com/t0mer/freegeoip","last_synced_at":"2025-08-03T15:32:33.195Z","repository":{"id":50590335,"uuid":"447208416","full_name":"t0mer/freegeoip","owner":"t0mer","description":"freegeoip provides a public HTTP API for software developers to search the geolocation of IP addresses. It uses a database of IP addresses that are associated to cities along with other relevant information like time zone, latitude and longitude.","archived":false,"fork":false,"pushed_at":"2025-01-26T22:31:22.000Z","size":31939,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T14:45:06.679Z","etag":null,"topics":["docker","geoip","monitoring-plugins"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t0mer.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}},"created_at":"2022-01-12T12:25:48.000Z","updated_at":"2025-01-26T22:31:25.000Z","dependencies_parsed_at":"2025-01-26T23:31:34.357Z","dependency_job_id":null,"html_url":"https://github.com/t0mer/freegeoip","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/t0mer/freegeoip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2Ffreegeoip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2Ffreegeoip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2Ffreegeoip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2Ffreegeoip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t0mer","download_url":"https://codeload.github.com/t0mer/freegeoip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2Ffreegeoip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263361223,"owners_count":23454895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker","geoip","monitoring-plugins"],"created_at":"2024-10-01T08:06:51.026Z","updated_at":"2025-07-03T16:36:06.819Z","avatar_url":"https://github.com/t0mer.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# freegeoip\nfreegeoip provides a public HTTP API for software developers to search the geolocation of IP addresses. It uses a database of IP addresses that are associated to cities along with other relevant information like time zone, latitude and longitude.\n\nfreegeoip\n=========\n\n## docker-compose.yml\n\n```yaml\nfreegeoip:\n  image: techblog/freegeoip\n  container_name: freegeoip\n  ports:\n    - \"8080:8080\"\n    - \"8888:8888\"\n  restart: always\n```\n\n## up and running\n\n```bash\n$ docker-compose up -d\n\n$ curl -s http://localhost:8080/json/8.8.8.8 | jq .\n{\n  \"ip\": \"8.8.8.8\",\n  \"country_code\": \"US\",\n  \"country_name\": \"United States\",\n  \"region_code\": \"\",\n  \"region_name\": \"\",\n  \"city\": \"\",\n  \"zip_code\": \"\",\n  \"time_zone\": \"\",\n  \"latitude\": 37.751,\n  \"longitude\": -97.822,\n  \"metro_code\": 0\n}\n\n$ curl -s http://localhost:8888/metrics\nfreegeoip_client_connections{proto=\"http\"} 0\nfreegeoip_client_country_code_total{country_code=\"unknown\"} 7\nfreegeoip_client_ipproto_version_total{ip=\"4\"} 7\nfreegeoip_db_events_total{event=\"loaded\"} 1\ngo_gc_duration_seconds{quantile=\"0\"} 5.9754e-05\ngo_gc_duration_seconds{quantile=\"0.25\"} 7.0367e-05\ngo_gc_duration_seconds{quantile=\"0.5\"} 9.6169e-05\ngo_gc_duration_seconds{quantile=\"0.75\"} 0.000112867\ngo_gc_duration_seconds{quantile=\"1\"} 0.000260533\ngo_gc_duration_seconds_sum 0.001055739\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft0mer%2Ffreegeoip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft0mer%2Ffreegeoip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft0mer%2Ffreegeoip/lists"}