The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
/** A key in the tk1 shape for a payload of the test's choosing; the signature is never checked by TREK. */
export function serviceKeyTokenFor(payload: { i: string; iat: number; exp: number; q?: string }): string {
const body = Buffer.from(JSON.stringify({ q: 'std', ...payload })).toString('base64url');
return `tk1.test.${body}.c2lnbmF0dXJl`;
}