TREK: Self-Hosted Travel Planner with Real-Time Collab
TREK: Your Self-Hosted Travel Planning Powerhouse
Tired of cloud-based travel apps that lock your trip data behind subscriptions and privacy concerns? TREK delivers everything you love about premium travel planners like Wanderlog β interactive maps, budgets, packing lists, real-time collaboration β but runs entirely on your server.
π One-Command Deployment
ENCRYPTION_KEY=$(openssl rand -hex 32) docker run -d -p 3000:3000 -v ./data:/app/data mauriceboe/trek
That's it. Port 3000, SQLite database, first user becomes admin. Production-ready with Docker Compose, auto-backups, and reverse proxy configs for Nginx/Caddy.
π Feature Highlights
Trip Planning Excellence
- Drag & Drop Itineraries: Reorder places across days with visual timeline
- Interactive Leaflet Maps: Clustering, photo markers, route optimization, custom tiles
- Dual Place Search: Google Places (photos/ratings) or free OpenStreetMap
- Smart Weather: 16-day Open-Meteo forecasts + historical climate data
- Route Optimizer: Auto-reorder places, export to Google Maps
Travel Management Suite
- Bookings Tracker: Flights, hotels, restaurants with file attachments
- Multi-Currency Budgets: Pie charts, per-person/day splitting
- Smart Packing Lists: Templates, weight tracking, user assignments
- Document Hub: PDFs/tickets up to 50MB per trip
- PDF Export: Professional trip books with cover pages and branding
Collaboration That Works
- Real-Time WebSocket Sync: Instant updates across all users
- Role-Based Access: Invite-only trips with granular permissions
- SSO + 2FA: Google/Apple login + TOTP MFA
- Group Chat & Polls: Built-in collaboration tools
π± Progressive Web App Magic
No App Store needed: - iOS/Android Install: Add to home screen β native app experience - Offline-First: Service Worker caches maps, data, uploads - Touch Optimized: Mobile layouts, safe areas, fullscreen mode
π Tech Stack
Backend: Node.js 22 + Express + SQLite Frontend: React 18 + Vite + Tailwind Real-time: WebSocket PWA: Workbox Maps: Leaflet + Google Places (optional)
π Production Ready
- Security: Recent audit fixes, CSP hardening, encryption keys
- Admin Panel: User management, backups, API keys, addon toggles
- Auto-Updates:
docker compose pull && docker compose up -d - Monitoring: Health checks, structured logs, audit trails
π― Addons Included
- Atlas: World travel map with stats, bucket lists, streaks
- Vacay: Vacation calendar with 100+ country holidays
- Dashboard Widgets: Currency converter, timezone clocks
Live Demo
Try it at demo-nomad.pakulat.org (hourly reset).
3.3K GitHub stars, AGPL-3.0 licensed, actively maintained. Perfect for digital nomads, travel agencies, or anyone serious about privacy-first trip planning.
Deploy TREK today β your trips, your server, your rules.