NW.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way o...

README

node-webkit is renamed NW.js

Gitter
Official site: http://nwjs.io  

Introduction


NW.js is an app runtime based on Chromium and node.js. You can
write native apps in HTML and JavaScript with NW.js. It also lets you
call Node.js modules directly from the DOM and enables a new way of writing
native applications with all Web technologies.

It was created in the Intel Open Source Technology Center.


Features


Apps written in modern HTML5, CSS3, JS and WebGL.
Complete support for Node.js APIs and all its third party modules.
Good performance: Node and WebKit run in the same thread: Function calls are made straightforward; objects are in the same heap and can just reference each other;
Easy to package and distribute apps.
Available on Linux, Mac OS X and Windows

Downloads

v0.12.3: (Jul 31, 2015, based off of IO.js v1.2.0, Chromium 41.0.2272.76): release notes
Linux: 32bit / 64bit
Windows: 32bit / 64bit
Mac 10.7+: 32bit / 64bit

v0.13.0-alpha1: (Jun 11, 2015, based off of IO.js v1.5.1, Chromium 43.0.2357.45): release notes
NOTE You might want the SDK build. Please read the release notes  
Linux: 32bit / 64bit
Windows: 32bit / 64bit
Mac 10.7+: 32bit / 64bit

0.8.6: (Apr 18, 2014, based off of Node v0.10.22, Chrome 30.0.1599.66) If your native Node module works only with Node v0.10, then you should use node-webkit v0.8.x, which is also a maintained branch. More info  

Linux: 32bit / 64bit
Windows: win32

latest live build: git tip version; build triggered from every git commit: http://dl.nwjs.io/live-build/


###Demos and real apps
You may also be interested in our demos repository and the List of apps and companies using nw.js.

Quick Start


Create index.html:

  1. ``` html
  2. <!DOCTYPE html>
  3. <html>
  4.   <head>
  5.     <title>Hello World!</title>
  6.   </head>
  7.   <body>
  8.     <h1>Hello World!</h1>
  9.     We are using node.js <script>document.write(process.version)</script>.
  10.   </body>
  11. </html>
  12. ```

Create package.json:

  1. ``` json
  2. {
  3.   "name": "nw-demo",
  4.   "version": "0.0.1",
  5.   "main": "index.html"
  6. }
  7. ```

Run:  
  1. ``` sh
  2. $ /path/to/nw .  (suppose the current directory contains 'package.json')
  3. ```

Note: on Windows, you can drag the folder containing package.json to nw.exe to open it.

Note: on OSX, the executable binary is in a hidden directory within the .app file. To run node-webkit on OSX, type:  
/path/to/nwjs.app/Contents/MacOS/nwjs . (suppose the current directory contains 'package.json')  

Documents


For more information on how to write/package/run apps, see:


And our Wiki for much more.

Community


We use the google group as
our mailing list (use English only). Subscribe via nwjs-general+subscribe@googlegroups.com.

NOTE: Links to the old google group (e.g. https://groups.google.com/forum/#!msg/node-webkit/doRWZ07LgWQ/4fheV8FF8zsJ) that are no more working can be fixed by replacing node-webkit with nwjs-general (e.g https://groups.google.com/forum/#!msg/nwjs-general/doRWZ07LgWQ/4fheV8FF8zsJ).

Issues are being tracked here on GitHub.

License


node-webkit's code in this repo uses the MIT license, see our LICENSE file. To redistribute the binary, see How to package and distribute your apps

Sponsors


The work is being sponsored by: