Join the discussion
Write your take first — we'll ask for email only when you're ready to publish.
- Hacker News
- Live Demo: https://wasi-env.netlify.app/ Google Colab: https://colab.research.google.com/drive/1u4T6UZNS0xZUv5KSdSw...
WASI-Env is a portable, single-file HTML WebAssembly execution harness and POSIX terminal running locally with zero external dependencies. Features: - 90 C WASM Binaries compiled from Suckless sbase and ubase - 46+ wasi_snapshot_preview1 syscalls intercepted - Official SQLite3 C amalgamation embedded - Dynamic /proc VFS and POSIX termios (RAW mode) - In-browser C compiler (/bin/cc) generating WASM on demand - Persistent IndexedDB storage supporting upstream /bin/df Note: This is a messy work-in-progress prototype with many artifacts. I used an earlier build of this environment as the base to isolate and create a standalone 6MB single-file Doom port: https://wasi-doom.netlify.app/ The entire single file fits in an LLM context window—feel free to inspect the Colab, untangle the pieces, and hack on it.by badfox