Self-hostable alternative to Google Location History (Google Maps Timeline)
Find a file
2024-03-23 21:17:23 +01:00
.github Update ruby version to 3.2.3 2024-03-15 22:24:23 +01:00
app Move sidebar to points index page 2024-03-23 21:17:23 +01:00
bin Add import-maps and turbo with some devise views 2023-10-21 12:52:50 +02:00
config Add nice statistics 2024-03-23 21:16:11 +01:00
db Add basic stats 2024-03-23 20:29:55 +01: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
spec Add StatCreatingJob to create stats asynchronously 2024-03-23 20:40:05 +01: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 Migrate from old template 2024-03-15 23:27:31 +01:00
.env.template Migrate from old template 2024-03-15 23:27:31 +01:00
.env.test Fix params deep_symbolize_keys in OwnTracks::Params 2024-03-16 00:01:00 +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 Add rubocop-rails 2022-10-30 18:34:17 +01: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 Implement calculation of cities and countries with the number of points and the last timestamp 2024-03-17 17:58:09 +01:00
Dockerfile Add Dockerfile and update docker-compose.yml to use the new Dockerfile 2024-03-15 23:31:06 +01:00
Dockerfile.dev Update ruby version to 3.2.3 2024-03-15 22:24:23 +01:00
Gemfile Fix owntracks import 2024-03-23 13:36:09 +01:00
Gemfile.lock Fix owntracks import 2024-03-23 13:36:09 +01:00
Makefile Add basic stats 2024-03-23 20:29:55 +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 Fix starting issues 2022-04-07 20:45:38 +04:00
Rakefile Add some frozen_string_literal 2022-10-30 18:42:06 +01:00
README.md Add StatCreatingJob to create stats asynchronously 2024-03-23 20:40:05 +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

This is a Rails app that receives location updates from Owntracks and stores them in a database. It also provides a web interface to view the location history.

Features

Google Maps Timeline import

You can import your Google Maps Timeline data into Wardu.

Location history

You can view your location history on a map.

How to start the app locally

  1. Install and start Docker
  2. make build to build docker image and install all the dependencies (up to 5-10 mins)
  3. make setup to install gems, setup database and create test records
  4. make start to start the app

Press Ctrl+C to stop the app.

Dockerized with https://betterprogramming.pub/rails-6-development-with-docker-55437314a1ad

Deployment

make build_and_push version=0.0.5 to build and push the docker image to the registry

Then go to Portainer and update the service to use the new image

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