This prototype shows a desktop "browser" host that loads WebAssembly components with Wasmtime and renders them through Vello. It ships with a release-built counter guest so the demo works out of the box.
- Launch the Nix development shell (
direnv allowornix develop). It provides Rust,cargo-component, Wasmtime, and all build tools. - Run the interactive counter window with
just run(appendreleasefor a release build). The host will fall back to the embedded counter if no component path is provided. - Execute the full check suite with
just cibefore sending changes; it mirrors the GitHub Actions pipeline.
Extra helpers: just dist assembles a distributable bundle under dist/, and just ensure-cargo-component exits early if you forget to run inside the Nix shell.