A RISC-V Operating System in Your Browser
A hobby operating system written in Rust, running on RISC-V 64-bit architecture. Features multi-core SMP, WebGPU graphics, TCP/IP networking, and a WASM runtime for user applications โ all running entirely in your browser via WebAssembly.
Everything you need for a complete operating system experience in the browser
True symmetric multiprocessing with up to 16 hardware threads via SharedArrayBuffer and Web Workers.
Hardware-accelerated rendering with zero-copy framebuffer access and smooth 60 FPS display.
Full networking stack via WebTransport relay supporting TCP, UDP, DNS, and HTTP/HTTPS.
Sandboxed WebAssembly runtime for user applications with system call interface and IPC.
Persistent storage via Origin Private File System (OPFS) with 9P protocol for VM access.
WebAudio API integration for boot sounds and system audio at 48kHz sample rate.
Run the VM from command line or integrate into your React application
# Run with npx (no installation needed)
npx virtual-machine --sdcard https://github.com/trust0-project/havy-os/releases/download/v0.1.53/sdcard.img --harts 1--sdcard, -s Path or URL to SD card image (required)
--harts, -n Number of CPU cores (default: auto)
--mount Mount host directory via VirtIO 9P
--net-webtransport WebTransport relay URL
--cert-hash Certificate hash for self-signed certs
--enable-gpu Open GUI window for display
--debug Enable debug output| Command | Description |
|---|---|
ls | List files and directories |
cat | Display file contents |
echo | Print text to console |
pwd | Print working directory |
cd | Change directory |
mkdir | Create a directory |
rm | Remove a file |
ps | List running processes |
htop | Interactive process viewer |
ping | Send ICMP packets |
wget | Download from web |
nslookup | DNS lookup |
ip | Network configuration |
dmesg | Kernel messages |
sysinfo | System information |
shutdown | Power off the system |
From browser APIs to user applications