{"id":36493312,"url":"https://github.com/4lie/lookups","last_synced_at":"2026-01-12T01:58:13.672Z","repository":{"id":46139486,"uuid":"293818054","full_name":"4lie/lookups","owner":"4lie","description":"Fast and in memory geo lookup library","archived":false,"fork":false,"pushed_at":"2023-04-14T18:57:25.000Z","size":3762,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-19T06:00:01.416Z","etag":null,"topics":["geo","geohash","geom","geometry","go","golang","library","lookup","point-in-polygon","s2"],"latest_commit_sha":null,"homepage":"","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/4lie.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":"2020-09-08T13:25:35.000Z","updated_at":"2024-04-19T13:38:50.000Z","dependencies_parsed_at":"2024-06-19T05:32:00.617Z","dependency_job_id":"956a2573-c713-4d0e-a633-ad3a6fc9fb64","html_url":"https://github.com/4lie/lookups","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/4lie/lookups","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4lie%2Flookups","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4lie%2Flookups/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4lie%2Flookups/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4lie%2Flookups/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4lie","download_url":"https://codeload.github.com/4lie/lookups/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4lie%2Flookups/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["geo","geohash","geom","geometry","go","golang","library","lookup","point-in-polygon","s2"],"created_at":"2026-01-12T01:58:11.671Z","updated_at":"2026-01-12T01:58:13.660Z","avatar_url":"https://github.com/4lie.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Geo Lookups\n\n[![Build](https://github.com/4lie/lookups/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/4lie/lookups/actions/workflows/main.yml)\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/4lie/lookups)](https://pkg.go.dev/github.com/4lie/lookups)\n\n## Introduction\n\nFast and in-memory geo lookup library.\n\nSimply add polygons and run queries.\nIt uses Google's S2 Library for indexing and it's super fast :rocket:.\n\n## Install\n\n``` bash\ngo get github.com/4lie/lookups\n```\n\n## Examples\n\n`lookups_test.go` contains several useful examples. You can check visualizations of them here.\n\n| Image                                       | Description                |\n|---------------------------------------------|----------------------------|\n| \u003cimg src=\"./images/index.png\" width=\"350\"/\u003e | How indexing works         |\n| \u003cimg src=\"./images/1.png\" width=\"350\"/\u003e     | Simple polygon example     |\n| \u003cimg src=\"./images/2.png\" width=\"350\"/\u003e     | Polygon with holes example |\n| \u003cimg src=\"./images/3.png\" width=\"350\"/\u003e     | Multiple polygons example  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4lie%2Flookups","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4lie%2Flookups","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4lie%2Flookups/lists"}