Geo2Tz
Lightweight REST API to resolve time zones from coordinates
98 stars 17 forks last commit first released MIT
Actively maintained
Last commit 1 Aug 2026.
Geo2Tz is a minimal, self-hostable HTTP service that returns the IANA time zone identifier for a pair of geographic coordinates (latitude, longitude). It exposes a simple REST-like endpoint and uses prebuilt timezone polygon data to map coordinates to time zones.
Key Features
- Single REST endpoint GET /tz/{lat}/{lon} that returns JSON with coordinates and the matched IANA timezone
- Uses timezone polygon data produced from the timezone-boundary-builder project for accurate boundaries
- Distributed as a single Go binary and official container image, with Docker Compose and Kubernetes examples
- CLI command to update or pin the timezone dataset (update current/latest/specific-version)
- Optional token-based request authorization via environment variables
- Small, production-focused codebase written in Go, suitable for embedding in infrastructure or edge services
Use Cases
- Provide privacy-preserving timezone lookup for mobile or web apps without sending coordinates to third parties
- Add timezone resolution to logging, scheduling, or event-processing pipelines based on geolocated data
- Deploy as an internal microservice for geospatial backends and API gateways
Limitations and Considerations
- Requires downloading and maintaining the timezone polygon dataset; initial dataset can be sizable and needs storage
- Designed for single-coordinate lookups; no built-in batch lookup API or web UI
- Accuracy depends on the underlying timezone-boundary-builder dataset; edge cases near boundaries may require dataset updates
Geo2Tz is focused on a single, well-scoped problem and is suitable when you need a lightweight, self-hosted timezone resolution service. It is intended for deployments where privacy and control over coordinate data are important.
Categories:
Tags:
Tech Stack:
Similar to Geo2Tz

openrouteservice
Open-source routing and geospatial API for directions and analytics
OpenRouteService is an open-source REST API providing routing, isochrones, matrices, geocoding, POIs, elevation and vehicle-optimization services built from OpenStreetMap data.


Shhh
One-time encrypted secret sharing web app
Tiny Flask app to create encrypted, expiring secrets shareable via private links. Secrets are encrypted and deleted after viewing, expiration, or max attempts.


Lura
High-performance API gateway framework with extensible middleware
Lura is a stateless, high-performance API gateway framework for building reverse proxies that aggregate, transform, and secure backend APIs via middleware and plugins.
docker-staticmaps
Lightweight REST API for generating static map images
Open-source REST API to render static map images with markers, polygons, polylines and text; supports multiple basemaps, caching, rate limiting and Docker deployment.

Memos
Privacy-first self-hosted note-taking and knowledge base
Memos is a lightweight, privacy-first self-hosted note-taking service with Markdown, fast search, and sharing features for personal notes, wikis, and team knowledge.

Gotenberg
Containerized API for document conversion and PDF generation
Gotenberg is a containerized HTTP API that converts HTML, Markdown, and Office documents to PDF using engines like Chromium and LibreOffice, with options to merge and automate outputs.




