About this demo

Static on the outside, Go on the inside.

Wasm Wall is a SvelteKit site compiled with adapter-static. The pages are prerendered at build time, then embedded into a Go WASI component alongside a small JSON API.

01

SvelteKit shell

The wall and this page are plain static files. No SvelteKit server is running in production.

02

Go API

The same component serves /api/messages and the reaction endpoints, backed by the supervisor's SQLite service.

03

One wasm bundle

The built assets and the Go server are packed into a single wasi:http component and deployed with wt.

SvelteKit adapter-static Go wasi:http SQLite
← Back to the wall
SvelteKit static shell Go + SQLite API one wasm component