kiwifig / node-webkit

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)
Creating Desktop Applications With node-webkit
WebApp to DesktopApp with node-webkit (slides)
Essay on the history and internals of the project

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 OS X and Windows

Downloads

###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"
}

Run:

$ /path/to/nw .  (suppose the current directory contains 'package.json')

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/node-webkit.app/Contents/MacOS/node-webkit .  (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 node-webkit group as our mailing list (use English only). Subscribe via node-webkit+subscribe@googlegroups.com. Issues are being tracked here on GitHub.

You can chat with us on IRC in the ##node-webkit channel on irc.freenode.net

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:

About

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

License:Other


Languages

Language:C++ 80.6%Language:JavaScript 9.6%Language:Objective-C++ 8.6%Language:C 0.5%Language:Objective-C 0.5%Language:Python 0.1%Language:CSS 0.1%Language:TypeScript 0.0%Language:CoffeeScript 0.0%Language:Shell 0.0%