- Notifications
You must be signed in to change notification settings - Fork0
Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
License
takeratta/nw.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Official site:https://nwjs.io
Official documentation:http://docs.nwjs.io/
NW.js is an app runtime based onChromium
andnode.js
. You canwrite native apps in HTML and JavaScript with NW.js. It also lets youcall Node.js modules directly from the DOM and enables a new way of writingnative applications with all Web technologies.
It was created in the Intel Open Source Technology Center.
Building a Cross-platform Desktop App with NW.js
Creating Desktop Applications With node-webkit
WebApp to DesktopApp with node-webkit (slides)
Essay on the history and internals of the project
- Apps written in modern HTML5, CSS3, JS and WebGL.
- Complete support forNode.js APIs and all itsthird 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.
v0.27.2: (Dec 15, 2017, based off of Node.js v9.3.0, Chromium 63.0.3239.108):release notes
NOTE You might want theSDK build. Please read the release notes.Mac 10.9+:64bit
UseLegacy build for Win XP and early OSX.
latest nightly build from git tip:https://dl.nwjs.io/live-build/
You may also be interested inour demos repository and theList of apps and companies using nw.js.
Createindex.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>
Createpackage.json
:
{"name":"nw-demo","version":"0.0.1","main":"index.html"}
Run:
$ /path/to/nw. (suppose the current directory contains'package.json')
Note: on Windows, you can drag the folder containingpackage.json
tonw.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')
For more information on how to write/package/run apps, see:
And ourWiki for much more.
We use thegoogle group asour mailing list (use English only). Subscribe vianwjs-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 longer working can be fixed by replacingnode-webkit
withnwjs-general
(e.ghttps://groups.google.com/forum/#!msg/nwjs-general/doRWZ07LgWQ/4fheV8FF8zsJ
).
Issues are being tracked here on GitHub.
The source code for NW.js and the daily development spans across multiple repositories in this organization. This repository is for the purpose of issue tracking, landing page and part of the source code.
NW.js
's code in this repo uses the MIT license, see ourLICENSE
file. To redistribute the binary, seeHow to package and distribute your apps
The work is being sponsored by:
About
Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
Resources
License
Stars
Watchers
Forks
Packages0
Languages
- C++68.1%
- Python11.8%
- JavaScript7.1%
- Objective-C++6.4%
- HTML4.3%
- Objective-C1.3%
- Other1.0%