From first contact in the README, the LLM-speak is strong with this one. 25 uses of the cool kid "X, so Y" assertive idiom.
Obviously lots of other great things to say about this project, but I feel this kind of introduction is seriously off putting. It's a general problem but I hope that it can change in the future (or more realistically that I manage to get used to it...)
I was going to cite only the worst offenders but almost all of them are terrible so here's the almost full list (slightly edited to make the idiom stand out):
"The kernel is compiled code, so programs get Linux's behavior"
"unmodified aarch64 Linux binaries, so packages run as they are."
"ARMv8.0-A with FP, so distribution binaries run unchanged"
"aarch64 is a first-class port, so their package archives are available."
"The SDK is MIT-licensed, so you can ship it."
"The wallpaper is a random photo, so the page fetches one on every load" (in my mind this one is the worst)
"Browsers can't open raw TCP sockets, so the page reaches the internet through a Wisp proxy."
"kwemu walks the kernel's own page tables, so memory management is done by the real Linux code."
"Task switches use JSPI, so the kernel gets real stacks."
"Any object can carry the guest's TCP and DNS, so you can write your own backend."
"vm.connect(port) reaches a TCP server, so it needs no network"
"the host name only goes into the Host header, so vm.fetch("http://localhost/") reaches a dev server."
"/dev/shm exists once the guest's init has mounted it, so wait for the guest before create()"
"Node has no WebGL, so gl is ignored with a log line."
"Node has no WebGPU, so vk is ignored with a log line"
"There is no guest agent, so you drive the guest"
"stop() doesn't shut the guest down cleanly, so prefer poweroff"
"Types ship as .d.mts, so a Node-only TypeScript project needs skipLibCheck"
"The JavaScript SDK and page are MIT, so you can embed them anywhere."
"The npm package ships a Linux kernel (GPL-2.0) with a small base system, so it is MIT AND GPL-2.0-only"
Huh. This was, more or less, wholly predicted by Gary Bernhardt's 2014 Pycon talk: "The Birth and Death of JavaScript" (which is, if you haven't seen it, hilarious)
if @fzakaria // pooya are taking requests - a good usecase would be to enable windows programs in the browser (connect webUSB are we're golden for a long tail of various devices software).
So essentially open browser - drop installer exe, and it saved on the local disk. and next time you open the tab, you continue the program with it's data.
(Last time I made a request, it was vibed in a day!)
+1 for this if it can effectively work but I'd recommend 2 different things.
1.) Whether its through wine emulation where although there is some parity, one can say that there can be software which can detect that it's running in a wine.
2.) Somehow emulating it on a more deeper level. Like, my use case for this (especially with what you mention of webusb) is sort of that I had a redmi phone which I wanted to root but I genuinely couldn't because it required me to have windows and I tried so many things but it really really failed to work as within the vm's it didn't detect my phone for some reason.
I just didn't want to install windows on my main pc which btw is so time consuming to download and then setup only for this use case. I am far away from windows and I tried almost everything in some sense to make it work but I just straight up couldn't make it work.
All I wanted was a place where I can just root the phone because it was a bloated piece of software and I wanted something faster in my daily life.
And I imagine that something similar might be happening for printers and other devices where windows are still used as well.
Fzakaria has been on a grind lately, so lets hope he builds something which can fix this issue as well! Browser is also just the perfect target for sort of this ephemeral sandbox type of thing imo.
Education platforms are going to have a field day with this. Every student gets their own Linux environment right in the browser, with virtually zero server infrastructure costs. That's a game changer.
Had some fun testing the concurrency. Was able to execute 4 concurrent md5sums with the same wall clock duration as a single process. Then tested installing Chromium and trying to run a nested Unkernel within that, which didn't work.
You could try running one of the other ones people posted. You can also try it in Firefox. Since Unkernel provides a Linux kernel and supports aarch64, one of the browsers should be able to run one of those, maybe one of the simpler ones. Here is the other comment in this thread: https://news.ycombinator.com/item?id=50674542
Not saying that a modern browser is simpler than Doom, but still, I think you might be able to get one of those to load. Someone successfully ran Postgres, which is very large and complicated.
Edit: nested, I was able to get as far as starting the smallest package I could find on trynix.dev, I just put in nano and then loaded the earliest version I could find. Here are the steps:
1. on your own computer open a tab in Chrome or Firefox and go to unkernel.dev and wait for it to load.
2. in the shell inside unkernel type:
chromium
This downloads and starts it within the Linux environment your tab is running! It is very fast.
3. In the nested Chromium tab (inside unkernel.dev), go to trynix.dev and look for a very small package, for example nano and scroll down to an early version, select it and click boot.
It will then boot, so now you're running unkernel within unkernel. I got this working on a 2026 Mac mini. (24 GB of RAM).
From the "Compared to other approaches" table in the docs, I have been slopping away on the "POSIX runtimes for wasm" version. The three big red Xs seems really bad for me!!
I do think the "POSIX runtime for WASM" does have some advantages still, especially for building small specialized agent sandboxes (there's a demo video on the page). It's more of a "docker in the browser" idea. Most stuff doesn't need 90% of the linux kernel.
> On iPhone and iPad every browser (Safari, Chrome, Firefox, …) uses the system WebKit, so JSPI depends on the iOS version: update to iOS/iPadOS 27 or later. This is Safari 18.
I hope you did not mean "Browser is the new OS" as that does not make any sense anyway.
> Everything that can be written on top of JS/WASM will be written in browser, that includes OS, and the browsers themselves.
But should it?
Why do we assume that there is some "guarantee" of running something like the Linux Kernel in the browser means that it is "isolated" or even "sandboxed" (which we know it isn't) when we are a couple of Pwn2Own CTFs + frontier AI agents away from finding that out?
We are not in the era of humans finding / writing exploits for bugs, which this might have been a high bar for humans, but it is certainly not for swarms of frontier agents.
JS is bad enough to being abused by attackers against the (memory unsafe) browser engines running it. So I cringe from a security standpoint at this when everyone is believing that the next shiny object (WASM) is going to give some guarantee of isolation when it is untested against abliterated AI agents.
I think this is huge, because it simplifies so many things. You can now distribute virtual machines running on the client seamlessly. E.g., one click on a link and you have your complete development setup running in a browser on someone else's machine.
There is an increase in upvote rings on HN posts these days, to game the algorithm and then post the same thing repeatedly with bots until it reaches the front page.
The UI is a bit clunky though. It seems as if
these ideas, as great as they are, often begin
to fall down quickly after the demo-init stage.
Would be cool if someone could extend this and
put down all interactive shells in it. Many years
ago, _why (in ruby) put down the first irb on the
web. I think we need this for all programming
languages. Kind of make a universal terminal via
the browser.
Machine Room is a browser based emulator with a Korz based JIT. To celebrate the PDP-10's 60th birthday here's a PDP-10 running ITS with ZORK, MACSYMA, MACLISP, and lots of other software. Here's a demo of the PDP-10 emulator running ZORK on ITS, Apple ][ emulator running Little Computer People, and PDP-7 emulator running Unix.
Video demo of Zork on PDP-10 and Apple ][, including free Korz 6502 and PDP-7 JIT demos:
CRAZY! What is this sorcery? I'm just baffled at how buttery smooth this is.
You know what it tells me? macOS is so fucking bloated that a Linux on WebAssembly in a fucking browser with 2GB RAM runs better than the host macOS where the browser is running.
From first contact in the README, the LLM-speak is strong with this one. 25 uses of the cool kid "X, so Y" assertive idiom.
Obviously lots of other great things to say about this project, but I feel this kind of introduction is seriously off putting. It's a general problem but I hope that it can change in the future (or more realistically that I manage to get used to it...)
I was going to cite only the worst offenders but almost all of them are terrible so here's the almost full list (slightly edited to make the idiom stand out):
"The kernel is compiled code, so programs get Linux's behavior"
"unmodified aarch64 Linux binaries, so packages run as they are."
"ARMv8.0-A with FP, so distribution binaries run unchanged"
"aarch64 is a first-class port, so their package archives are available."
"The SDK is MIT-licensed, so you can ship it."
"The wallpaper is a random photo, so the page fetches one on every load" (in my mind this one is the worst)
"Browsers can't open raw TCP sockets, so the page reaches the internet through a Wisp proxy."
"kwemu walks the kernel's own page tables, so memory management is done by the real Linux code."
"Task switches use JSPI, so the kernel gets real stacks."
"Any object can carry the guest's TCP and DNS, so you can write your own backend."
"vm.connect(port) reaches a TCP server, so it needs no network"
"the host name only goes into the Host header, so vm.fetch("http://localhost/") reaches a dev server."
"/dev/shm exists once the guest's init has mounted it, so wait for the guest before create()"
"Node has no WebGL, so gl is ignored with a log line."
"Node has no WebGPU, so vk is ignored with a log line"
"There is no guest agent, so you drive the guest"
"stop() doesn't shut the guest down cleanly, so prefer poweroff"
"Types ship as .d.mts, so a Node-only TypeScript project needs skipLibCheck"
"The JavaScript SDK and page are MIT, so you can embed them anywhere."
"The npm package ships a Linux kernel (GPL-2.0) with a small base system, so it is MIT AND GPL-2.0-only"
Unfortunately more and more YouTube scripts seem to be written in the same AI style. It's really annoying and distracting.
So what?
This exciting one was new to me, too until yesterday: https://github.com/fzakaria/tabc
and
https://michidk.github.io/sidebyside/
And today: https://github.com/fzakaria/tabernetes
I was briefly thinking about distributed linux tabs, then I saw what you shared. All of this is amazing!
Also: https://github.com/gregbell/unlab
Huh. This was, more or less, wholly predicted by Gary Bernhardt's 2014 Pycon talk: "The Birth and Death of JavaScript" (which is, if you haven't seen it, hilarious)
https://www.destroyallsoftware.com/talks/the-birth-and-death...
if @fzakaria // pooya are taking requests - a good usecase would be to enable windows programs in the browser (connect webUSB are we're golden for a long tail of various devices software).
So essentially open browser - drop installer exe, and it saved on the local disk. and next time you open the tab, you continue the program with it's data.
(Last time I made a request, it was vibed in a day!)
+1 for this if it can effectively work but I'd recommend 2 different things.
1.) Whether its through wine emulation where although there is some parity, one can say that there can be software which can detect that it's running in a wine.
2.) Somehow emulating it on a more deeper level. Like, my use case for this (especially with what you mention of webusb) is sort of that I had a redmi phone which I wanted to root but I genuinely couldn't because it required me to have windows and I tried so many things but it really really failed to work as within the vm's it didn't detect my phone for some reason.
I just didn't want to install windows on my main pc which btw is so time consuming to download and then setup only for this use case. I am far away from windows and I tried almost everything in some sense to make it work but I just straight up couldn't make it work.
All I wanted was a place where I can just root the phone because it was a bloated piece of software and I wanted something faster in my daily life.
And I imagine that something similar might be happening for printers and other devices where windows are still used as well.
Fzakaria has been on a grind lately, so lets hope he builds something which can fix this issue as well! Browser is also just the perfect target for sort of this ephemeral sandbox type of thing imo.
JSLinux, starting in 2011
"Run Linux or other Operating Systems in your browser"
https://bellard.org/jslinux/
Actually, this tries to emulate the entire hardware along with the linux kernel unlike unkernel which compiles directly to wasm.
Education platforms are going to have a field day with this. Every student gets their own Linux environment right in the browser, with virtually zero server infrastructure costs. That's a game changer.
VMs have been possible for free on average student laptops since 2008 on every mainstream OS
Yes, but then you have to spend the first two hours explaining how to set it up.
Super fun and impressive project. I really love how fast it all starts up and the wayland compositor performance is crazy.
It got me excited enough to do this too https://news.ycombinator.com/item?id=50675517 (the hard part is all done by unkernel). Code at https://github.com/gregbell/unlab, running at https://unlab.run
Had some fun testing the concurrency. Was able to execute 4 concurrent md5sums with the same wall clock duration as a single process. Then tested installing Chromium and trying to run a nested Unkernel within that, which didn't work.
Amazing. What a strange era we are entering.
You could try running one of the other ones people posted. You can also try it in Firefox. Since Unkernel provides a Linux kernel and supports aarch64, one of the browsers should be able to run one of those, maybe one of the simpler ones. Here is the other comment in this thread: https://news.ycombinator.com/item?id=50674542
another one they didn't mention: https://trynix.dev/
Since this thread is about Unkernel, you might be interested to know I got Doom running in it in realtime (with ascii graphics, but still):
https://news.ycombinator.com/item?id=50602937
Not saying that a modern browser is simpler than Doom, but still, I think you might be able to get one of those to load. Someone successfully ran Postgres, which is very large and complicated.
Edit: nested, I was able to get as far as starting the smallest package I could find on trynix.dev, I just put in nano and then loaded the earliest version I could find. Here are the steps:
1. on your own computer open a tab in Chrome or Firefox and go to unkernel.dev and wait for it to load.
2. in the shell inside unkernel type:
This downloads and starts it within the Linux environment your tab is running! It is very fast.3. In the nested Chromium tab (inside unkernel.dev), go to trynix.dev and look for a very small package, for example nano and scroll down to an early version, select it and click boot.
It will then boot, so now you're running unkernel within unkernel. I got this working on a 2026 Mac mini. (24 GB of RAM).
Really cool. I haven’t quite grasped what’s running in the browser vs on the server?
When doing curl ip-api.com it seems show Zurich / Switzerland as the exit, should it not be showing the ip of the user if it’s running in the browser?
The browser sandbox probably prevents network access so I suspect it would go through a websocket to the server
Settings say its a Wisp proxy: https://github.com/MercuryWorkshop/wisp-protocol
Free Proxy :think:
This is super cool.
From the "Compared to other approaches" table in the docs, I have been slopping away on the "POSIX runtimes for wasm" version. The three big red Xs seems really bad for me!!
I do think the "POSIX runtime for WASM" does have some advantages still, especially for building small specialized agent sandboxes (there's a demo video on the page). It's more of a "docker in the browser" idea. Most stuff doesn't need 90% of the linux kernel.
https://github.com/daugasauron/dolly
https://slopshare.dev
Half of me thinks this is amazing, the other half is wondering what we'll end up running in browser tabs in five years
Web browsers are already capable of executing many things already.
there's a difference between running apps and running the thing that runs the apps
This requires iOS 27
> On iPhone and iPad every browser (Safari, Chrome, Firefox, …) uses the system WebKit, so JSPI depends on the iOS version: update to iOS/iPadOS 27 or later. This is Safari 18.
Browser in the new OS. Everything that can be written on top of JS/WASM will be written in browser, that includes OS, and the browsers themselves.
Now run unkernel within a browser within unkernel .... and so on
I think that was always the intention for Chrome developers, unfortunately.
Is that not what ChromeOS stands for?
> Browser in the new OS.
I hope you did not mean "Browser is the new OS" as that does not make any sense anyway.
> Everything that can be written on top of JS/WASM will be written in browser, that includes OS, and the browsers themselves.
But should it?
Why do we assume that there is some "guarantee" of running something like the Linux Kernel in the browser means that it is "isolated" or even "sandboxed" (which we know it isn't) when we are a couple of Pwn2Own CTFs + frontier AI agents away from finding that out?
We are not in the era of humans finding / writing exploits for bugs, which this might have been a high bar for humans, but it is certainly not for swarms of frontier agents.
JS is bad enough to being abused by attackers against the (memory unsafe) browser engines running it. So I cringe from a security standpoint at this when everyone is believing that the next shiny object (WASM) is going to give some guarantee of isolation when it is untested against abliterated AI agents.
That is so cool. I have nothing more to add. But I have questions... what can I do with this?
With trynix you can use it to run any nix package in your browser. E.g.: doom in the browser: https://trynix.dev/?pkg=gzdoom%404.14.2&pkg=freedoom%400.13....
Install Firefox and run it inside Firefox...
What is the purpose of this? Does it solve an existing problem or open up new possibilities? I’m genuinely asking, with zero negativity intended.
Thanks!
I think this is huge, because it simplifies so many things. You can now distribute virtual machines running on the client seamlessly. E.g., one click on a link and you have your complete development setup running in a browser on someone else's machine.
There does not have to be. It's the challenge and the show. Think of porting Doom to a camera. It solves nothing but it's fun to see.
how good is this to rawdog coding agents?
I first thought this is just the kernel and a shell to it, then I was surprised to see there are whole GUI apps as well!
this was posted a few days ago right?
Yes it was, 5 days ago. [0]
There is an increase in upvote rings on HN posts these days, to game the algorithm and then post the same thing repeatedly with bots until it reaches the front page.
[0] https://news.ycombinator.com/item?id=50533945
I didn't know it was getting gamed. No wonder my stuff flops these days.
Runs briskly on my A16 iPad with 128G RAM. wtf!
As it should. 128G of ram is insane. A16 is a powerhouse of a computer.
What I am saying is that if consumer software was as robust as wasm and linux, we would be in much better place.
Unless I’m very confused, A16 iPad has 6GB of RAM, and probably has a 128GB SSD?
Did you get the extra RAM soldered in Shenzhen? ;-)
If not then you confused SSD and RAM…
It looks awesome ! And now my phone is hot .
amazing work. i had an exact use case for this. (quickly running some very small backend scripts i made without having to spin up a vm) thank you!
But this is spinning up a VM. Just in an environment you interact more often with.
Boots much faster than systemd-linux!
The UI is a bit clunky though. It seems as if these ideas, as great as they are, often begin to fall down quickly after the demo-init stage.
Would be cool if someone could extend this and put down all interactive shells in it. Many years ago, _why (in ruby) put down the first irb on the web. I think we need this for all programming languages. Kind of make a universal terminal via the browser.
This is a [dupe]. See previous larger technical discussion here (5 days ago): https://news.ycombinator.com/item?id=50533945
https://news.ycombinator.com/item?id=50673082
Happy 60th Birthday to PDP-10, running ITS and Zork
https://hyperties.org/machine/games/zork/
Machine Room is a browser based emulator with a Korz based JIT. To celebrate the PDP-10's 60th birthday here's a PDP-10 running ITS with ZORK, MACSYMA, MACLISP, and lots of other software. Here's a demo of the PDP-10 emulator running ZORK on ITS, Apple ][ emulator running Little Computer People, and PDP-7 emulator running Unix.
Video demo of Zork on PDP-10 and Apple ][, including free Korz 6502 and PDP-7 JIT demos:
https://www.youtube.com/watch?v=dYYwzfPWJWE
CRAZY! What is this sorcery? I'm just baffled at how buttery smooth this is. You know what it tells me? macOS is so fucking bloated that a Linux on WebAssembly in a fucking browser with 2GB RAM runs better than the host macOS where the browser is running.
What are you running in this? What are you running in macOS to compare it to?
As opposed to a fake Linux Kernel? What does real even mean here?
Modified guest kernels are a thing: see WSL2. Emulation of kernel calls without a real kernel is also a thing: see Wine, Darling.
Totally a real thing! E.g. WSL1 is a fake Linux kernel. https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux
AI title.
woah, taxiing on the tarmac and this just loaded in my phone browser in a couple hundred milliseconds
Who let a taxi drive on the tarmac? Watch out for planes.