What you are looking at
A real Linux kernel, compiled to WebAssembly, running Alpine Linux inside this browser tab. The commands you type are run by that kernel on your own device. No server sees them.
Why it can't hurt your computer
The machine lives inside your browser's sandbox. This page gives it no network and no access to your files. The only thing it keeps is its own disk, saved in this browser's storage for this site.
What happens when you break it
- The system image is read-only. Your changes, deletions included, are written to a separate layer on the saved disk.
- Reboot reloads the page and starts the machine again from that same disk, damage included.
- Safe mode. At every start the machine checks whether its shell still runs with your changes applied. If it doesn't, it starts from the clean image and leaves your changes untouched in a folder.
- Set the damage aside moves your changes into a dated folder, so the next reboot starts clean.
- Erase the disk deletes the saved disk from this browser.
Things to try
- Remove the C library, then reboot. In our test it came back in safe mode in under a second.
- Delete everything, then reboot. In our test it came back healthy, because the delete also removed its own saved changes.
- Panic the kernel. The machine stops until you reboot it.
Limits
- No internet inside the machine, so installing packages won't work.
- One tab owns the saved disk. A second tab runs without saving.
- It needs a current Chrome, Edge, Firefox or Safari.
The desktop version
desktop.rmrf.party runs the same kind of machine inside unkernel's own desktop: windows, a dock, several terminals and settings. It is a separate machine with its own disk, so what you break here is not broken there.
Built on unkernel by Pooya Parsa. This page is an independent experiment.