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
import { PRIVACY_URL } from '../../native/links';
import { nativeServerHost } from '../../native/platform';
import { TrekShell } from '../../native/trekShell';
/**
* The server section both settings views show inside the iOS and Android app:
* the host the app is connected to (null in a browser, where the section stays
* hidden), the way back to the address screen, and the privacy policy the store
* listings name, which an app has to reach from inside itself.
*/
export function useNativeServer(): { host: string | null; changeServer: () => void; privacyUrl: string } {
return {
host: nativeServerHost(),
privacyUrl: PRIVACY_URL,
changeServer: () => {
void TrekShell.resetServer();
},
};
}