swift-web / WEB / SSR / WASM
Arrive first. Interact where it matters.
Readable HTML first. Add Swift client components where interaction is needed.
Reading need not wait for the runtime.
SSR (server-side rendering) delivers HTML; only interactive ClientComponents opt into WASM (WebAssembly) hydration, following an islands-style architecture. Content delivery and interaction remain separate instead of requiring the entire page to execute on the client. Routes, pages and client components are authored in Swift while preserving the web document model.
Read the source · README.md ↗Behind the experience
Select a node to read its role.
Declare pages and routes
- Scene / Page→HTMLDocumentData / execution
- HTMLDocument→Browser / HTMLData / execution
- Scene / Page→ClientComponentOptional path
- ClientComponent→Browser / HTMLOptional path
Scenes and page routes produce server HTML. Selected ClientComponents hydrate through WASM on a separate optional branch.
Reading can begin before interaction is ready.
Deliver readable content separately from interactive features. Developers can add interaction where it is needed, without making every client component a prerequisite for reading.

The image could not load. The experience is described below.
An AI-generated imagined use scenario, not an actual customer or product screen.