Skip to content

Latest commit

 

History

History
97 lines (67 loc) · 2.85 KB

README.md

File metadata and controls

97 lines (67 loc) · 2.85 KB

Introduction

node-webkit is a web runtime based on Chromium and node.js. Though its name suggests that is's a module of node.js, it is in fact a standalone runtime that runs apps written in HTML, CSS and node.js.

It's created and developed in Intel Open Source Technology Center.

Features

  • Write apps in modern HTML, CSS, JS and WebGL
  • Strong network and native APIs from node.js
  • Support modules written in JS and C++
  • Easy to package and distribute apps

Downloads

Prebuilt binaries (v0.2.1):

Demos:

Quick Start

Create index.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, and rename it to app.nw:

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.

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

For developers

Community

We use node-webkit | Google Groups as our mailing list, subscribe via node-webkit+subscribe@googlegroups.com.

Old version based on WebKit and GTK+

node-webkit previously was a node.js module which created a GTK+ WebView based on a custom WebKit, see tag webkitgtk.

License

node-webkit's code uses the MIT license, Chromium and CEF's codes use their BSD-style licenses.