top | item 41335228

(no title)

M-Valentino | 1 year ago

What separates my online OS from Windows 93, Windows 96, and Daedal OS, is the ability to export the entire "hard disk" to JSON and boot with it. Every system file is editable. In Sacred OS, HTML files are executable and HTML files are ran in iframes. These iframe programs can communicate with the kernel with the window.top.postMessage method. The whole thing was written using Vanilla JS.

This OS is still a work in progress. What do you guys think of it?

discuss

order

justaguy1234|1 year ago

How does this work?

M-Valentino|1 year ago

When the OS starts up, it fetches all the source files and puts their content inside a huge JavaScript object the "hard disk". From that object, it will append the GUI script, kernel script, taskbar, and start menu to the DOM. The GUI script does most of the heavy lifting. The kernel script handles, creating, updating, and deleting of files and folders. Folders are really just nested objects inside the main hard disk object