forked from nwjs/nw.js
-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Alessandro edited this page Dec 27, 2013
·
75 revisions
Here is the Wiki, the encyclopedia of node-webkit. I know most of you just don't read documentations, but please at least skim the content, you could find answers to most of your questions here.
Overview:
- Features list
- Getting Started with node-webkit
- How to open a window
- How to run apps
- How to package and distribute your apps
- Using Node modules
- Differences of JavaScript contexts
- Troubleshooting
- Security
- Sample applications
Library Reference:
-
Manifest format — the format of
package.json
- Native UI API Manual — node-webkit API for native UI controls
- Changes related to Node — Things added/changed to Node API after bring in DOM
- Changes to DOM — Things changed to DOM to support native app better
- Node.js Manual & Documentation
Advanced:
- [Use app protocol to migrate code from your web site](wiki/App protocol)
- Build native modules with nw-gyp
- Command line arguments of 'nw' executable
- mini browser in iframe
- Frameless window and drag region
- The Kiosk mode
- File dialogs
- Support mp3 and H264 in video and audio tag
- Third party browser plugins
- WebGL support on Windows
-
About node.js server side script in node-webkit — wonder how to use
express
stuff in node-webkit? - Get version of node-webkit in app
- What if Node's require() conflicts with the same name in your code (e.g. RequireJS) ?
- Protect JavaScript source code with v8 snapshot
- The solution of lacking libudev.so.0
- Icons
- Shell — a collection of APIs that do desktop related jobs
- Devtools jail feature -- useful for IDE developers
- Application auto building scripts for Linux Windows and OSX
- Handling files and arguments
- Livereload node-webkit on changes
Testing
HTML5 Features:
- Play with window
- Dragging files into page
- Save persistent data in app
- Control camera and microphone with getUserMedia API
- Use datalist for auto completion
Debugging:
Traps: