Self-hostable alternative to Google Location History (Google Maps Timeline)
Find a file
2024-04-04 20:14:11 +02:00
.github Update ruby version to 3.2.3 2024-03-15 22:24:23 +01:00
app Add callback to create API key for new users 2024-04-04 20:14:11 +02:00
bin Add import-maps and turbo with some devise views 2023-10-21 12:52:50 +02:00
config Add callback to create API key for new users 2024-04-04 20:14:11 +02:00
db Add callback to create API key for new users 2024-04-04 20:14:11 +02:00
lib Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04: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 Add screenshots to README.md 2024-03-24 21:07:32 +01:00
spec Add callback to create API key for new users 2024-04-04 20:14:11 +02:00
storage Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04: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 Implement leaflet map with points and polyline 2024-03-16 01:07:20 +01: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 basic landing page 2023-10-21 13:00:05 +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 Move point creation to a background job, add months navigation to the sidebar 2024-04-02 17:37:38 +02:00
.ruby-version Update ruby version to 3.2.3 2024-03-15 22:24:23 +01:00
app.json Add strong_migrations gem 2023-02-03 15:42:56 +01:00
config.ru Add some frozen_string_literal 2022-10-30 18:42:06 +01:00
dev-docker-entrypoint.sh Update the docker-compose.yml file to use the dawarich network 2024-03-15 23:45:48 +01:00
docker-compose.yml Fix google import and add stats for countries and cities visited and distance traveled by year 2024-03-28 15:11:59 +01:00
Dockerfile Fix google import and add stats for countries and cities visited and distance traveled by year 2024-03-28 15:11:59 +01:00
Dockerfile.dev Update ruby version to 3.2.3 2024-03-15 22:24:23 +01:00
Gemfile Add test for ExportSerializer 2024-04-04 17:43:35 +02:00
Gemfile.lock Add test for ExportSerializer 2024-04-04 17:43:35 +02:00
Makefile Fix google import and add stats for countries and cities visited and distance traveled by year 2024-03-28 15:11:59 +01: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 Add strong_migrations gem 2023-02-03 15:42:56 +01:00
Procfile.dev Move point creation to a background job, add months navigation to the sidebar 2024-04-02 17:37:38 +02:00
Rakefile Add some frozen_string_literal 2022-10-30 18:42:06 +01:00
README.md Fix google import and add stats for countries and cities visited and distance traveled by year 2024-03-28 15:11:59 +01:00
rename_app.rb Add some frozen_string_literal 2022-10-30 18:42:06 +01:00
test-docker-entrypoint.sh Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04:00
yarn.lock Implement leaflet map with points and polyline 2024-03-16 01:07:20 +01:00

Dawarich

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.

Usage

To track your location, install the Owntracks app on your phone and configure it to send location updates to your Dawarich instance. Currently, the app only supports HTTP mode. The url to send the location updates to is http://<your-dawarich-instance>/api/v1/points.

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

Features

Location history

You can view your location history on a map.

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

MINIMUM_POINTS_IN_CITY — minimum number of points in a city to consider it as a city visited, eg. 10

MAP_CENTER — default map center, e.g. 55.7558,37.6176

TIME_ZONE — time zone, e.g. Europe/Berlin

Screenshots

Map

Stats

Import