AppJS is a SDK on top of nodejs to develop desktop applications using HTML/CSS/JS
AppJS is an SDK to develop desktop applications using Node.js melded with Chromium. With AppJS you can develop desktop tools and applications using the same libraries and knowledge used to build websites. You get all the following in one package:
- JS, HTML5, CSS, SVG, WebGL provided by Chromium
- mature http/https servers and client APIs - Node
- filesystem, dns, cryptography, subprocesses, OS APIs - Node
- sandboxed code execution environements virtual machines - Node
The below packages include everything needed to get started with AppJS, including Node.js, all dependencies, binaries, and a launcher ready to go out of the box. 1.) Extract to a folder. 2.) Double click on launch. 3.) Hello World.
AppJS 0.0.19 Distributables:
npm install OS X install is currently broken
AppJS can be now be installed via npm.
npm install appjs
AppJS requires 32bit Node on OS X. It works on 64bit OS X but Node must be 32bit. We're working on solving this, but it's a limitation of Chrome itself so it's a work in progress. Help us gain traction by starring this chromium issue.
(Windows requires MSVC++ 2010 runtimes)
var app = moduleexports = require'appjs';appserveFilesFrom__dirname + '/content';var window = appcreateWindowwidth : 640height : 460icons : __dirname + '/content/icons';windowon'create'console.log"Window Created";windowframeshow;windowframecenter;;windowon'ready'console.log"Window Ready";windowrequire = require;windowprocess = process;windowmodule = module;windowaddEventListener'keydown'if ekeyIdentifier === 'F12'windowframeopenDevTools;;;windowon'close'console.log"Window Closed";;
The MIT License
Copyright (c) 2012 The AppJS Authors
See the LICENSE file for details.