jBasic OS is a branch off of mine from the jBasic project (link) but its a complete re-write, and a completely different project entirely, but it was inspires by jBasic.
jBasic OS is going to be a web OS with tasks, windows, custom cursors and more. Its kind of like EyeOS, but different.
Making applications for it will be easy i hope, I will have commands for creating windows, interfacing with them, moving them. I will also have commands for interfacing with the mouse. Tasks can be cancelled by a task manager, i will have a system speed variable (framerate) to let you know how much of a slowdown you are undergoing due to open applications. Applications will be required to name their functions starting with the application name, then an underscore so they can interface with the system without messing things up.
app folderstructure looks like this:
Code:
<appname>.app
|--js
|--css
|--img
|--<appname>.js
the systems folderstructure is as follows:
Code:
jBOS
|--apps
|--boot
|--css
|--home
|--|--root
|--|--<users>
|--img
|--js
|--boot.html
The desktop is still under the works, and all that works under normal "boot" right now is notifications and tasking, as soon as I add the ability to open applications you will be able to run them with no problems. Windows have been finished, as well as notifications and tasks. Notifications will only display for 10 seconds and they will display over top of windows. the last window you move will be displayed above all the others. windows are also resizable Very Happy
I have made 4 apps so far, a task manager, a clock, a fps displayer and firefox (it just calls the firefox interface in a iframe).
I was thinking about making a command line app where you just run javascript, what do you guys think?
link to Omnimaga topic: http://ourl.ca/6072/95721
...why?
Sounds like ForumOS. haha, remember that elfy? Laughing
Ultimate Dev'r wrote:
...why?
Excirsize for my JavaScript skills, and just for fun Smile

swivel: forumOS?
ForumOS was a similar project that he and elfprince13 were working on long, long ago, but built around the idea that a forum website should be a full interface and OS-type-thing within your browser. Eeems, this looks like a very cool project, do you have a link to somewhere that we could give it a spin? What other kinds of apps do you envision yourself or others making for it?

Edit: here's a link to the original ForumOS thread:
http://www.cemetech.net/forum/viewtopic.php?t=1070
Eeems wrote:
Ultimate Dev'r wrote:
...why?
Exirsize or
I Grammer Better Then U
@DJ: I'm on my iPod :p it messed me up
KermMartian wrote:
ForumOS was a similar project that he and elfprince13 were working on long, long ago, but built around the idea that a forum website should be a full interface and OS-type-thing within your browser. Eeems, this looks like a very cool project, do you have a link to somewhere that we could give it a spin? What other kinds of apps do you envision yourself or others making for it?
ah ok.
Well I have a zip file on omnimaga but it's not the most recent version. And you can't try apps anymore due to the fact that I haven't built the app launcher/detector yet, it's next on my list though.

Edit:I can see people making games, filebrowsers, web browsers text editors and things like that. Anything JavaScript is able to do :p
How is the detector going to work? It would seem to me that you'd need some Python, Perl, PHP, or Ruby serverside to enumerate the apps in the directory for you, unless you requested the user manually enumerated the apps and saved it in a cookie or something. Had you figured that part out yet?
KermMartian wrote:
How is the detector going to work? It would seem to me that you'd need some Python, Perl, PHP, or Ruby serverside to enumerate the apps in the directory for you, unless you requested the user manually enumerated the apps and saved it in a cookie or something. Had you figured that part out yet?
Actually I can access local files with JavaScript as long as the user allows it, and as long as the boot.HTML is local as well. I already have routines for loading everything in the js/ directory and if you change the files in their it will load according to the changes Smile
apps are stored differently, but I will allow for them to access their files in much the same way as I get mine. It will look through the apps/directory and then find all the apps and add them to a list and then load all the main JavaScript files into the page. Then it will create the launcher and you can choose which one you want to launch Smile
So my initial confusion was because I had thought this would be something on a remote server, and people would visit a website and have their jBOS desktop waiting for them. Now I understand that it's an application you download and run on your local computer via your browser. Now, other than having fun making a project like this, and treating it as a project meant for a definite goal, what do you envision as a set of reasons that people should use jBOS instead of their standard word processor, etc?
It would be good for a lightweight desktop for linux users I guess, and well...other then that not really, although I was thinking about having the ability to have a server somewhere where people could store their stuff as well, but that is farther along the road.

EDIT: oh yeah I just remembered I added keyboard support so now people can interface with keys in games and such (useage: keyboard_getkey(key#); returns: true for keypress being down, false if it is not. I should add registering keypresses, but I haven't done that yet.
Sorry about the doublepost, just wanted to make sure this was noticed.
I have added a topbar which has an application launcher on it, which is dynamically populated on load. Here are some screenshots.
http://www.omnimaga.org/index.php?action=dlattach;topic=3475.0;attach=1758;image
http://www.omnimaga.org/index.php?action=dlattach;topic=3475.0;attach=1760;image

EDIT: Kerm: here is that source you wanted to play around with. open boot.html in firefox, it should work on windows, and it works for sure on linux. http://www.omnimaga.org/index.php?action=dlattach;topic=3475.0;attach=1763
Eeems wrote:
Sorry about the doublepost, just wanted to make sure this was noticed.
I have added a topbar which has an application launcher on it, which is dynamically populated on load. Here are some screenshots.
http://www.omnimaga.org/index.php?action=dlattach;topic=3475.0;attach=1758;image
http://www.omnimaga.org/index.php?action=dlattach;topic=3475.0;attach=1760;image
Very nice! The first thing I saw when I opened those images was the KDE toolbar, and I was initially extremely impressed. Wink

Eeems wrote:
EDIT: Kerm: here is that source you wanted to play around with. open boot.html in firefox, it should work on windows, and it works for sure on linux. http://www.omnimaga.org/index.php?action=dlattach;topic=3475.0;attach=1763
Good stuff, I'll give it a play-with. I'd love to help you with some attractive skinning once you get more of the framework in place.
Lol yeah :p oops should have grabbed a screenshot of only the window :p
I just remembered it might not work due to some of the slashes being wrong (/ instead of \) for windows, but hopefully it does. If it doesn't just open up boot\jBKernel.js and replace all the js/ and apps/ and css/ with js\ apps\ and css\ and hopefully that works, although you may have to do a \\ if it is inside double quotes.

Help with the styling will be much appreciated :p
New version with correct support for multiple windows of the same type.
http://www.omnimaga.org/index.php?action=dlattach;topic=3475.0;attach=1771
Ok, I have a windows copy that works, and the command app works, although it could use some work. Have fun Smile
remember, only use the windows copy on windows and the Linux copy on Linux (and possibly Mac).
Ok, I have a windows copy that works, and the command app works, although it could use some work. Have fun Smile
Linux - http://www.omnimaga.org/index.php?action=dlattach;topic=3475.0;attach=1782
Windows - http://www.omnimaga.org/index.php?action=dlattach;topic=3475.0;attach=1783
I'm surprised that Javascript doesn't have a way to detect the proper type of slashes to use on the local system based on the OS type, since most other cross-platform languages like Python have lots of easy-to-use tools for it. Sad I presume you already researched such things?
Well it has some ways with firefox's extended stuff that I'm using, but it doesn't work with how I'm getting the current directory you are in, which is the only way I can figure out...
I should be able to set up a way to find out how by detecting if there is a ':/' in the path, then I will set the variable accordingly.
Eeems wrote:
Well it has some ways with firefox's extended stuff that I'm using, but it doesn't work with how I'm getting the current directory you are in, which is the only way I can figure out...
I should be able to set up a way to find out how by detecting if there is a ':/' in the path, then I will set the variable accordingly.
Thanks sounds like a good plan. I like what you have going so far though; seems nice and flexible and expandable. Smile
KermMartian wrote:
Eeems wrote:
Well it has some ways with firefox's extended stuff that I'm using, but it doesn't work with how I'm getting the current directory you are in, which is the only way I can figure out...
I should be able to set up a way to find out how by detecting if there is a ':/' in the path, then I will set the variable accordingly.
Thanks sounds like a good plan. I like what you have going so far though; seems nice and flexible and expandable. Smile
yeah Smile it will just take a little time to code as I have to reboot every time I make a change and want to make sure it works with both sides x.x

Thanks Smile I've been making it that way Smile If I can get a server that would allow me I would start hosting the most recent build on there and then make an automatic update app, or startup script even.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
» Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
» View previous topic :: View next topic  
Page 1 of 8
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement