{"id":18637531,"url":"https://github.com/dutchcoders/geodig","last_synced_at":"2025-06-11T09:03:51.142Z","repository":{"id":25672602,"uuid":"29108490","full_name":"dutchcoders/geodig","owner":"dutchcoders","description":"Command line tool for looking up Geolocation info for an ip address.","archived":false,"fork":false,"pushed_at":"2015-03-22T21:22:34.000Z","size":236,"stargazers_count":15,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T12:12:54.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dutchcoders.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}},"created_at":"2015-01-11T22:29:16.000Z","updated_at":"2024-08-12T19:15:53.000Z","dependencies_parsed_at":"2022-08-24T06:40:57.078Z","dependency_job_id":null,"html_url":"https://github.com/dutchcoders/geodig","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fgeodig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fgeodig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fgeodig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fgeodig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dutchcoders","download_url":"https://codeload.github.com/dutchcoders/geodig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248368350,"owners_count":21092343,"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":[],"created_at":"2024-11-07T05:36:37.490Z","updated_at":"2025-04-11T09:33:15.162Z","avatar_url":"https://github.com/dutchcoders.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geodig\nCommand line tool for looking up Geolocation info for an ip address.\n\n## Database\nThis product includes GeoLite data created by MaxMind, available from [http://www.maxmind.com/](http://www.maxmind.com).\n\n## Demo\n\n![](demo.gif)\n\n## Build\n```\n$ go build -o geodig geodig.go\n```\n\n## Install using Homebrew\n\n```\n$ brew tap dutchcoders/homebrew-geodig\n$ brew install geodig\n```\n\n## Examples\n\nGet location for ip address\n```\n$geodig 192.30.252.131\nUnited States (San Francisco)%\n```\n\nIp addresses can be piped, for use with log files\n```\n$echo 192.30.252.131|geodig\nUnited States (San Francisco)%\n```\n\nAnalyzing log files\n```\n$curl http://#####.###/logs/access.log | awk '{print $1}' | sort | uniq | go run geodig.go --format \"(country)\\n\"| sort | uniq\nAfghanistan\nAustralia\nBelarus\nBulgaria\nCanada\nChina\nFinland\nFrance\nGermany\nIndia\nIndonesia\nIreland\nIsrael\nNetherlands\nPoland\nRomania\nRussia\nRwanda\nSpain\nThailand\nUkraine\nUnited Kingdom\nUnited States\n```\n\nCreating a shell alias \n```\n$alias geodig='go run geodig.go --format \"(country)\\n\"'\n```\n\n## Contributions\n\nContributions are welcome.\n\n## Creators\n\n**Remco Verhoef**\n- \u003chttps://twitter.com/remco_verhoef\u003e\n- \u003chttps://twitter.com/dutchcoders\u003e\n\n## Copyright and license\n\nCode and documentation copyright 2011-2014 Remco Verhoef.\n\nCode released under [the MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutchcoders%2Fgeodig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdutchcoders%2Fgeodig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutchcoders%2Fgeodig/lists"}