aOS: Web Operating System
PostPosted:Wed Jul 27, 2016 3:47 am
So I'm an avid programmer, and I really enjoy Javascript, since it works on almost every platform. Wether you're on Windows, Mac, something else, and wether you use Chrome, Firefox, Safari, or (shiver) IE... it still works.
My latest, greatest project that I'm most proud of would have to be AaronOS, or aOS. It's designed for Chromebase users, as Chrome browser has by far the most features available to us web developers, and because they have virtually no desktop.

I present to you.... aOS. With a total boot time of 336085 microseconds (this time), (that's 336 milliseconds to start the entire operating system - take that Windows and Mac!), this thing is built to replace the desktop that Chromebase users miss out on.
Before I get into details, I'll go about which browser to use. The operating system works in ANY javascript-enabled web browser (even the one on my black-and-white Kindle Touch that has a screen made of fake ink, though it takes about 50 seconds to start on there), but obviously it works best on Google Chrome. I made it specially for Chrome, and many of the more advanced features work ONLY on Chrome (music visualizer, text to speech, speech recognition, many others).
The links are as follows:
The version that is online 24/7 is hosted at http://aos.epizy.com/.
The version that is developed live is hosted at https://aaron-os-mineandcraft12.c9.io/
The first version, while always being online, has some issues...
- Because it is not on a secure server (uses http instead of https), Chrome doesn't trust it as much as the second one. It will ALWAYS ask your permission before letting it listen to you or access your camera. On the second version, that is NOT up all the time, Chrome only needs to ask you once, and will work every time on its own after that. The 24/7 version, after clicking the 'speak' button, will ALSO have Chrome prompt for permission every time. The developing version ONLY needs to ask for permission once, which is nice.
- Some things are broken (missing icons, mainly) because it takes ALOT of time to upload files to that server (like, a LONG LONG time), and the file transfer system is horrible and difficult to use. As such, some icons are missing because I forget to transfer them over, and the music visualizer (yes, music vis.) simply doesn't exist on the 24/7 version.
The developing version is MUCH more stable, despite being wholely experimental, and everything looks exactly how I planned it to look. No missing icons because this is the ORIGINAL source of all developments. It is only online after I log into the server, and start the host via the console. Why, you ask, do I not just have this version running 24/7? Because I don't want to come up with $200/year for these guys. Sure, I get a higher priority from their support team and 24/7 hosting, but it's just not worth the $200. As of the time I wrote this post, the developer version works from the time I log into and start the server until 2 hours after all web activity and server console work stops.
Now, time to get into features. I'm going to use the devoloper version for examples, cause it looks better. Please mind the actual FPS meter in the top-right corner of the screen. I wrote that as a separate app that runs on all of my webpages, and was too lazy to turn it off for screenshots.
aOS will load straight to the desktop. No password required unless you're loading your copy of the OS onto a different computer, as it's assumed you just had to log into your computer to get to the OS in the first place.
Here's my desktop (again, all screenshots are dev version and may differ from the 100% uptime version):

I changed the color of the taskbar and the background of the desktop and such myself; they aren't the defaults. The default windows are a -very- light blue color and the background is a nice granite rock texture by default. The location of the desktop icons is also custom. I right-click the icons and move them to where I wish.
On the left side of the task bar is the Application List (think of it like a start menu) and NORAA - my own AI, based on the ideal that it has no set personality - it learns and develops based on its experiences on your machine. Kindof. That part is still in development. You may notice how certain phrases change based on its opinion of you, but that's as far as I got in that so far.
On the right side, you have - in order from left to right - Script FPS (how many cycles it completes in a second), visual FPS (us gamers are familiar with this one), estimated CPU usage (calculated by comparing your max and current FPS, LOL), date+time, network activity, and battery status. You can find out more about those yourself, cause I'm paranoid of max topic size.
Here's a few of the apps.

First off, the app in the very background is NORAA. As you can see, I've said nothing to him yet. He knows my name because I voluntarily told it to him, and as you can tell by his greeting, he's quite happy with me right now. I'll let you guys play around with him, I won't give any spoilers, though feel free to share if you have anything interesting you want to share! (yes, there are easter eggs in there, one of which is based on a Google easter egg)
Right on top of NORAA, on the left side, is the Application List. In there you have ALL apps installed on the operating system, even if they aren't shown on the desktop.
On the right side, buried underneath the Properties menu, is the Files app. It's obviously a file browser. In there you can see all of my user files (well, the first few. I managed to generate a wopping 112 of them already). By right-clicking a file or folder, you can see its properties. That's the window above the file browser. Not much info so far, cause I can't find any practical information I can put in there that actually applies to anything useful to put in there.
There's a music visualizer.

An aOS search app and a MESSAGING app:

The messaging app allows you to chat to all current users of the OS, all at once. Sadly, I can't make it do PM's yet.
A performance monitor and a task manager

An IDE for making your very own apps, complete with a VERY incomplete documentation on how to actually do anything. You'd be better off searching the script file for functions that sound like they'd do something useful for you.

That's all I'm putting on the post, cause I dont want it to get too long. Please feel free to share your screenshots, please let me know about your errors that may have generated, and please give suggestions for changes, additions, and things that need to be fixed. I REALLY have hit a dead point here where I'm not able to generate ideas myself, so this community involvement really helps.
The dev version is in running on the W.I.P. version Alpha 1.2.7, while I think the 24/7 version is running A1.2.6 or something. The changelogs can be found in the Filebrowser under the path files.changelog (the OS uses dots instead of slashes for filepaths).
If you're looking for me to ever turn on the better version for you, feel free to PM me on the forum, put a post on here (unlikely ill see those very quickly, as im always at work), or if you see me on KR, feel free to let me know and I'll tab out to turn it on for you. It literally takes me like 10 seconds so it is not at all any kind of inconvenience to me, so you don't need to be afraid that you're annoying me to ask or anything. Remember to share those suggestions with me too, cause I've got total Coder's Block... I can't think of any ideas right now.
In case you're wondering, it's written entirely from scratch, on my own. It uses PHP for serverside scripts, HTML for the objects you see on screen (windows, text, etc), CSS to define what those objects look like (font, color, size, pretty much all visual aspects), and JavaScript to do all of the actual work; it's the language that actually -does- stuff. Currently, the main file is 6807 lines of script long. Wow, I just found that out too when I went to look at it. Huh.
My latest, greatest project that I'm most proud of would have to be AaronOS, or aOS. It's designed for Chromebase users, as Chrome browser has by far the most features available to us web developers, and because they have virtually no desktop.

I present to you.... aOS. With a total boot time of 336085 microseconds (this time), (that's 336 milliseconds to start the entire operating system - take that Windows and Mac!), this thing is built to replace the desktop that Chromebase users miss out on.
Before I get into details, I'll go about which browser to use. The operating system works in ANY javascript-enabled web browser (even the one on my black-and-white Kindle Touch that has a screen made of fake ink, though it takes about 50 seconds to start on there), but obviously it works best on Google Chrome. I made it specially for Chrome, and many of the more advanced features work ONLY on Chrome (music visualizer, text to speech, speech recognition, many others).
The links are as follows:
The version that is online 24/7 is hosted at http://aos.epizy.com/.
The version that is developed live is hosted at https://aaron-os-mineandcraft12.c9.io/
The first version, while always being online, has some issues...
- Because it is not on a secure server (uses http instead of https), Chrome doesn't trust it as much as the second one. It will ALWAYS ask your permission before letting it listen to you or access your camera. On the second version, that is NOT up all the time, Chrome only needs to ask you once, and will work every time on its own after that. The 24/7 version, after clicking the 'speak' button, will ALSO have Chrome prompt for permission every time. The developing version ONLY needs to ask for permission once, which is nice.
- Some things are broken (missing icons, mainly) because it takes ALOT of time to upload files to that server (like, a LONG LONG time), and the file transfer system is horrible and difficult to use. As such, some icons are missing because I forget to transfer them over, and the music visualizer (yes, music vis.) simply doesn't exist on the 24/7 version.
The developing version is MUCH more stable, despite being wholely experimental, and everything looks exactly how I planned it to look. No missing icons because this is the ORIGINAL source of all developments. It is only online after I log into the server, and start the host via the console. Why, you ask, do I not just have this version running 24/7? Because I don't want to come up with $200/year for these guys. Sure, I get a higher priority from their support team and 24/7 hosting, but it's just not worth the $200. As of the time I wrote this post, the developer version works from the time I log into and start the server until 2 hours after all web activity and server console work stops.
Now, time to get into features. I'm going to use the devoloper version for examples, cause it looks better. Please mind the actual FPS meter in the top-right corner of the screen. I wrote that as a separate app that runs on all of my webpages, and was too lazy to turn it off for screenshots.
aOS will load straight to the desktop. No password required unless you're loading your copy of the OS onto a different computer, as it's assumed you just had to log into your computer to get to the OS in the first place.
Here's my desktop (again, all screenshots are dev version and may differ from the 100% uptime version):

I changed the color of the taskbar and the background of the desktop and such myself; they aren't the defaults. The default windows are a -very- light blue color and the background is a nice granite rock texture by default. The location of the desktop icons is also custom. I right-click the icons and move them to where I wish.
On the left side of the task bar is the Application List (think of it like a start menu) and NORAA - my own AI, based on the ideal that it has no set personality - it learns and develops based on its experiences on your machine. Kindof. That part is still in development. You may notice how certain phrases change based on its opinion of you, but that's as far as I got in that so far.
On the right side, you have - in order from left to right - Script FPS (how many cycles it completes in a second), visual FPS (us gamers are familiar with this one), estimated CPU usage (calculated by comparing your max and current FPS, LOL), date+time, network activity, and battery status. You can find out more about those yourself, cause I'm paranoid of max topic size.
Here's a few of the apps.

First off, the app in the very background is NORAA. As you can see, I've said nothing to him yet. He knows my name because I voluntarily told it to him, and as you can tell by his greeting, he's quite happy with me right now. I'll let you guys play around with him, I won't give any spoilers, though feel free to share if you have anything interesting you want to share! (yes, there are easter eggs in there, one of which is based on a Google easter egg)
Right on top of NORAA, on the left side, is the Application List. In there you have ALL apps installed on the operating system, even if they aren't shown on the desktop.
On the right side, buried underneath the Properties menu, is the Files app. It's obviously a file browser. In there you can see all of my user files (well, the first few. I managed to generate a wopping 112 of them already). By right-clicking a file or folder, you can see its properties. That's the window above the file browser. Not much info so far, cause I can't find any practical information I can put in there that actually applies to anything useful to put in there.
There's a music visualizer.

An aOS search app and a MESSAGING app:

The messaging app allows you to chat to all current users of the OS, all at once. Sadly, I can't make it do PM's yet.
A performance monitor and a task manager

An IDE for making your very own apps, complete with a VERY incomplete documentation on how to actually do anything. You'd be better off searching the script file for functions that sound like they'd do something useful for you.

That's all I'm putting on the post, cause I dont want it to get too long. Please feel free to share your screenshots, please let me know about your errors that may have generated, and please give suggestions for changes, additions, and things that need to be fixed. I REALLY have hit a dead point here where I'm not able to generate ideas myself, so this community involvement really helps.
The dev version is in running on the W.I.P. version Alpha 1.2.7, while I think the 24/7 version is running A1.2.6 or something. The changelogs can be found in the Filebrowser under the path files.changelog (the OS uses dots instead of slashes for filepaths).
If you're looking for me to ever turn on the better version for you, feel free to PM me on the forum, put a post on here (unlikely ill see those very quickly, as im always at work), or if you see me on KR, feel free to let me know and I'll tab out to turn it on for you. It literally takes me like 10 seconds so it is not at all any kind of inconvenience to me, so you don't need to be afraid that you're annoying me to ask or anything. Remember to share those suggestions with me too, cause I've got total Coder's Block... I can't think of any ideas right now.
In case you're wondering, it's written entirely from scratch, on my own. It uses PHP for serverside scripts, HTML for the objects you see on screen (windows, text, etc), CSS to define what those objects look like (font, color, size, pretty much all visual aspects), and JavaScript to do all of the actual work; it's the language that actually -does- stuff. Currently, the main file is 6807 lines of script long. Wow, I just found that out too when I went to look at it. Huh.