Skip to content

globules-io/OGX.OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OGX.OS

Experimental browser based operating system based on OGX.JS

Videos

OGX_OS.mp4
OGX_OS2.mp4

Online Demo

Online demo available here, might not be up to date.

Running Locally

Install OGX.CLI by running

 npm install @globules-io/ogx.cli -g

Clone this repo in a folder of your webserver and set the www folder as root

Prepare the project by opening the CLI in the parent folder of www and type

 ogx prepare

Navigate to http://localhost

Optional Step

You can also reduce the app footprint (files) by doing

ogx pack all
ogx prepare
ogx compress

To restore

ogx restore
ogx unpack all
ogx prepare

Note that if you are hosting on IIS, you need to add a MIME type of value text/plain for .pak files

Updating

Make sure you clear your localStorage if you have any issue running newer builds

Participating

Anybody can participate by creating programs for OGX.OS. Just check out how basis programs are built and create your own! Then create an issue explaining the motivations and if it checks out, we'll merge it as official program and link you up here.

Getting Started

Create your program view + template by typing

 ogx create MyProgram MyProgram

Open the files in VSCODE

 ogx open MyProgram

Add Program to the require of the view (first line)

 require('Views.MyProgram', 'Program', 'View');

Add a reference to your progam in www/json/programs.json, such as

 "MyProgram" : { options }

Add a reference to your program in the main menu in www/json/menu_programs.json, such as

 {"label" : "MyProgram", "icon" : "some_icon", "app" : "MyProgram", "type" : "MenuProgram"}

Why

OGX.OS brings the ultimate benchmark and test project for OGX.JS, the Javascript framework behind OGX.OS. This also showcases the power of OGX.JS and how you can build enterprise grade apps with ease.