Freika / dawarich
- четверг, 5 сентября 2024 г. в 00:00:05
Self-hosted alternative to Google Location History (Google Maps Timeline)
| | | 0x6bAd13667692632f1bF926cA9B421bEe7EaEB8D4
Dawarich is a self-hosted web application to replace Google Timeline (aka Google Location History). It allows you to import your location history from Google Maps Timeline and Owntracks, view it on a map and see some statistics, such as the number of countries and cities visited, and distance traveled.
You can find changelog here.
To track your location, install the Owntracks app or Overland app on your phone and configure it to send location updates to your Dawarich instance.
The url to send the location updates to is http://<your-dawarich-instance>/api/v1/owntracks/points?api_key=YOUR_API_KEY
.
Currently, the app only supports HTTP mode of OwnTracks.
The url to send the location updates to is http://<your-dawarich-instance>/api/v1/overland/batches?api_key=YOUR_API_KEY
.
Your API key can be found and/or generated in the user settings.
To import your Google Maps Timeline data, download your location history from Google Takeout and upload it to Dawarich.
More guides can be found in the Docs
You can track your location using the Owntracks or Overland app.
You can view your location history on a map. On the map you can enable/disable the following layers:
You can see the number of countries and cities visited, the distance traveled, and the time spent in each country, splitted by years and months.
You can import your existing location history from:
docker-compose up
to start the app. The app will be available at http://localhost:3000
.
Press Ctrl+C
to stop the app.
user@domain.com
password
Feel free to change them both in the Account section.
ENV var name | Description |
---|---|
MIN_MINUTES_SPENT_IN_CITY | minimum minutes between two points to consider them as visited the same city, e.g. 60 |
TIME_ZONE | time zone, e.g. Europe/Berlin , full list is here |
APPLICATION_HOSTS | list of host of the application, e.g. localhost,dawarich.example.com |
BACKGROUND_PROCESSING_CONCURRENCY (only for dawarich_sidekiq service) | Number of simultaneously processed background jobs, default is 10 |
REVERSE_GEOCODING_ENABLED | true or false , this env var allows you to disable reverse geocoding feature entirely |
PHOTON_API_HOST | Photon reverse geocoding api host. Useful, if you're running your own Photon instance |
As you could probably guess, I like statistics.