Interactive Go lessons in the browser. You edit Go code in the editor and run it; execution is handled by Yaegi (the Go interpreter) compiled to WebAssembly.
git clone https://github.com/alexisbouchez/hypercode.git
cd hypercodeInstall dependencies (npm or bun):
npm install
# or
bun installStart the dev server:
npm run dev
# or
bun devOpen http://localhost:3000.
The repo ships prebuilt public/yaegi.wasm and public/wasm_exec.js. To rebuild them you need Go and the project’s script:
./scripts/build-wasm.shThis compiles the wasm/ Go package (Yaegi + a small stdlib subset) to WebAssembly and copies wasm_exec.js from your Go installation. Optional: install Binaryen for wasm-opt to shrink the binary.
The Zig lessons need public/zig/zig.wasm and public/zig/zig-stdlib.tar.gz. See public/zig/README.md for details. If those files are missing, the UI will show “Zig runtime failed to load” instead of loading forever.