{"id":18691043,"url":"https://github.com/ffissore/geoip-rs","last_synced_at":"2026-03-04T15:31:53.984Z","repository":{"id":34105757,"uuid":"169104647","full_name":"ffissore/geoip-rs","owner":"ffissore","description":"geoip service written in rust https://geoip.rs/","archived":false,"fork":false,"pushed_at":"2023-06-14T16:25:35.000Z","size":145,"stargazers_count":44,"open_issues_count":9,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-25T16:52:52.859Z","etag":null,"topics":["geoip","geolocation","rust","rust-programming-language"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/ffissore.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-04T15:59:40.000Z","updated_at":"2025-10-04T14:17:26.000Z","dependencies_parsed_at":"2024-11-07T10:53:10.551Z","dependency_job_id":"f5dde08d-622b-4f23-9810-65e957fbed37","html_url":"https://github.com/ffissore/geoip-rs","commit_stats":{"total_commits":44,"total_committers":3,"mean_commits":"14.666666666666666","dds":"0.11363636363636365","last_synced_commit":"7ac4c7b00c83b1f88867b26999aa0acf6d3f7b0c"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/ffissore/geoip-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffissore%2Fgeoip-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffissore%2Fgeoip-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffissore%2Fgeoip-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffissore%2Fgeoip-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ffissore","download_url":"https://codeload.github.com/ffissore/geoip-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffissore%2Fgeoip-rs/sbom","scorecard":{"id":398234,"data":{"date":"2025-08-11","repo":{"name":"github.com/ffissore/geoip-rs","commit":"7ac4c7b00c83b1f88867b26999aa0acf6d3f7b0c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.8,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.6.1 not signed: https://api.github.com/repos/ffissore/geoip-rs/releases/27550671","Warn: release artifact 0.6.0 not signed: https://api.github.com/repos/ffissore/geoip-rs/releases/22516125","Warn: release artifact 0.5.3 not signed: https://api.github.com/repos/ffissore/geoip-rs/releases/19712169","Warn: release artifact 0.5.2 not signed: https://api.github.com/repos/ffissore/geoip-rs/releases/18499091","Warn: release artifact 0.5.1 not signed: https://api.github.com/repos/ffissore/geoip-rs/releases/16548187","Warn: release artifact 0.6.1 does not have provenance: https://api.github.com/repos/ffissore/geoip-rs/releases/27550671","Warn: release artifact 0.6.0 does not have provenance: https://api.github.com/repos/ffissore/geoip-rs/releases/22516125","Warn: release artifact 0.5.3 does not have provenance: https://api.github.com/repos/ffissore/geoip-rs/releases/19712169","Warn: release artifact 0.5.2 does not have provenance: https://api.github.com/repos/ffissore/geoip-rs/releases/18499091","Warn: release artifact 0.5.1 does not have provenance: https://api.github.com/repos/ffissore/geoip-rs/releases/16548187"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2020-0049 / GHSA-rqgx-hpg4-456r","Warn: Project is vulnerable to: RUSTSEC-2020-0048 / GHSA-v3j6-xf77-8r9c","Warn: Project is vulnerable to: RUSTSEC-2021-0081 / GHSA-8928-2fgm-6x9x","Warn: Project is vulnerable to: RUSTSEC-2020-0046 / GHSA-whc7-5p35-4ww2","Warn: Project is vulnerable to: RUSTSEC-2020-0045 / GHSA-hhw2-pqhf-vmx2","Warn: Project is vulnerable to: RUSTSEC-2020-0091 / GHSA-9pqx-g3jh-qpqq","Warn: Project is vulnerable to: RUSTSEC-2021-0131","Warn: Project is vulnerable to: RUSTSEC-2020-0159","Warn: Project is vulnerable to: RUSTSEC-2021-0141","Warn: Project is vulnerable to: RUSTSEC-2019-0036 / RUSTSEC-2020-0036 / GHSA-jq66-xh47-j9f3 / GHSA-r98r-j25q-rmpr","Warn: Project is vulnerable to: RUSTSEC-2020-0060 / GHSA-r93v-9p5q-vhpf","Warn: Project is vulnerable to: RUSTSEC-2020-0059 / GHSA-rh4w-94hh-9943","Warn: Project is vulnerable to: RUSTSEC-2023-0034 / GHSA-f8vr-r385-rh5r","Warn: Project is vulnerable to: RUSTSEC-2024-0003 / GHSA-8r5v-vm4m-4g25","Warn: Project is vulnerable to: RUSTSEC-2024-0332 / GHSA-q6cp-qfwq-4gcv","Warn: Project is vulnerable to: RUSTSEC-2024-0421 / GHSA-h97m-ww89-6jmq","Warn: Project is vulnerable to: RUSTSEC-2020-0070 / GHSA-5wg8-7c9q-794v / GHSA-gmv4-vmx3-x9f3 / GHSA-hj9h-wrgg-hgmx / GHSA-ppj3-7jw3-8vc4 / GHSA-vh4p-6j7g-f4j9","Warn: Project is vulnerable to: RUSTSEC-2020-0077","Warn: Project is vulnerable to: RUSTSEC-2020-0080","Warn: Project is vulnerable to: RUSTSEC-2020-0078 / RUSTSEC-2020-0079 / GHSA-458v-4hrf-g3m4 / GHSA-c79c-gwph-gqfm","Warn: Project is vulnerable to: RUSTSEC-2020-0016","Warn: Project is vulnerable to: RUSTSEC-2022-0013 / GHSA-m5pq-gvj9-9vr8","Warn: Project is vulnerable to: RUSTSEC-2021-0003 / GHSA-43w2-9j62-hq99","Warn: Project is vulnerable to: RUSTSEC-2022-0006 / GHSA-9hpw-r23r-xgm5","Warn: Project is vulnerable to: RUSTSEC-2020-0071 / GHSA-wcg3-cvx6-7396","Warn: Project is vulnerable to: RUSTSEC-2021-0124 / GHSA-fg7r-2g4j-5cgr","Warn: Project is vulnerable to: RUSTSEC-2023-0005 / GHSA-4q83-7cq4-p6wg","Warn: Project is vulnerable to: GHSA-rr8g-9fpq-6wmg","Warn: Project is vulnerable to: RUSTSEC-2025-0023"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T19:32:07.682Z","repository_id":34105757,"created_at":"2025-08-18T19:32:07.687Z","updated_at":"2025-08-18T19:32:07.687Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30084967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T13:22:36.021Z","status":"ssl_error","status_checked_at":"2026-03-04T13:20:45.750Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["geoip","geolocation","rust","rust-programming-language"],"created_at":"2024-11-07T10:53:01.870Z","updated_at":"2026-03-04T15:31:53.953Z","avatar_url":"https://github.com/ffissore.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geoip-rs\n\n[![Latest version](https://img.shields.io/crates/v/geoip-rs.svg)](https://crates.io/crates/geoip-rs)\n[![Build Status](https://travis-ci.org/ffissore/geoip-rs.svg?branch=master)](https://travis-ci.org/ffissore/geoip-rs)\n\ngeoip-rs is a geoip service: it provides geographical information about the calling or the specified IP address. It supports both IPV4 and IPV6.\n\n* When called with no query params, it resolves the calling IP address. For example: https://api.geoip.rs\n\n* When called with the `ip` query param, it resolves the specified IP address. For example: https://api.geoip.rs/?ip=216.58.205.132\n\n  If the provided IP address is invalid, it falls back to the calling IP address.\n\n* When called with the `callback` query param, it returns a JSONP response, with the json wrapped by the specified callback. For example: https://api.geoip.rs/?ip=216.58.205.132\u0026callback=my_function\n\n* By default, responses will be in english. An optional `lang` query param can be provided: if a translation is available, returned data will be in that language. Current list includes: `de`, `en`, `es`, `fr`, `ja`, `pt-BR`, `ru`, `zh-CH`. For example: https://api.geoip.rs/?ip=216.58.205.132\u0026lang=ja\n\n### Example response\n\nValid ip address:\n```json\n{\n  \"ip_address\": \"46.51.179.90\",\n  \"latitude\": 53.3331,\n  \"longitude\": -6.2489,\n  \"postal_code\": \"D02\",\n  \"continent_code\": \"EU\",\n  \"continent_name\": \"Europe\",\n  \"country_code\": \"IE\",\n  \"country_name\": \"Ireland\",\n  \"region_code\": \"L\",\n  \"region_name\": \"Leinster\",\n  \"province_code\": \"\",\n  \"province_name\": \"\",\n  \"city_name\": \"Dublin\",\n  \"timezone\": \"Europe/Dublin\"\n}\n```\n\nNot found (private) ip address:\n```json\n{\n  \"ip_address\": \"127.0.0.1\"\n}\n```\n\n### Speed\n\nOn an 8 cores Intel i7, geoip.rs can serve ~30K requests/sec.\n \n### Dataset\n\ngeoip-rs uses the free dataset provided by [maxmind](https://www.maxmind.com). It's not bundled: you have to download it separately.\n\nDownload \"GeoLite2 City\" dataset in binary format from [here](https://dev.maxmind.com/geoip/geoip2/geolite2/#Downloads) and unzip it.\n\n### Running\n\nInstall geoip.rs with \n\n```bash\ncargo install geoip-rs\n```\n\nIf you don't have `cargo`, install it with\n \n```bash\ncurl https://sh.rustup.rs -sSf | sh\n```\n\nor [read the tutorial](https://doc.rust-lang.org/cargo/getting-started/installation.html) for additional instructions. \n\nYou can specify the dataset location on the command line\n```bash\ngeoip-rs /path/to/GeoLite2-City.mmdb\n```\nor via environment variable\n```bash\nexport GEOIP_RS_DB_PATH=/path/to/GeoLite2-City.mmdb\ngeoip-rs\n```\nor via `.env`\n```bash\ncp .env.template .env\n#edit .env appropriately\ngeoip-rs\n```\n\nYou can also customize the host and port geoip.rs will listen to\n```bash\nexport GEOIP_RS_DB_PATH=/path/to/GeoLite2-City.mmdb\nexport GEOIP_RS_HOST=192.168.0.1\nexport GEOIP_RS_PORT=8080\ngeoip-rs\n```\nor you can copy `.env.template` to `.env` and customize its contents\n\n### License\n\nThis project is licensed under the Apache License, Version 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffissore%2Fgeoip-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fffissore%2Fgeoip-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffissore%2Fgeoip-rs/lists"}