The proto → catalog playground
This runs UDB itself, not an imitation. udb.wasm is the
udb-portable crate — the same parser, AST, and deterministic-checksum source the
server compiles — built to WebAssembly. Paste a UDB-annotated .proto below and UDB
parses it client-side into the exact catalog schema (tables, columns, RLS, per-column data classes)
and the same sha-256 manifest checksum the broker would compute.
Now in the browser: beyond parsing, this demo runs UDB's real
manifest + bootstrap-DDL generation and the IR → SQL query compiler path
used by the backend executors — the exact server source, compiled to WASM. Paste a .proto and you
get the catalog schema, the generated DDL, and a live-compiled SELECT, client-side.
Honest about scope: only the runtime — gRPC broker, DB drivers, async execution
(tokio / sqlx / tonic) — stays server-only.
The same ProtoSchema feeds the DDL generation and
query compilation you see above (now client-side) — plus migrations, SDKs, and runtime
enforcement on the server.
See the descriptor-as-contract pipeline →