# NOMAD **Navigation Organizer for Maps, Activities & Destinations** A self-hosted, real-time collaborative travel planner for organizing trips with interactive maps, budgets, packing lists, and more. [![License: AGPL v3](https://img.shields.io/badge/License-AGPL_v3-blue.svg)](LICENSE) [![Docker Pulls](https://img.shields.io/docker/pulls/mauriceboe/nomad)](https://hub.docker.com/r/mauriceboe/nomad) [![GitHub Stars](https://img.shields.io/github/stars/mauriceboe/NOMAD)](https://github.com/mauriceboe/NOMAD) [![Last Commit](https://img.shields.io/github/last-commit/mauriceboe/NOMAD)](https://github.com/mauriceboe/NOMAD/commits) ## Features - **Real-Time Collaboration** — Plan together via WebSocket live sync — changes appear instantly across all connected users - **Interactive Map** — Leaflet map with marker clustering, route visualization, and customizable tile sources - **Google Places Integration** — Search places, auto-fill details including ratings, reviews, opening hours, and photos (requires API key) - **Drag & Drop Planner** — Organize places into day plans with reordering and cross-day moves - **Weather Forecasts** — Current weather and 5-day forecasts with smart caching (requires API key) - **Budget Tracking** — Category-based expenses with pie chart, per-person/per-day splitting, and multi-currency support - **Packing Lists** — Categorized checklists with progress tracking, color coding, and smart suggestions - **Reservations & Bookings** — Track flights, hotels, restaurants with status, confirmation numbers, and file attachments - **Document Manager** — Attach documents, tickets, and PDFs to trips, places, or reservations (up to 50 MB per file) - **PDF Export** — Export complete trip plans as PDF with images and notes - **Multi-User** — Invite members to collaborate on shared trips with role-based access - **Admin Panel** — User management, create users, global categories, API key configuration, and backups - **Auto-Backups** — Scheduled backups with configurable interval and retention - **Route Optimization** — Auto-optimize place order and export to Google Maps - **Day Notes** — Add timestamped notes to individual days - **Dark Mode** — Full light and dark theme support - **Multilingual** — English and German (i18n) - **Mobile Friendly** — Responsive design with touch-optimized controls - **Customizable** — Temperature units, time format (12h/24h), map tile sources, default coordinates ## Tech Stack - **Backend**: Node.js 22 + Express + SQLite (`node:sqlite`) - **Frontend**: React 18 + Vite + Tailwind CSS - **Real-Time**: WebSocket (`ws`) - **State**: Zustand - **Auth**: JWT - **Maps**: Leaflet + react-leaflet-cluster + Google Places API (optional) - **Weather**: OpenWeatherMap API (optional) - **Icons**: lucide-react ## Quick Start ```bash docker run -d -p 3000:3000 -v ./data:/app/data -v ./uploads:/app/uploads mauriceboe/nomad ``` The app runs on port `3000`. The first user to register becomes the admin.
Docker Compose (recommended for production) ```yaml services: app: image: mauriceboe/nomad:latest container_name: nomad ports: - "3000:3000" environment: - NODE_ENV=production - PORT=3000 volumes: - ./data:/app/data - ./uploads:/app/uploads restart: unless-stopped ``` ```bash docker compose up -d ```
### Updating ```bash docker pull mauriceboe/nomad docker rm -f nomad docker run -d --name nomad -p 3000:3000 -v /your/data:/app/data -v /your/uploads:/app/uploads --restart unless-stopped mauriceboe/nomad ``` Or with Docker Compose: `docker compose pull && docker compose up -d` Your data is persisted in the mounted `data` and `uploads` volumes. ### Reverse Proxy (recommended) For production, put NOMAD behind a reverse proxy with HTTPS (e.g. Nginx, Caddy, Traefik). Example with **Caddy**: ``` nomad.yourdomain.com { reverse_proxy localhost:3000 } ``` ## Optional API Keys API keys are configured in the **Admin Panel** after login. Keys set by the admin are automatically shared with all users — no per-user configuration needed. ### Google Maps (Place Search & Photos) 1. Go to [Google Cloud Console](https://console.cloud.google.com/) 2. Create a project and enable the **Places API (New)** 3. Create an API key under Credentials 4. In NOMAD: Admin Panel → Settings → Google Maps ### OpenWeatherMap (Weather Forecasts) 1. Sign up at [OpenWeatherMap](https://openweathermap.org/api) 2. Get a free API key 3. In NOMAD: Admin Panel → Settings → OpenWeatherMap ## Building from Source ```bash git clone https://github.com/mauriceboe/NOMAD.git cd NOMAD docker build -t nomad . ``` ## Data & Backups - **Database**: SQLite, stored in `./data/travel.db` - **Uploads**: Stored in `./uploads/` - **Backups**: Create and restore via Admin Panel - **Auto-Backups**: Configurable schedule and retention in Admin Panel ## License [AGPL-3.0](LICENSE)