Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: The official website page could not be fetched this time. The content below is based on known information about the project, so please refer to the README in the GitHub repository for specific details.
Introduction
Geo2tz is an open-source project hosted on GitHub (noandrea/geo2tz). It provides a very simple HTTP service: you send a latitude and longitude, and it returns the IANA time zone identifier for that location, for example Europe/Rome. The project is written in Go, the time zone boundary data is distributed together with the service, and lookups are performed locally without relying on any third-party online API.
Key Features
- Coordinates to time zone: Send latitude and longitude through a REST endpoint and get time zone information back in JSON format
- Local, offline lookups: Calculations are done locally using open-source time zone boundary data (timezone-boundary-builder), with no calls to external services
- Optional access control: An authentication token can be configured to restrict who can call the API
- Lightweight deployment: Runs as a single executable or a single container image
Target Users and Use Cases
- Backend developers who need to determine the time zone automatically from a user's or device's location
- Teams that handle large volumes of data with coordinates (logistics, IoT, travel, scheduling apps) and need to label records with local time
- Users who prefer not to use commercial APIs such as the Google Time Zone API because of privacy, cost, or rate-limit concerns
Core Advantages
- Privacy: Location data is never sent to third parties
- No per-call fees or quota limits: You host it yourself, so throughput is limited only by your own hardware
- Simplicity: The API is minimal by design, making it easy to integrate with any language or platform
Deployment
An official Docker image is provided, and the service is usually run in a container. You can also build it from source with Go and run the binary directly. Once deployed, you query it with an HTTP GET request that includes the latitude and longitude parameters. For the specific port, paths, and environment variables, please see the repository documentation.
Technical Requirements
- A Docker environment, or a Go build environment
- A small amount of memory to load the time zone boundary data
Worth Noting
Time zone boundaries change as countries adjust their policies. It is recommended to update regularly to a version that includes the latest boundary data so that lookup results stay accurate.
Discover more
TRIP
🗺️ Minimalist POI Map Tracker and Trip Planner. Self-hosted.
wanderer
Trail database where you can upload your recorded tracks or create new ones and add various metadata to build an easily searchable catalogue.
AdventureLog
Travel tracker and trip planner.
AirTrail
Personal flight tracking system.
Anubis
Weighs the soul of incoming HTTP requests to stop AI crawlers
AnyCable
Realtime server for reliable two-way communication over WebSockets, Server-sent events, etc.