A modern recreation of Ink & Switch's Embark: a shared travel note where freeform plans, structured places, live computations, and rich views stay in one document.
Built with TanStack Start, React 19, SpacetimeDB 2, and Biome.
- Editable, nested trip outline with place mentions, todos, routes, and live weather blocks
- Linked map, calendar, and table views
- Selection shared between the outline and map
- Realtime SpacetimeDB tables and transactional reducers
- Local-first browser fallback when SpacetimeDB is not running
- Responsive desktop and mobile layouts
Install the web app and module dependencies:
bun install
cd spacetimedb && bun install && cd ..Start SpacetimeDB in one terminal:
spacetime startPublish the seeded module:
spacetime publish embark-2 --server local --yesStart TanStack Start in another terminal:
bun run devOpen http://localhost:5173. If the database is unavailable, the interface automatically switches to a persistent local draft.
Copy .env.example to .env.local to connect to a different SpacetimeDB deployment.
VITE_SPACETIMEDB_URI=ws://127.0.0.1:3000
VITE_SPACETIMEDB_DATABASE=embark-2After changing the schema in spacetimedb/src/index.ts, rebuild and regenerate the typed client bindings:
bun run build:module
bun run generate-bindingsbun run check
bun run build
bun run build:module