mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
ad2119efd6
The last pass reviewed diffs, so it never saw a new paragraph contradicting an older one on the same page, or a long-standing claim nobody had checked. Plugin authors were told ctx.config carries their per-user secrets and that definePlugin takes a permissions key — neither is true, and both fail silently. FORCE_HTTPS was said to need TRUST_PROXY, which it does not.
79 lines
5.3 KiB
Markdown
79 lines
5.3 KiB
Markdown
# TREK Wiki
|
||
|
||
TREK is a self-hosted, real-time collaborative travel planner licensed under AGPL-3.0.
|
||
|
||

|
||
|
||
## Features
|
||
|
||
### Planning
|
||
- **Drag & Drop Planner** — organize places into day plans with reordering and cross-day moves
|
||
- **Interactive Map** — Leaflet map with photo markers, clustering, route visualization, and customizable tile sources
|
||
- **Place Search** — Google Places (photos, ratings, hours) or OpenStreetMap (free, no API key needed)
|
||
- **Day Notes** — timestamped, icon-tagged notes per day
|
||
- **Route Optimization** — auto-optimize place order and export to Google Maps
|
||
- **Weather Forecasts** — 16-day forecasts via Open-Meteo (no API key required), historical climate averages as fallback
|
||
|
||
### Travel Management
|
||
- **Reservations & Bookings** — track flights, accommodations, restaurants with confirmation numbers and file attachments
|
||
- **Budget Tracking** — category-based expenses with pie chart, per-person/per-day splitting, multi-currency support (see [Currencies](Currencies))
|
||
- **Packing Lists** — category-based checklists with user assignment, templates, and progress tracking
|
||
- **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 cover page, images, and notes
|
||
|
||
### Collaboration
|
||
- **Real-Time Sync** — WebSocket-based live sync; changes appear instantly for all connected users
|
||
- **Multi-User** — invite members with role-based access
|
||
- **Invite Links** — registration links with configurable max uses (1–5 or unlimited) and expiry
|
||
- **OIDC SSO** — sign in with Google, Apple, Authentik, Keycloak, or any OIDC provider
|
||
- **Two-Factor Authentication** — TOTP-based 2FA with QR code setup
|
||
- **Passkeys** _(admin-enabled)_ — passwordless WebAuthn sign-in with Touch ID, Windows Hello, Android screen lock, or a hardware key; owning one also satisfies the require-2FA policy (see [Passkeys](Passkeys))
|
||
- **Public Share Links** — share a read-only view of any trip
|
||
|
||
### Addons _(admin-toggleable)_
|
||
- **Lists** — packing lists and to-dos with templates, member assignments, optional bag tracking
|
||
- **Costs** — expense tracker with category breakdown, splits, multi-currency
|
||
- **Documents** — file manager for trips, places, and reservations
|
||
- **Collab** — group chat, shared notes, polls, day-by-day attendance
|
||
- **Vacay** — personal vacation day planner with calendar view, public holidays, and carry-over tracking
|
||
- **Atlas** — interactive world map, bucket list, travel stats, continent breakdown
|
||
- **Collections** — personal place library: save places across trips into named lists, copy them into any trip, share with per-member roles (see [Collections](Collections))
|
||
- **Journey** — magazine-style travel journal with entries, photos (via Immich/Synology Photos), maps, and moods
|
||
- **Naver List Import** — import places from shared Naver Maps lists
|
||
- **MCP** — expose TREK to AI assistants via the Model Context Protocol (OAuth 2.1)
|
||
- **AirTrail** — sync flights from your self-hosted AirTrail instance into trips
|
||
- **AI Parsing** — LLM fallback that extracts bookings from confirmation files KDE Itinerary cannot read (see [AI-Booking-Import](AI-Booking-Import))
|
||
|
||
> Dashboard widgets (currency converter and timezone clock) are per-user preferences, not an admin-toggleable addon — see [Dashboard-Widgets](Dashboard-Widgets).
|
||
>
|
||
> The full addon table, with type and per-addon notes, lives in [Addons-Overview](Addons-Overview).
|
||
|
||
### Plugins
|
||
- **Sandboxed Plugin Runtime** — third-party plugins run in a forked child process with permission-gated RPC, install-time manifest and signature checks, and an egress allowlist (see [Plugins](Plugins))
|
||
- **Plugin SDK** — build and publish plugins with the `trek-plugin-sdk` npm package: dev server, preflight, signing, submit (see [Plugin-Development](Plugin-Development))
|
||
|
||
### AI / MCP Integration
|
||
- **MCP Server** — built-in Model Context Protocol server with OAuth 2.1 authentication
|
||
- **150+ Tools** — create trips, plan itineraries, manage budgets, send messages, and more
|
||
- **30 Resources** — read-only `trek://` URIs for trips, days, places, budget, packing, journeys, and more
|
||
- **29 OAuth Scopes** — granular permissions across 14 permission groups
|
||
- **Pre-built Prompts** — `trip-summary`, `packing-list`, and `budget-overview` context loaders
|
||
|
||
### Admin
|
||
- User management, invite links, packing templates, global categories
|
||
- Addon management, API key storage, scheduled auto-backups
|
||
- System notices for onboarding and announcements
|
||
|
||
> **Admin:** Most configuration lives in the Admin Panel. On first boot TREK seeds an admin account automatically — credentials come from `ADMIN_EMAIL` / `ADMIN_PASSWORD` if set, otherwise a random password is printed to the container log.
|
||
|
||
## Get Started
|
||
|
||
| | |
|
||
|---|---|
|
||
| [Quick Start](Quick-Start) | Install in minutes with a single Docker command |
|
||
| [My Trips Dashboard](My-Trips-Dashboard) | Start planning your first trip |
|
||
| [Admin Panel](Admin-Panel-Overview) | Configure your instance |
|
||
| [MCP / AI Integration](MCP-Overview) | Connect Claude, Cursor, or any MCP client |
|
||
| [Contributing](Contributing) | Guidelines for submitting pull requests |
|
||
| [Development Environment](Development-environment) | Set up a local dev environment |
|