userland.run70Try the demo
Examples

Examples you can run in this tab.

Eight small projects across NanoVM's four runners — Node.js on the host JS engine, BusyBox on the RISC-V VM, a wasm32-wasip1 CLI and the Boa sandbox. Each page explains the example, shows its source and runs it end to end when you press Run. Nothing is downloaded before that.

Reproducible

Built from source, checked in CI.

Every example lives in demos/<id>/ of the website repository. Dependencies are pinned by each example's package-lock.json; the files the pages load from /demo-files/<id>/ are generated from those sources, and a fresh build must match them byte for byte.

bash
# in a checkout of the website repo
npm ci
npm run demos:build    # npm ci + build every demos/<id>/ → public/demo-files/<id>/
npm run demos:verify   # fresh install + build, compared with the committed output