explaingit

liketrek/trek

Analysis updated 2026-08-13

12,161TypeScriptAudience · developerComplexity · 4/5LicenseSetup · moderate

TLDR

A self-hosted travel planner with real-time collaboration, interactive maps, budgets, packing lists, and built-in AI automation.

Mindmap

mindmap
  root((TREK))
    What it does
      Self hosted travel planner
      Real time collaboration
      Interactive map itinerary
    Trip tools
      Reservations
      Expense splitting
      Packing lists
      Document manager
    Collaboration
      Live sync
      SSO and 2FA
      Invite links
    AI and mobile
      Built in MCP server
      Installable PWA
      Offline support

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Plan a multi-day trip collaboratively with friends using a drag-and-drop itinerary and interactive map.

USE CASE 2

Track and split trip expenses between travelers across multiple currencies.

USE CASE 3

Manage packing lists, reservations, and travel documents in one self-hosted app.

USE CASE 4

Let an AI assistant automatically build itineraries or budgets through the built-in MCP server.

What is it built with?

TypeScriptWebSocketDockerLeafletMapbox GL

How does it compare?

liketrek/trekwaooai/waoowaooformbricks/formbricks
Stars12,16112,17812,221
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardmoderate
Complexity4/54/53/5
Audiencedevelopergeneralpm founder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires self-hosting via Docker and configuring a server.

In plain English

TREK is a self-hosted travel planning application, meaning you run it on your own server instead of using a company's cloud service, and it works like a private version of a trip planning app with your friends or family built in. At its core it lets you drag and drop places into a day-by-day itinerary on an interactive map, using either Leaflet or Mapbox for the map itself, and search for places through Google Places or the free OpenStreetMap option. You can import saved lists from Google Maps or Naver Maps, or upload GPX and other map file formats. It shows weather forecasts up to 16 days ahead and can automatically reorder your stops into a more efficient route. Beyond the itinerary, TREK handles the practical side of trip management: reservations for flights, hotels, and restaurants, an expense tracker that splits costs between travelers the way Splitwise does, packing lists with templates and progress tracking, and a document manager for tickets and confirmation files. Collaboration is a core feature, not an add-on. Changes sync instantly across everyone on a trip through a live connection, and the app supports single sign-on through Google, Apple, or other identity providers, two-factor authentication, and passwordless login. It also works as an installable app on phones, with offline support so cached data is available without a connection. TREK includes optional add-ons like a personal vacation day tracker, a visited-countries map, and a magazine-style travel journal. It also ships a built-in AI connection point using something called MCP, which lets AI assistants create trips, build packing lists, or manage budgets on your behalf through a controlled set of permissions. The project is released under the AGPL v3 license and is aimed at people comfortable running their own server software who want full control over their travel data.

Copy-paste prompts

Prompt 1
Help me self-host TREK using Docker on my home server.
Prompt 2
Walk me through setting up SSO login for TREK using Google or Keycloak.
Prompt 3
Show me how to connect an AI assistant to TREK's MCP server to auto-generate a packing list.
Prompt 4
Explain how TREK's expense-splitting feature works for a group trip.

Frequently asked questions

What is trek?

A self-hosted travel planner with real-time collaboration, interactive maps, budgets, packing lists, and built-in AI automation.

What language is trek written in?

Mainly TypeScript. The stack also includes TypeScript, WebSocket, Docker.

How hard is trek to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is trek for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.