{"id":15272416,"url":"https://github.com/jms/tzlookupservice","last_synced_at":"2026-02-05T23:31:44.664Z","repository":{"id":47205431,"uuid":"264479563","full_name":"jms/tzLookupService","owner":"jms","description":"timezone lookup service using latitude and longitude","archived":false,"fork":false,"pushed_at":"2024-12-28T22:04:24.000Z","size":43337,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T11:04:18.568Z","etag":null,"topics":["docker","gin-gonic","go","k8s-deployment","microservice","timezone"],"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/jms.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-05-16T16:33:14.000Z","updated_at":"2024-12-28T22:04:28.000Z","dependencies_parsed_at":"2024-06-21T08:59:37.855Z","dependency_job_id":null,"html_url":"https://github.com/jms/tzLookupService","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.050000000000000044","last_synced_commit":"574b9ebfd03b1b4be4ac0d80e184110cecf62ac5"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jms%2FtzLookupService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jms%2FtzLookupService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jms%2FtzLookupService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jms%2FtzLookupService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jms","download_url":"https://codeload.github.com/jms/tzLookupService/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235907594,"owners_count":19064223,"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":["docker","gin-gonic","go","k8s-deployment","microservice","timezone"],"created_at":"2024-09-30T09:06:42.122Z","updated_at":"2026-02-05T23:31:44.620Z","avatar_url":"https://github.com/jms.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Timezone lookup service\n\ntzLookupService is a hobby project it provide the timezone name \nusing the latitude and longitude is written in go language and expose \nhis functionality via web using GIN framework\n\nIt also uses the data from the project \n\nhttps://github.com/evansiroky/timezone-boundary-builder\n\nand the lookup of the data from the library\n\nhttps://github.com/evanoberholster/timezoneLookup\n\nThe web service runs with Gin framework https://gin-gonic.com/\n\nfor convenience a makefile target was created to download the data, unzip it and \nprocess the geojson to create a BoltDB database with the timezones.\n\nthe script to create the timezone db comes from timezoneLookup \"cmd/timezone.go\" \n \nto run the project:\n\n```bash\ngo get -u https://github.com/jms/tzLookupService\ncd ${GOPATH}/src/github.com/jms/tzLookupService\nmake create-tz-db\nmake run\ncurl 'localhost:8080?lat=12\u0026lon=-86'\n\n{\"timezone\":\"America/Managua\"}\n```\n\nConfiguration\n```bash\n# changing to release mode and set a different port \nexport GIN_MODE=release\nexport PORT=80\n```\n\nTo run the project on a container, you can use podman or docker\n```bash\npodman build -f Dockerfile -t tzlookup\npodman run --rm -p 8080:8080 tz_lookup\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjms%2Ftzlookupservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjms%2Ftzlookupservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjms%2Ftzlookupservice/lists"}