{"id":27185033,"url":"https://github.com/threefoldtech/whereisip","last_synced_at":"2025-04-09T17:10:11.435Z","repository":{"id":84223080,"uuid":"152583524","full_name":"threefoldtech/whereisip","owner":"threefoldtech","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-12T08:38:01.000Z","size":14,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-21T19:50:35.562Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/threefoldtech.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":"2018-10-11T11:52:02.000Z","updated_at":"2023-02-25T00:32:44.000Z","dependencies_parsed_at":"2024-06-21T18:54:08.688Z","dependency_job_id":"6aa0f03b-6e64-4698-93c6-63c46cd4629a","html_url":"https://github.com/threefoldtech/whereisip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fwhereisip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fwhereisip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fwhereisip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefoldtech%2Fwhereisip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threefoldtech","download_url":"https://codeload.github.com/threefoldtech/whereisip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248074976,"owners_count":21043490,"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":"2025-04-09T17:10:10.352Z","updated_at":"2025-04-09T17:10:11.424Z","avatar_url":"https://github.com/threefoldtech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Where Is My IP\n\nSmall webservice using GeoLite2 database to give geographic information about IP address location\n\n# Dependencies\n\nThis project depends on [MaxMind GeoLite2](https://www.maxmind.com/en/geoip2-city)\n\n# Build\n\nSimply build the project with Go:\n```go\ngo build\n```\n\n# Installation\n\nFirst you need to copy a version of `GroLite2-City` database from MaxMind.\nCopy this file into the same directory than `whereisip` binary: `GeoLite2-City.mmdb`\n\nThen run the webservice: `./whereisip`\n\nThere is no command line arguments supported for now.\n\n# Usage\n\nOnly one GET request to `/` is supported and you'll get a JSON response of GeoLite database content based on your remote address.\nServer listen on `:8085`.\n\nExample response:\n```json\n{\n  \"address\": \"82.212.171.24\",\n  \"country_code\": \"BE\",\n  \"country_name\": \"Belgium\",\n  \"subdivision\": \"Wallonia\",\n  \"continent\": \"Europe\",\n  \"city_name\": \"Liège\",\n  \"latitude\": 50.6337,\n  \"longitude\": 5.5675,\n  \"source\": \"maxmind geolite2\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefoldtech%2Fwhereisip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreefoldtech%2Fwhereisip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefoldtech%2Fwhereisip/lists"}