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. It has no access to your files, and the only place it can reach is Alpine's package server. 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. Our best guess is that the delete also removed its own saved changes.
- Panic the kernel. The machine stops until you reboot it.
Limits
- Installing packages works (
sudo apk add jq), because package downloads pass through this site to Alpine's server. Nothing else on the internet is reachable, so curl to any other site fails.
- One tab owns the saved disk. A second tab runs without saving.
- It needs a current Chrome, Edge, Firefox or Safari.
What this page counts
If you said yes to the question at the bottom of the page, Google Analytics counts your visit and which buttons you press. The commands you type, and everything inside the machine, are never sent. To change your answer, clear this site's data in your browser.
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.