Favicon of Dawarich

Dawarich

Automatically record your location history to create beautiful maps, trips, and stats. Relive your travels with photos and notes, all with complete privacy.

See your life's journey unfold on a personal, interactive map. This platform automatically records where you go and transforms your location history into a rich, visual diary. It's designed for anyone who wants to remember their travels and understand their habits, all while maintaining complete control over their data.

Whether you import years of history from Google Takeout or track in real-time with a compatible app like OwnTracks, you can visualize your entire history. Key features include:

  • Interactive Maps: Zoom from a global view of your travels down to a single street you visited years ago.
  • Automatic Trip Creation: Define a date range, and the tool automatically builds a detailed map of your trip with routes and distances.
  • Detailed Statistics: Discover your most-visited cities and countries, total distance traveled, and other interesting patterns.
  • Photo Integration: Connect with tools like Immich or PhotoPrism to see your photos placed on the map where you took them.

As an open-source platform, you have the choice to use the managed cloud service or self-host for free. Your location data is always encrypted and is never shared, ensuring your memories remain yours alone.

Directory Structure

dawarich
pg_data
public
redis_data
.env
docker-compose.yml

docker-compose.yml

services:
  db:
    image: postgres:14.2-alpine
    restart: always
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: dawarich_production
    volumes:
      - ./pg_data:/var/lib/postgresql/data

  redis:
    image: redis:7.0-alpine
    restart: always
    command: redis-server --appendonly yes
    volumes:
      - ./redis_data:/data

  web:
    image: freikin/dawarich:latest
    restart: always
    ports:
      - "3000:3000"
    environment:
      - DATABASE_HOST=db
      - DATABASE_PORT=5432
      - DATABASE_USERNAME=postgres
      - DATABASE_PASSWORD=${POSTGRES_PASSWORD}
      - DATABASE_NAME=dawarich_production
      - REDIS_URL=redis://redis:6379/0
      - SECRET_KEY_BASE=${SECRET_KEY_BASE}
      - APPLICATION_HOST=localhost
      - TIME_ZONE=UTC
    volumes:
      - ./public:/app/public
    depends_on:
      - db
      - redis

  sidekiq:
    image: freikin/dawarich:latest
    restart: always
    command: bundle exec sidekiq
    environment:
      - DATABASE_HOST=db
      - DATABASE_PORT=5432
      - DATABASE_USERNAME=postgres
      - DATABASE_PASSWORD=${POSTGRES_PASSWORD}
      - DATABASE_NAME=dawarich_production
      - REDIS_URL=redis://redis:6379/0
      - SECRET_KEY_BASE=${SECRET_KEY_BASE}
      - APPLICATION_HOST=localhost
      - TIME_ZONE=UTC
    volumes:
      - ./public:/app/public
    depends_on:
      - db
      - redis

.env

# PostgreSQL Database Password
POSTGRES_PASSWORD=your_super_secret_postgres_password

# Rails Secret Key Base (Generate a random 64-character hex string, e.g., using `openssl rand -hex 64`)
SECRET_KEY_BASE=your_super_secret_key_base_string
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Dawarich

Favicon

 

  
  
Favicon

 

  
  
Favicon