mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Self-hostable alternative to Google Location History (Google Maps Timeline)
| .github | ||
| app | ||
| bin | ||
| config | ||
| db | ||
| lib | ||
| log | ||
| public | ||
| spec | ||
| storage | ||
| test | ||
| tmp | ||
| vendor | ||
| .env.development | ||
| .env.template | ||
| .env.test | ||
| .gitattributes | ||
| .gitignore | ||
| .rspec | ||
| .rubocop.yml | ||
| .ruby-version | ||
| app.json | ||
| config.ru | ||
| dev-docker-entrypoint.sh | ||
| docker-compose.yml | ||
| Dockerfile | ||
| Dockerfile.dev | ||
| Gemfile | ||
| Gemfile.lock | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| Procfile | ||
| Procfile.dev | ||
| Rakefile | ||
| README.md | ||
| rename_app.rb | ||
| test-docker-entrypoint.sh | ||
| yarn.lock | ||
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
- Install and start Docker
make buildto build docker image and install all the dependencies (up to 5-10 mins)make setupto install gems, setup database and create test recordsmake startto 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