We installed NodeOS on the Raspberry Pi
NodeOS is a Linux distribution that uses npm as the package manager.
There is no bash, there is no sh, awk or grep. There is only node on NodeOS, and we've brought that to the Raspberry Pi. NodeOS uses node to setup the network, and mount partitions. If you look in
/bin you won't find anything, it's all Node.
NodeOS makes npm modules first-class citizens of the system. It's easy to contribute to NodeOS; you only need to publish your module to npm. Any package that exposes a
bin key can expose a new executable to the system. Check out dgrepl created for NKO.
NodeOS also supports packages with start scripts. Any package with a start script can be launched by init as a daemon process. Check out Doge Script Server for an example.
By porting NodeOS to the Pi, you can have a complete node setup for $35 that makes node and npm packages easy to install, run, modify, and share.
Download the Rasbperry Pi NodeOS Image (8GB) and install it to your Raspberry Pi.
Node and Raspian's boot loader
Voting is now closed.
Totally understood! I appreciate your interest regardless, and I hope to keep building on what we made here.
It's definitely a great way to learn the userland and syscall boundaries. I have no idea what the project will mature into, but it's been a lot of fun so far.
Do you mean it won't download, or it won't boot? The image certainly downloads for me, try opening it in a new tab. The image itself must be copied to an SD card via
dd or other block copying tool.
If you don't mind waiting, I'm cleaning up the image and will have a ~200MB compressed image for download soon.
Link points to port 8080, not sure if it meant to be. But port 80 doesn't work either. Browser tells me that there is no server to respond to the request.
It's on port 8080, but it's definitely being weird. Nothing happens if I click the link from Chrome, but
curl -O process-nexttick.2013.nodeknockout.com:8080/NodeOS.img seems to work.
Option-clicking the download link also seems to work.
Ok, curl works, but I just realized I don't 8GB on my laptop :) TIme for Black Friday cleaning :) Btw, why is it 8GB?
It's 8GB because it's a direct image of the SD card, which is 8GB. It includes the boot partitions and the main ext4 partition.
I've published a cleaned up version that compressed is only 110MB
It's functionally identical to the KNO version, but with some crud removed.
Anything that boots linux can run NodeOS. The hard part is compiling the Node binary, which can take up to and including forever on inexpensive hardware. I literally just got QEMU booting my Raspberry Pi images, and will see about getting a tutorial together for that.
In short, it's definitely possible, but it may be involved.