Plan, track, and settle trips on your own server
You can view maps without an internet connection, coordinate routes with friends in real time, and settle travel expenses in a single interface. TREK is an open-source travel planner that runs on the web and mobile devices, requiring no external API keys for map search or route calculation. All data is stored on a server you operate, allowing you to manage the entire travel process independently.
Real-time collaboration and detailed course design on the map
When multiple people prepare for the same trip, adding a location to the map by one person is immediately reflected on the screens of other participants. This real-time synchronization is achieved through WebSocket, and features for chat, voting, and note sharing are also provided. For journeys where terrain is important, such as hiking or cycling tours, elevation profiles and 3D terrain maps are available to adjust courses by comparing them with the actual terrain. By utilizing OpenStreetMap and a proprietary place index, you can search for locations worldwide and calculate routes without a map API key.
Reservations, costs, and post-trip records
Flight and accommodation reservation information is automatically extracted from PDFs or emails and recorded, while the sharing details of travel expenses are managed precisely. Each expense item has a fixed currency unit, so it is not affected by exchange rate fluctuations, and expense details can be filled in with just a receipt photo. During the trip, you can write a diary with photos and text, and after the trip, a studio feature supports converting this into a photo book for printing. These records can remain as a personal archive after the trip ends or be copied to other trips for reuse.
Offline-first architecture and AI integration
When installed on a mobile device, travel information and maps can be viewed without an internet connection, and any modifications made offline are automatically synchronized once the network is restored. If a conflict occurs during this process, the user can directly choose which version to keep. Additionally, an AI assistant can be integrated via an MCP server, and this AI does not send data externally without the user's explicit consent. All changes are presented in card format and are applied only after user approval. This follows the principle that while AI assists in travel planning, the final decision-making authority always remains with the user.
Technical requirements for self-hosting
TREK is deployed via Docker or Kubernetes (Helm) and uses a backend based on TypeScript and NestJS. During installation, an encryption key must be generated to ensure data security, and it is recommended to run it behind a reverse proxy supporting TLS in production environments. Proxy settings that support WebSocket upgrades are required for real-time synchronization, and specific headers must be passed through if using MCP features. The database and file storage can be configured with local disk or S3-compatible storage, and regular backup and restore functions are built-in.
An option for users who value data sovereignty
This tool is suitable for users who do not want their travel data stored on a third party's server. It is particularly useful for planning complex travel routes, coordinating in real time with multiple people, and hiking or camping trips where accessibility in offline environments is important. However, utilizing all features requires the technical capability to build and maintain your own server. It is distributed under the AGPL v3 license, so it can be used freely for personal use or internal corporate purposes, but if modified and provided as a network service, it must be disclosed under the same license. Map data and route calculation are provided for free with the support of dataforest cloud, but this implies a dependency on specific infrastructure, which should be considered in long-term operational plans.