{"id":37228413,"url":"https://github.com/vanng822/geolite2fountries","last_synced_at":"2026-01-15T03:27:40.433Z","repository":{"id":331861153,"uuid":"1131851299","full_name":"vanng822/geolite2fountries","owner":"vanng822","description":"Scripts for filtering selected countries","archived":false,"fork":false,"pushed_at":"2026-01-11T12:04:12.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T16:06:27.372Z","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/vanng822.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-01-10T20:22:08.000Z","updated_at":"2026-01-11T12:01:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vanng822/geolite2fountries","commit_stats":null,"previous_names":["vanng822/geolite2fountries"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vanng822/geolite2fountries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fgeolite2fountries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fgeolite2fountries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fgeolite2fountries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fgeolite2fountries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanng822","download_url":"https://codeload.github.com/vanng822/geolite2fountries/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanng822%2Fgeolite2fountries/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"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":[],"created_at":"2026-01-15T03:27:39.938Z","updated_at":"2026-01-15T03:27:40.423Z","avatar_url":"https://github.com/vanng822.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geolite2fountries\nScripts for filtering selected countries.\n## the use case\nmaxminddb-golang seems to be quite slow when running on a full version of GeoLite2-Country.mmdb. The use case I have here is only checking if a user is from Vietnam. The service responds much faster with only records for Vietnam.\n\n# Install\n```bash\ngo install -mod=readonly github.com/vanng822/geolite2fountries@latest\n```\n\n# Usage\n## download\n```bash\ncurl -L -o GeoLite2-Country.mmdb https://github.com/P3TERX/GeoLite.mmdb/releases/latest/download/GeoLite2-Country.mmdb\n```\n## run filter\n`countries` should be a comma-separated list\n\n```bash\ngeolite2fountries --input ./GeoLite2-Country.mmdb --output ./vietnam_only.mmdb --countries VN\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanng822%2Fgeolite2fountries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanng822%2Fgeolite2fountries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanng822%2Fgeolite2fountries/lists"}