Hi r/opensource!
I'm Evgenii, Ruby on Rails developer with ~14 years of experience. I develop and maintain Dawarich, a free, open-source (AGPL-3.0), self hostable alternative to Google Timeline. I'm working on the project for the past 2.5 years and I mostly post updates to r/selfhosted, but I've never properly introduced the project here, so here it goes.
GitHub: https://github.com/Freika/dawarich
I'd insert couple of pictures here top get your attention, but the sub doesn't allow images, so you'll have to visit the github repo page and check out the readme to get a glimpse of the UI.
What it is
Dawarich keeps your location history on your own server and shows it to you: where you've been on a given day, and when you've been to a given place. It started in ~March 2024 as a weekend thing after Google announced it was moving Timeline off the web and onto your phone. I tried using OwnTracks for a while, but it wasn't for me: geodata contains lots of insights, and OwnTracks only surfaced data on the map. So I decided to build something of my own.
How data gets in
I needed to continue tracking my movements, so I had two requirements: the tool must accept live data from OwnTracks client (later I discovered Overland for iPhone which served a lot better, and about a year ago my friend joined me to develop our own mobile apps) and be able to import my existing data from Google Takeout and OwnTracks export. Later on I added support for GPX, GeoJSON, KML/KMZ, Polarsteps and Foursquare Swarm formats.
Dawarich also can be used with about half-dozen of 3rd party open source mobile clients: I already mentioned OwnTracks and Overland, and now you can use GPSLogger, Colota, Traccar and HomeAssistant, too.
Everything can be exported from Dawarich, so data portability is there.
What you can do with it
- Map and timeline of your history, trips with photos pulled from your Immich or PhotoPrism instance
- Places with visit detection, and geofencing webhooks on enter/leave (Home Assistant, Node-RED, n8n or anything else)
- Location sharing with family members on the same instance, privacy first (nothing gets shared without explicit action to do so), think: Life360 alternative
- Stats, insights and achievements system
- Posters and video replays generation built in
- Privacy zones, so you can share a map or record a video without doxxing your home
Tech stack
Rails, PostgreSQL + PostGIS, Sidekiq, Redis, MapLibre. It runs as 3 Docker containers and idles at around 230 MB of RAM.
Open Source Nuances
The main page of Dawarich website might get you a bit confused, because we also offer a hosted version for those who don't want to fiddle with tech stuff, but have no worries: Dawarich is and will remain free, open source and selfhostable. The hosted version helps us finance development. The official mobile apps are separate and not open source. If you want a fully auditable setup end to end, self-hosted Dawarich + OwnTracks/Overland/Traccar covers it.
Since the first commit it's grown into something way bigger than I expected: ~11K stars and more than 6000 self-hosted instances.
Contributions are welcome. New languages are especially appreciated: we now support English, German, Spanish, Catalan, Simplified Chinese, Polish, French and Portugal and looking forward to add more.
Hope you find our project useful!
The github link one more time, to save you a scroll: https://github.com/Freika/dawarich
Cheers!