Jump to content

Building an OS in JavaScript, HTML5 and CSS

nuribruner's Photo
Posted Nov 30 2011 11:14 AM
5438 Views

Hey, O'Reilly

I'm interested in building a OS completely cloud based and built with languages that even the worse computer could handle (Javascript HTML5 CSS), my goal would be to allow anyone to use it for free.

Heres what I'm thinking

Basically, you'd have a VERY simple suite of apps, maybe a game or two and some word processing or something, and every time you'd make a change a JS file would be saved to your computer (or most likely you'd chose to download it when your done with your editing), and when you wanted to get back on all you'd do was upload the recently saved JS file and all your stuff would be up and running. It would be great for public computers, all you'd need would be a flash drive and you could upload it anywhere.

I know it's not completely practical (at least you don't have to worry about logging in, and a server) you would still need some sort of OS to run it in the first place, but that's my goal and I'd love if you guy's would help me.

Nuri Bruner
Co-Host
The Pear Podcast & Reviews
Nuri R. Bruner
[email protected]
www.thepearpod.com

Tags:
0 Subscribe


1 Reply

 : Dec 10 2011 09:47 PM
Hi Nuri,
You might want to check out Chromium OS, it seems pretty similar to what you're doing. If you're hoping for a more homemade solution, your best bet would most likely be a modified container for a rendering engine like Gecko (html, css rendering), running on a minimal linux kernel (with X) for IO. If you want something cloud based, PXE might also be a good place to start, as it involves bootstrapping off a network.

For the simple reason that hardware must be interacted with, a pure HTML, CSS, JS operating system really isn't possible - something native has to render/interpret them. But using Geckos chrome addresses will allow JS to control an existing OS and might bear a little investigation.

(more info on Chromium: Youtube Link. Its almost insulting in its patronizing tone, but start really watching at about 1 minute, 40 seconds. One of the quotes: "what if your browser was your operating system?" Explains it well, and really sounds like what you're looking for.)

Best of Luck,
-Matthias