Self-hostable alternative to Google Location History (Google Maps Timeline)
Find a file
2024-06-07 21:22:57 +02:00
.github Create FUNDING.yml 2024-05-05 14:15:40 +04:00
app Use Stat's toponyms to calculate the number of countries and cities visited in a month 2024-06-07 21:22:57 +02:00
bin Add import-maps and turbo with some devise views 2023-10-21 12:52:50 +02:00
config Add favicon and allow setting concurrency via BACKGROUND_PROCESSING_CONCURRENCY 2024-06-07 19:22:39 +02:00
db Add link to api rocs 2024-05-25 14:44:32 +02:00
lib Add a rake task to import large files from Google Takeout 2024-05-23 20:35:31 +02:00
log Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04:00
public Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04:00
screenshots Update screenshots 2024-05-05 12:26:04 +02:00
spec Use Stat's toponyms to calculate the number of countries and cities visited in a month 2024-06-07 21:22:57 +02:00
storage Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04:00
swagger/v1 Use Stat's toponyms to calculate the number of countries and cities visited in a month 2024-06-07 21:22:57 +02:00
test Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04:00
tmp Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04:00
vendor Add a heatmap layer to the map to show the density of points 2024-05-25 22:14:55 +02:00
.app_version Update version to 0.5.0 2024-05-31 20:29:15 +02:00
.dockerignore Fix bundler not found problem 2024-04-04 23:12:32 +02:00
.env.development Move import processing to background job & allow to disable reverse geocoding 2024-03-24 18:05:39 +01:00
.env.template Migrate from old template 2024-03-15 23:27:31 +01:00
.env.test Move import processing to background job & allow to disable reverse geocoding 2024-03-24 18:05:39 +01:00
.gitattributes Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04:00
.gitignore Add precompiled tailwind.css 2024-04-18 09:40:17 +02:00
.rspec Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04:00
.rubocop.yml Add swagger along with api/v1/points swagger doc 2024-05-18 13:35:48 +02:00
.ruby-version Update ruby version to 3.2.3 2024-03-15 22:24:23 +01:00
app.json Fix bundler not found problem 2024-04-04 23:12:32 +02:00
CHANGELOG.md Add favicon and allow setting concurrency via BACKGROUND_PROCESSING_CONCURRENCY 2024-06-07 19:22:39 +02:00
config.ru Add some frozen_string_literal 2022-10-30 18:42:06 +01:00
dev-docker-entrypoint.sh Scope points to a user 2024-05-25 13:26:56 +02:00
dev-docker-sidekiq-entrypoint.sh Fix bundler not found problem 2024-04-04 23:12:32 +02:00
docker-compose.yml Add favicon and allow setting concurrency via BACKGROUND_PROCESSING_CONCURRENCY 2024-06-07 19:22:39 +02:00
Dockerfile Update to Bundler 2.5.9 2024-04-17 22:34:10 +02:00
Dockerfile.dev Update to Bundler 2.5.9 2024-04-17 22:34:10 +02:00
Gemfile Scope points to a user 2024-05-25 13:26:56 +02:00
Gemfile.lock Merge pull request #47 from Freika/dependabot/bundler/webmock-3.23.1 2024-05-27 22:36:11 +02:00
LICENSE Create LICENSE 2024-04-08 03:11:23 +04:00
Makefile Update to Bundler 2.5.9 2024-04-17 22:34:10 +02:00
package-lock.json Implement leaflet map with points and polyline 2024-03-16 01:07:20 +01:00
package.json Implement leaflet map with points and polyline 2024-03-16 01:07:20 +01:00
Procfile Fix bundler not found problem 2024-04-04 23:12:32 +02:00
Procfile.dev Fix bundler not found problem 2024-04-04 23:12:32 +02:00
Rakefile Add some frozen_string_literal 2022-10-30 18:42:06 +01:00
README.md Add favicon and allow setting concurrency via BACKGROUND_PROCESSING_CONCURRENCY 2024-06-07 19:22:39 +02:00
yarn.lock Implement leaflet map with points and polyline 2024-03-16 01:07:20 +01:00

Dawarich

Discord | ko-fi

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.

Usage

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.

OwnTracks

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.

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.

To import your Google Maps Timeline data, download your location history from Google Takeout and upload it to Dawarich.

How-to's

Features

Location Tracking

You can track your location using the Owntracks or Overland app.

Location history

You can view your location history on a map. On the map you can enable/disable the following layers:

  • Heatmap
  • Points
  • Lines between points

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

You can import your Google Maps Timeline data into Dawarich as well as Owntracks data.

How to start the app locally

docker-compose up to start the app. The app will be available at http://localhost:3000.

Press Ctrl+C to stop the app.

How to deploy the app

Copy the contents of the docker-compose.yml file to your server and run docker-compose up.

Environment variables

MIN_MINUTES_SPENT_IN_CITY — minimum minutes between two points to consider them as visited the same city, e.g. `60`
MAP_CENTER — default map center, e.g. `55.7558,37.6176`
TIME_ZONE — time zone, e.g. `Europe/Berlin`
APPLICATION_HOST — host of the application, e.g. `localhost` or `dawarich.example.com`

Screenshots

Map

Stats

Import

Star History

As you could probably guess, I like statistics.

Star History Chart