Geo2Tz provides a straightforward, self-hostable service for converting geographical coordinates into their corresponding IANA timezone. The primary motivation is data privacy, allowing you to process location information without sending sensitive coordinates to third-party services. This mature and stable project offers a reliable solution for any application that needs timezone lookups.
The service is designed for simplicity and control, offering several key features:
GET request to the /tz/{latitude}/{longitude} endpoint.services:
geo2tz:
image: ghcr.io/noandrea/geo2tz:latest
container_name: geo2tz
ports:
- "8080:8080"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080/"]
interval: 30s
timeout: 5s
retries: 3
# geo2tz is a stateless API and does not require any sensitive environment variables or credentials by default.
# If you place this behind a reverse proxy (like Traefik or Nginx Proxy Manager), you can define proxy-related secrets here.
Auto-fetched about 21 hours ago
Auto-fetched about 21 hours ago