Unkernel Compiles Linux Kernel to WebAssembly for Browser Execution
The Unkernel project compiles the Linux kernel to WebAssembly, booting a full Linux environment inside a browser tab that runs unmodified riscv64 user-space binaries, with kernel compilation taking just 11 ms. Built by Nuxt creator Pooya Parsa and sponsored by Vercel, the v0.1.0 release demonstrates WebAssembly's potential as a universal virtualization substrate.
Related Entities
Full Report
Contents8 sections
[ OK ] Checked browser features (18 ms)
[ OK ] Downloaded unkernel-alpine.wasm, 10.9 MiB (371 ms)
[ OK ] Compiled the kernel (11 ms)
[ OK ] Found the bundled root fs (3.9 MiB)
[ OK ] Attached the data disk /dev/wda (new) (47 ms)
[ OK ] Allocated 512 MiB of memory (8 ms)
[ .... ] Starting Linux EXT4-fs (wda): mounted filesystem 6b776461-7461-4000-8000-000000000001 r/w with ordered data mode. Quota mode: disabled.
Press Escape, then Tab to move focus out of the terminal, or Shift+Tab to move focus backward.W
Esc Tab Ctrl^C←↑↓→|/-~Paste
❯Ctrl⇧O 0+
^A 2M/4G 512M fx
┤ about ├
unkernel: Linux compiled to WebAssembly, running unmodified riscv64 user space in your browser tab.
sourcegithub.com/pithings/unkernelkernel Linux 7.3.4+, v0.1.0-261116-447d26fcommitcabc62f, 2026-11-16 Made with ♥ by Pooya Parsa (pi0) · full credits sponsored by Vercel
Close
⋯
Booting
┤ unkernel ├
[×]
k System i Environment l Kernel log e Errors?Keys
✗
Options
- [x]JIT compiler hot guest code to WebAssembly - [x] [x]Data disk/data, saved in this browser - [x] [x]Display/dev/fb0 and input devices - [x] [x]Sound ALSA and /dev/dsp - [x] []Verbose boot show all kernel messages - [x] []Safe mode boot without your changes - [x] []Worker thread experimental - [x] []fx start the coding agent at load
Network
(•)Wisp ()Wisp, custom servers ()Off
Wisp servers (comma-separated)
Memory Auto (512 MiB)
64 128 256 512 auto 1G
Font size Auto (14 px)
11 12 13 14 auto 15 16 18
Kernel command line
Data disk
Saved in this browser (IndexedDB kwdisk): 4.0 GiB disk, 547 blocks (2.1 MiB) stored.
Export Import…Reset Safe mode
Preview
A web server running in the guest (e.g. python3 -m http.server 8000), in a window over the terminal or a tab of its own while this page stays open. Ctrl-A p opens it too.
Port Preview
Anywhere: Ctrl-A, then a key
0 t Ctrl-Shift-0 Window 0: the console (closes the dialog)
n c New terminal window (1 to 9: its own shell)
x Close the current terminal window (asks first)
k System: options, data disk
i Environment: browser, memory, storage, JIT
l Kernel log
e Errors
?Ctrl-Shift-/This list
d Switch between the display and the terminal
o Ctrl-Shift-O Demos: the launcher (again closes it)
p Preview a web server in the guest (the last port, or 8000; again hides or shows it)
f fx: the coding agent, in a side panel, working on this VM (again hides or shows it)
y Copy diagnostics (in a dialog, c also)
r Reboot (asks first)
s Suspend: save the system in this browser and stop (asks first; the next load offers to resume)
a About: credits and the build
Ctrl-A Send Ctrl-A itself to the guest 1…9 Ctrl-Shift-1…9 Windows 1 to 9: terminal windows, each its own shell (n opens one; it closes when its shell exits)
In this dialog
k i l e ?System, Environment, Kernel log, Errors, Keys
← → [ ]Previous, next tab
↑ ↓Scroll
Tab ⇧Tab Move between controls (they stay in the dialog)
c Copy diagnostics
r Reboot (asks first)
s Suspend (asks first)
Esc q Close
Terminal
With text selected, Ctrl-C copies instead of sending ^C; Ctrl-Shift-C always copies. On phones, pinch the terminal to change the font size; the extra keys show above the on-screen keyboard.
esc close k i l e ? tabs c copy s suspend r reboot