2024-03-15 17:28:54 -04:00
# Dawarich
2022-04-06 14:46:10 -04:00
2024-06-10 17:00:12 -04:00
2024-07-10 14:57:57 -04:00
[](https://discord.gg/pHsBjpt5J8) | [](https://ko-fi.com/H2H3IDYDD) | [](https://www.patreon.com/freika)
2024-06-10 17:00:12 -04:00
2024-06-10 13:08:27 -04:00
## Screenshots



2024-03-28 10:11:59 -04:00
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.
2022-04-06 14:46:10 -04:00
2024-04-05 16:20:12 -04:00
You can find changelog [here ](CHANGELOG.md ).
2024-06-15 06:15:58 -04:00
## Disclaimer
2024-06-15 14:12:47 -04:00
2024-06-15 14:13:44 -04:00
⚠️ The project is under very active development.
⚠️ Expect bugs and breaking changes.
⚠️ Do not delete your original Google Maps
Timeline data after importing it to Dawarich.
⚠️ Export your data from Dawarich using built-in
export functionality before updating to a new version.
⚠️ Try to keep Dawarich up-to-date to have the latest features and bug fixes.
2024-06-15 06:15:58 -04:00
2024-03-24 15:33:49 -04:00
## Usage
2024-05-25 15:22:34 -04:00
To track your location, install the [Owntracks app ](https://owntracks.org/booklet/guide/apps/ ) or [Overland app ](https://overland.p3k.app/ ) on your phone and configure it to send location updates to your Dawarich instance.
### OwnTracks
The url to send the location updates to is `http://<your-dawarich-instance>/api/v1/owntracks/points?api_key=YOUR_API_KEY` .
2024-06-07 13:22:39 -04:00
Currently, the app only supports [HTTP mode ](https://owntracks.org/booklet/tech/http/ ) of OwnTracks.
2024-05-25 15:22:34 -04:00
### Overland
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.
2024-03-24 15:33:49 -04:00
To import your Google Maps Timeline data, download your location history from [Google Takeout ](https://takeout.google.com/ ) and upload it to Dawarich.
2024-05-23 16:32:01 -04:00
## How-to's
2024-07-05 18:30:15 -04:00
- [How to set up reverse proxy ](docs/how_to_setup_reverse_proxy.md )
2024-05-23 16:32:01 -04:00
- [How to import Google Takeout to Dawarich ](https://github.com/Freika/dawarich/wiki/How-to-import-your-Google-Takeout-data )
2024-07-11 15:25:48 -04:00
- [How to import Google Semantic History to Dawarich ](https://github.com/Freika/dawarich/wiki/How-to-import-your-Google-Semantic-History-data )
- [How to import Google Maps Timeline Data to Dawarich ](https://github.com/Freika/dawarich/wiki/How-to-import-your-Google-Maps-Timeline-data )
2024-05-31 14:27:03 -04:00
- [How to track your location to Dawarich with Overland ](https://github.com/Freika/dawarich/wiki/How-to-track-your-location-to-Dawarich-with-Overland )
- [How to track your location to Dawarich with OwnTracks ](https://github.com/Freika/dawarich/wiki/How-to-track-your-location-to-Dawarich-with-OwnTracks )
- [How to export your data from Dawarich ](https://github.com/Freika/dawarich/wiki/How-to-export-your-data-from-Dawarich )
2024-05-18 06:51:25 -04:00
2024-06-30 07:27:28 -04:00
More guides can be found in the [Wiki ](https://github.com/Freika/dawarich/wiki#how-tos )
2024-03-15 18:27:31 -04:00
## Features
2022-04-06 14:46:10 -04:00
2024-04-05 16:20:12 -04:00
### Location Tracking
2024-05-25 15:22:34 -04:00
You can track your location using the Owntracks or Overland app.
2024-04-05 16:20:12 -04:00
2024-03-15 18:27:31 -04:00
### Location history
2022-04-06 14:46:10 -04:00
2024-05-25 16:14:55 -04:00
You can view your location history on a map. On the map you can enable/disable the following layers:
- Heatmap
- Points
- Lines between points
2022-04-06 14:46:10 -04:00
2024-03-28 10:11:59 -04:00
### Statistics
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.
### Import
2024-06-30 14:53:06 -04:00
You can import your existing location history from:
- Google Maps Timeline
- OwnTracks
- Strava
- Your own GPX files
- Your photos' EXIF data
2024-03-28 10:11:59 -04:00
2022-04-06 14:46:10 -04:00
## How to start the app locally
2024-03-24 15:33:49 -04:00
`docker-compose up` to start the app. The app will be available at `http://localhost:3000` .
2022-04-06 14:46:10 -04:00
Press `Ctrl+C` to stop the app.
2024-06-25 08:17:20 -04:00
## How to install the app
2023-05-28 06:52:13 -04:00
2024-06-30 07:27:28 -04:00
**[Docker](docs/How_to_install_Dawarich_using_Docker.md)**
2024-03-15 18:27:31 -04:00
2024-06-30 07:27:28 -04:00
**[Synology](docs/How_to_install_Dawarich_on_Synology.md)**
2024-03-23 15:40:05 -04:00
2024-06-30 10:24:25 -04:00
### Default credentials
- **Username**: `user@domain.com`
- **Password**: `password`
Feel free to change them both in the Account section.
2024-06-25 08:17:20 -04:00
## Environment variables
2024-06-08 16:39:28 -04:00
2024-06-25 08:17:20 -04:00
| 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 ](https://github.com/Freika/dawarich/issues/27#issuecomment-2094721396 ) |
2024-07-12 16:02:50 -04:00
| APPLICATION_HOSTS | list of host of the application, e.g. `localhost,dawarich.example.com` |
2024-06-25 08:17:20 -04:00
| BACKGROUND_PROCESSING_CONCURRENCY (only for dawarich_sidekiq service) | Number of simultaneously processed background jobs, default is 10 |
2024-07-13 04:39:30 -04:00
| REVERSE_GEOCODING_ENABLED | `true` or `false` , this env var allows you to disable reverse geocoding feature entirely |
2024-03-24 16:07:32 -04:00
2024-04-07 19:14:18 -04:00
## Star History
As you could probably guess, I like statistics.
< a href = "https://star-history.com/#Freika/dawarich&Date" >
< picture >
< source media = "(prefers-color-scheme: dark)" srcset = "https://api.star-history.com/svg?repos=Freika/dawarich&type=Date&theme=dark" / >
< source media = "(prefers-color-scheme: light)" srcset = "https://api.star-history.com/svg?repos=Freika/dawarich&type=Date" / >
< img alt = "Star History Chart" src = "https://api.star-history.com/svg?repos=Freika/dawarich&type=Date" / >
< / picture >
< / a >