Your favorite self-hostable alternative to Google Timeline (Google Location History)
open sourceAGPL-3.0-onlyself-hostablefreeMCP
Dawarich is a self-hostable location history web app, written in Ruby on Rails, made to replace Google Timeline: it imports Google Maps Timeline (Takeout), OwnTracks, Strava, GPX, GeoJSON and photo EXIF data, and records new points from its own iOS and Android apps or from OwnTracks, Overland, GPSLogger, PhoneTrack and Home Assistant. It draws your history on a map with heatmap, route and Fog of War layers, finds visits, places and trips, counts countries, cities, distance and days spent in each country (for tax residency), shares live location with family members, and shows photos from Immich and PhotoPrism on the map; it also imports trips from TREK, drives from TeslaMate and flights from AirTrail. It has a REST API, signed geofencing webhooks and a read-only MCP server for AI assistants. The code is AGPL-3.0 and free to self-host with every feature; ZeitFlow UG in Berlin also runs Dawarich Cloud, hosted in European data centres, from €59.99 a year.
Ways to install
On your own server
Hosted for you
Problems it solves
- Google moved Timeline off the web and I want my years of location history somewhere I control
- import my Google Takeout location history and see it on a map again
- self-hosted Google Maps Timeline alternative that keeps my location data on my own server
- keep recording where I go every day from my phone without giving the data to Google
- I already use OwnTracks and want a nicer map and history view for the points it sends
- see a heatmap of everywhere I've been over the years
- how many days did I spend in each country this year for my tax residency paperwork
- count the countries and cities I've visited and the distance I've travelled per year
- turn a past holiday into a trip page with the route, distance, notes and my photos from it
- show my geotagged Immich or PhotoPrism photos on a map of where I was
- share my live location with my family without Life360 or Google
- get a Home Assistant or n8n automation to fire when I arrive home or leave work
- ask my AI assistant where I was last Tuesday using my own location history
- look up when I last visited a particular place and how long I stayed
- export my location history as GPX or GeoJSON whenever I want
- a private location history app hosted in Europe under GDPR that I don't have to run myself
- pull my Tesla's drives from TeslaMate into the same map as my phone's location
- track my location offline on hikes and flights and upload the points when I'm back online
- a fog of war map that fills in as I explore new streets and places
- write notes pinned to places and times in my location timeline like a travel diary
Features
- imports Google Maps Timeline (Google Takeout), OwnTracks, Strava, Immich, GPX, GeoJSON, KML/KMZ and photo EXIF data
- official iOS and Android apps with background tracking that keep recording offline and upload later
- also takes points from OwnTracks, Overland, GPSLogger, PhoneTrack and Home Assistant
- map layers: points, routes coloured by speed, heatmap, Fog of War and a 3D globe
- daily replay of where you went
- places with visit radius, suggested visits you confirm or reject, and possible-duplicate merging
- trips between two dates with route, distance, notes and photos; trips around your home found automatically
- statistics by year and month: countries, cities, distance and time spent
- days in each country, for tax residency
- insights, year-in-review digests and achievements
View 13 more
- family location sharing with per-member consent and privacy zones
- map notes that show in the timeline as a diary and as "On this day"
- Immich and PhotoPrism photos on the map and in trips
- imports itineraries from TREK, flights from AirTrail and drives from TeslaMate (TeslaMateApi)
- geofencing with enter and leave events sent to webhooks signed with HMAC-SHA256
- REST API with API keys (points, visits, tracks, places, notes, stats and more)
- read-only MCP server (Streamable HTTP) with get_timeline, get_latest_location and search_visits tools
- export to GeoJSON and GPX, and full account archives
- map poster studio and public share links for timelines and tracks
- reverse geocoding through Photon, Geoapify or Nominatim
- OpenID Connect sign-in (Authentik, Authelia, Keycloak, Entra ID) and two-factor authentication on self-hosted instances
- Prometheus metrics exporter
- runs with Docker Compose on AMD64 or ARM64; Synology, Unraid, UGREEN, Home Assistant and Kubernetes guides
Limitations
- No KML export: location history exports as GeoJSON or GPX, and KML export is only planned56
- Doesn't geotag photos in your phone's gallery: it shows geotagged photos on the map but doesn't write locations back into their EXIF data5
- MCP server is read-only: an AI assistant can read your timeline, visits and latest location but can't add or change data7
- No official Helm chart: Kubernetes installs use an unofficial community chart or plain YAML manifests8
Ways to run it
Dawarich (self-hosted)
Only in this edition
- every Pro feature with no history, API rate or webhook limits
- OpenID Connect single sign-on
You arrange
- a server (AMD64 or ARM64, 2 GB of RAM or more) with Docker and Docker Compose
- PostgreSQL (the bundled Compose file uses a PostGIS image) and Redis
- a reverse geocoding provider (Photon, Geoapify or Nominatim) to name places, cities and countries
- an SMTP server for password resets, digest emails and family invitations
- backups before every update
Dawarich Cloud
Lite €59.99/year; Pro €17.99/month or €119.99/year; Family €239.99/year (up to 5 members); 7-day free trial10
Only in this edition
- hosting in European data centres, encrypted in transit and at rest
- a free white-glove import of your Google Takeout
Not included
- OpenID Connect single sign-on, which only self-hosted instances have12
Capabilities
| Has an API | plan not known |
|---|---|
| Has an MCP server | Dawarich (self-hosted); Pro plan and up, from €119.99/year7 |
| Has single sign-on | Dawarich (self-hosted)12 |
| Sends webhooks | Dawarich (self-hosted); Pro plan and up, from €119.99/year13 |
Alternatives
The same job
These do what Dawarich does.
- Traccar Free and open source GPS tracking software
