Skip to content
This repository

Call all Node.js modules directly from DOM and enable a new way of writing applications with all Web technologies.

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 tools
Octocat-spinner-32 .gitignore [test] different method of starting app January 22, 2013
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 LICENSE Fix LICENSE since we have switched from CEF to Content Shell August 20, 2012
Octocat-spinner-32 README.md
Octocat-spinner-32 nw.gypi
README.md

Introduction

node-webkit is an app runtime based on Chromium and node.js. You can write native apps in HTML and Javascript with node-webkit. 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's created and developed in the Intel Open Source Technology Center.

Introduction to node-webkit (slides).

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 runs 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 OSX and Windows

Downloads

v0.7.0 release note

Prebuilt binaries (v0.7.0 - Aug 12, 2013):

Looking for older versions?

Demos and real apps

You may also be interested in our demos repository and the List of apps and companies using node-webkit.

Quick Start

Create index.html:

<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
    <h1>Hello World!</h1>
    We are using node.js <script>document.write(process.version)</script>.
  </body>
</html>

Create package.json:

{
  "name": "nw-demo",
  "main": "index.html"
}

Compress index.html and package.json into a zip archive called app.nw:

$ zip app.nw index.html package.json

This should create a structure like this:

app.nw
|-- package.json
`-- index.html

Download the prebuilt binary for your platform and use it to open the app.nw file:

$ ./nw app.nw

Note: on Windows, you can drag the app.nw to nw.exe to open it.

Documents

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

And our Wiki for much more.

Community

We use the node-webkit group as our mailing list. Subscribe via node-webkit+subscribe@googlegroups.com. Issues are being tracked here on GitHub.

License

node-webkit's code uses the MIT license, see our LICENSE file.

Something went wrong with that request. Please try again.