dawarich/README.md

172 lines
6.4 KiB
Markdown
Raw Permalink Normal View History

2025-08-19 15:27:34 -04:00
# 🌍 Dawarich: Your Self-Hostable Location History Tracker
2024-06-10 17:00:12 -04:00
2024-09-08 09:09:08 -04:00
[![Discord](https://dcbadge.limes.pink/api/server/pHsBjpt5J8)](https://discord.gg/pHsBjpt5J8) | [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/H2H3IDYDD) | [![Patreon](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dfreika%26type%3Dpatrons&style=for-the-badge)](https://www.patreon.com/freika)
2024-08-20 16:56:42 -04:00
2024-10-17 05:32:36 -04:00
---
## 📸 Screenshots
2024-06-10 13:08:27 -04:00
2025-10-26 05:54:18 -04:00
![Map](screenshots/map.png)
2024-10-17 05:32:36 -04:00
*Map View*
2024-06-10 13:08:27 -04:00
2025-10-26 05:54:18 -04:00
![Family](screenshots/family.png)
*Family Page*
![Stats](screenshots/stats.png)
2024-10-17 05:32:36 -04:00
*Statistics Overview*
2024-06-10 13:08:27 -04:00
2025-10-26 05:54:18 -04:00
![Trips](screenshots/trips.png)
*Trips page*
2024-06-10 13:08:27 -04:00
2024-10-17 05:32:36 -04:00
---
2024-06-15 06:15:58 -04:00
2024-10-17 05:32:36 -04:00
## 🗺️ About Dawarich
2024-03-24 15:33:49 -04:00
2025-08-19 15:27:34 -04:00
If you're looking for Dawarich Cloud, where everything is managed for you, check out [Dawarich Cloud](https://dawarich.app).
**Dawarich** is a self-hostable web app designed to replace Google Timeline (aka Google Location History).
It enables you to:
- Track your location history.
2024-10-17 05:32:36 -04:00
- Visualize your data on an interactive map.
2025-10-26 05:54:18 -04:00
- Create trips and analyze your travel history.
- Share your location with family members.
- Integrate with photo management apps like Immich and Photoprism to visualize geotagged photos.
2025-08-19 15:27:34 -04:00
- Import your location history from Google Maps Timeline, OwnTracks, GPX, GeoJSON and some other sources
2024-10-17 05:32:36 -04:00
- Explore statistics like the number of countries and cities visited, total distance traveled, and more!
2024-10-17 05:32:36 -04:00
📄 **Changelog**: Find the latest updates [here](CHANGELOG.md).
2025-02-11 14:45:36 -05:00
2025-01-29 05:43:02 -05:00
👩‍💻 **Contribute**: See [CONTRIBUTING.md](CONTRIBUTING.md) for how to contribute to Dawarich.
2024-10-17 05:32:36 -04:00
---
2024-05-25 15:22:34 -04:00
2024-10-17 05:32:36 -04:00
## ⚠️ Disclaimer
2024-05-25 15:22:34 -04:00
2024-12-20 10:51:41 -05:00
- 💔 **DO NOT UPDATE AUTOMATICALLY**: Read release notes before updating. Automatic updates may break your setup.
2024-10-17 05:32:36 -04:00
- 🛠️ **Under active development**: Expect frequent updates, bugs, and breaking changes.
-**Do not delete your original data** after importing into Dawarich.
- 📦 **Backup before updates**: Always [backup your data](https://dawarich.app/docs/tutorials/backup-and-restore) before upgrading.
- 🔄 **Stay up-to-date**: Make sure you're running the latest version for the best experience.
2025-06-09 14:09:03 -04:00
- ⚠️ **DO NOT USE PRODUCTION ENVIRONMENT**: Dawarich is not yet ready for production.
2024-05-25 15:22:34 -04:00
2024-10-17 05:32:36 -04:00
---
2024-10-17 05:32:36 -04:00
## 🧭 Supported Location Tracking
2024-05-25 15:22:34 -04:00
2024-10-17 05:32:36 -04:00
You can track your location with the following apps:
2024-05-25 15:22:34 -04:00
2025-05-08 10:24:54 -04:00
- 💫 [Dawarich for iOS](https://dawarich.app/docs/dawarich-for-ios/)
2024-10-17 05:32:36 -04:00
- 🌍 [Overland](https://dawarich.app/docs/tutorials/track-your-location#overland)
- 🛰️ [OwnTracks](https://dawarich.app/docs/tutorials/track-your-location#owntracks)
- 🗺️ [GPSLogger](https://dawarich.app/docs/tutorials/track-your-location#gps-logger)
2025-05-22 18:06:05 -04:00
- 📱 [PhoneTrack](https://dawarich.app/docs/tutorials/track-your-location#phonetrack)
2025-06-05 15:12:28 -04:00
- 🏡 [Home Assistant](https://dawarich.app/docs/tutorials/track-your-location#home-assistant)
2024-03-24 15:33:49 -04:00
2024-10-17 05:32:36 -04:00
Simply install one of the supported apps on your device and configure it to send location updates to your Dawarich instance.
2024-03-24 15:33:49 -04:00
2024-10-17 05:32:36 -04:00
---
2024-05-23 16:32:01 -04:00
2024-10-17 05:32:36 -04:00
## 🚀 How to Start Dawarich Locally
2024-08-20 16:39:00 -04:00
2024-10-17 05:32:36 -04:00
1. Clone the repository.
2. Run the following command to start the app:
```bash
0.36.2 (#2007) * fix: move foreman to global gems to fix startup crash (#1971) * Update exporting code to stream points data to file in batches to red… (#1980) * Update exporting code to stream points data to file in batches to reduce memory usage * Update changelog * Update changelog * Feature/maplibre frontend (#1953) * Add a plan to use MapLibre GL JS for the frontend map rendering, replacing Leaflet * Implement phase 1 * Phases 1-3 + part of 4 * Fix e2e tests * Phase 6 * Implement fog of war * Phase 7 * Next step: fix specs, phase 7 done * Use our own map tiles * Extract v2 map logic to separate manager classes * Update settings panel on v2 map * Update v2 e2e tests structure * Reimplement location search in maps v2 * Update speed routes * Implement visits and places creation in v2 * Fix last failing test * Implement visits merging * Fix a routes e2e test and simplify the routes layer styling. * Extract js to modules from maps_v2_controller.js * Implement area creation * Fix spec problem * Fix some e2e tests * Implement live mode in v2 map * Update icons and panel * Extract some styles * Remove unused file * Start adding dark theme to popups on MapLibre maps * Make popups respect dark theme * Move v2 maps to maplibre namespace * Update v2 references to maplibre * Put place, area and visit info into side panel * Update API to use safe settings config method * Fix specs * Fix method name to config in SafeSettings and update usages accordingly * Add missing public files * Add handling for real time points * Fix remembering enabled/disabled layers of the v2 map * Fix lots of e2e tests * Add settings to select map version * Use maps/v2 as main path for MapLibre maps * Update routing * Update live mode * Update maplibre controller * Update changelog * Remove some console.log statements --------- Co-authored-by: Robin Tuszik <mail@robin.gg>
2025-12-06 14:54:49 -05:00
docker compose -f docker/docker-compose.yml up
2024-10-17 05:32:36 -04:00
```
3. Access the app at `http://localhost:3000`.
2024-06-30 07:27:28 -04:00
2024-10-17 05:32:36 -04:00
⏹️ **To stop the app**, press `Ctrl+C`.
2025-11-07 17:42:21 -05:00
You can use default values or create a `.env` file based on `.env.example` to customize your setup.
2024-10-17 05:32:36 -04:00
---
2024-10-17 05:32:36 -04:00
## 🔧 How to Install Dawarich
2024-10-17 05:33:24 -04:00
- **[Docker Setup](https://dawarich.app/docs/intro#setup-your-dawarich-instance)**
2024-10-17 05:32:36 -04:00
- **[Synology](https://dawarich.app/docs/tutorials/platforms/synology)**
2024-10-17 05:32:36 -04:00
🆕 **Default Credentials**
2024-11-29 09:50:04 -05:00
- **Username**: `demo@dawarich.app`
2024-10-17 05:32:36 -04:00
- **Password**: `password`
2025-05-08 10:24:54 -04:00
Feel free to change them in the account settings.
2024-10-17 05:32:36 -04:00
---
2024-10-17 05:32:36 -04:00
## 📊 Features
2024-10-17 05:32:36 -04:00
### 🔍 Location Tracking
- Track your live location using one of the [supported apps](#-supported-location-tracking).
2024-06-30 14:53:06 -04:00
2024-10-17 05:32:36 -04:00
### 🗺️ Location History Visualization
- View your historical data on a map with customizable layers:
- Heatmap
- Points
- Lines between points
- Fog of War
2025-10-26 05:54:18 -04:00
### 👪 Family Sharing
- Share your location with family members.
- View locations of family members on the map (with their consent).
- Each family member can enable or disable location sharing individually.
2024-10-17 05:32:36 -04:00
### 🔵 Areas
- Draw areas on the map so Dawarich could suggest your visits there.
2024-09-08 09:09:08 -04:00
2024-10-17 05:32:36 -04:00
### 📍 Visits (Beta)
- Dawarich can suggest places you've visited and allow you to confirm or reject them.
2024-09-08 09:09:08 -04:00
2024-10-17 05:32:36 -04:00
### 📊 Statistics
- Analyze your travel history: number of countries/cities visited, distance traveled, and time spent, broken down by year and month.
2025-05-08 10:24:54 -04:00
### ✈️ Trips
- Create a trip to visualize your travels between two points in time. You'll be able to see the route, distance, and time spent, and also add notes to your trip. If you have Immich or Photoprism integration, you'll also be able to see photos from your trips!
2024-12-03 10:32:45 -05:00
### 📸 Integrations
- Provide credentials for Immich or Photoprism (or both!) and Dawarich will automatically import geodata from your photos.
- You'll also be able to visualize your photos on the map!
2024-10-17 05:32:36 -04:00
### 📥 Import Your Data
- Import from various sources:
- Google Maps Timeline
- OwnTracks
- Strava
- Immich
- GPX/GeoJSON files
- Photos EXIF data
2024-10-17 05:32:36 -04:00
### 📤 Export Your Data
- Export your data to GeoJSON or GPX formats.
2024-10-17 05:32:36 -04:00
---
2023-05-28 06:52:13 -04:00
2024-10-17 05:32:36 -04:00
## 📚 Guides and Tutorials
2024-03-15 18:27:31 -04:00
2024-10-17 05:32:36 -04:00
- [Set up Reverse Proxy](https://dawarich.app/docs/tutorials/reverse-proxy)
- [Import Google Takeout](https://dawarich.app/docs/tutorials/import-existing-data#sources-of-data)
- [Track Location with Overland](https://dawarich.app/docs/tutorials/track-your-location#overland)
- [Track Location with OwnTracks](https://dawarich.app/docs/tutorials/track-your-location#owntracks)
- [Export Your Data](https://dawarich.app/docs/tutorials/export-your-data)
2024-10-17 05:32:36 -04:00
🛠️ More guides available in the [Docs](https://dawarich.app/docs/intro).
2024-06-30 10:24:25 -04:00
2024-10-17 05:32:36 -04:00
---
2024-06-30 10:24:25 -04:00
2024-10-17 05:32:36 -04:00
## 🛠️ Environment Variables
2024-06-30 10:24:25 -04:00
2024-10-17 05:32:36 -04:00
Check the documentation on the [website](https://dawarich.app/docs/environment-variables-and-settings) for detailed information about environment variables and settings.
2024-06-08 16:39:28 -04:00
2024-10-17 05:32:36 -04:00
---
2024-03-24 16:07:32 -04:00
2024-10-17 05:32:36 -04:00
## 💫 Star History
As you could probably guess, I like statistics.
<a href="https://star-history.com/#Freika/dawarich&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Freika/dawarich&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Freika/dawarich&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Freika/dawarich&type=Date" />
</picture>
</a>