Initial Template

Ledger-first multiplayer architecture

A serious starting point for self-hosted Diplomacy without dragging old backend ideas back in.

ZDip starts with the app shell, identity plumbing, generated SpacetimeDB bindings, and clean Docker organization so the real match runtime can land on stable ground.

TanStack Start shell

File-based routing, SSR-ready layout, query integration, and route guards are in place.

Self-hosted identity

Keycloak discovery, PKCE login, callback exchange, logout flow, and cookie sessions are wired.

Realtime-first backend path

Rust modules, generated TypeScript bindings, and connection factories are prepared for live state.