{"id":19310981,"url":"https://github.com/a0s/suricate","last_synced_at":"2026-05-30T16:31:20.759Z","repository":{"id":40533625,"uuid":"92387449","full_name":"a0s/suricate","owner":"a0s","description":"Simple interface to MaxMind GeoLite2 database","archived":false,"fork":false,"pushed_at":"2023-03-16T05:39:01.000Z","size":24576,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T02:12:10.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a0s.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-05-25T09:27:54.000Z","updated_at":"2020-12-12T16:29:44.000Z","dependencies_parsed_at":"2024-11-10T00:27:19.613Z","dependency_job_id":"6ba83454-da92-4452-a184-ba5f10dc49f6","html_url":"https://github.com/a0s/suricate","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/a0s%2Fsuricate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fsuricate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fsuricate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fsuricate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a0s","download_url":"https://codeload.github.com/a0s/suricate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240412041,"owners_count":19797195,"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-10T00:27:11.344Z","updated_at":"2026-05-30T16:31:20.518Z","avatar_url":"https://github.com/a0s.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Suricate\n========\n\nThe simple REST API to MaxMind City database\n\n```shell script\ncurl -s \"localhost:3000/lookup?ip=36.89.229.97\u0026language=en\" | jq                               ruby-2.7.1@suricate\n{\n  \"country\": \"Indonesia\",\n  \"country_iso_code\": \"ID\",\n  \"city\": \"Tangerang\",\n  \"lat\": -6.177,\n  \"long\": 106.6284\n}\n\ncurl -s \"localhost:3000/health\"\nOK\n```\n\nDocker\n------\n\nYou need fresh GeoLite2-City.mmdb from [MaxMind site](https://dev.maxmind.com/geoip/geoip2/geolite2/)\n\n```shell script\ndocker build . --tag suricate\ndocker run -it --name suricate \\\n  -v ~/GeoLite2-City.mmdb:/app/maxminddb/GeoLite2-City.mmdb \\\n  -p 3000:3000 \\\n  suricate\n```\n\nGet console\n\n```shell script\ndocker exec -it suricate rake c\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0s%2Fsuricate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa0s%2Fsuricate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0s%2Fsuricate/lists"}