Self-hostable alternative to Google Location History (Google Maps Timeline)
Find a file
Eugene Burmakin e2dd6940de
Merge pull request #14 from Freika/dependabot/bundler/devise-4.9.4
Bump devise from 4.9.3 to 4.9.4
2024-04-17 22:10:46 +02:00
.github Remove the permit list from the controller 2024-04-07 22:36:39 +02:00
app Move js spaghetti to a tiny bit more structured codebase 2024-04-17 22:00:23 +02:00
bin Add import-maps and turbo with some devise views 2023-10-21 12:52:50 +02:00
config Add support for Overland 2024-04-06 19:09:38 +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 Move import job scheduling to controller from model callback 2024-04-06 22:31:33 +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
.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 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 Fix bundler not found problem 2024-04-04 23:12:32 +02:00
CHANGELOG.md Update changelog 2024-04-17 22:04:42 +02:00
config.ru Add some frozen_string_literal 2022-10-30 18:42:06 +01:00
dev-docker-entrypoint.sh Add changelog, version badge, and APPLICATION_HOST environment variable 2024-04-05 22:20:12 +02:00
dev-docker-sidekiq-entrypoint.sh Fix bundler not found problem 2024-04-04 23:12:32 +02:00
docker-compose.yml Remove the test-docker-entrypoint.sh script and references to it in the Dockerfile 2024-04-06 22:36:08 +02:00
Dockerfile Remove the test-docker-entrypoint.sh script and references to it in the Dockerfile 2024-04-06 22:36:08 +02:00
Dockerfile.dev Update gems and bundler version 2024-04-04 20:23:17 +02:00
Gemfile Add test for ExportSerializer 2024-04-04 17:43:35 +02:00
Gemfile.lock Bump devise from 4.9.3 to 4.9.4 2024-04-15 14:14:42 +00:00
LICENSE Create LICENSE 2024-04-08 03:11:23 +04:00
Makefile Remove the permit list from the controller 2024-04-07 22:36:39 +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 github stars history chart to README.md 2024-04-08 01:14:18 +02: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.

You can find changelog here.

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 Tracking

You can track your location using the Owntracks app.

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`
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