The Internet belongs to everyone. Let’s keep it that way.

Protect Net Neutrality
Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.



No description

Salsita Software

on 21 March 2017

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of node-webkit


Node-webkit = browser + local system
How it works?
node-webkit best choice for
developing desktop application
... I'm noob in node.js, why it is not work in my browser ?
Answer101: you are not crazy, just use node-webkit
..LOL!....WTF?.... about 100 answers....

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

Node-webkit Features
First app
$ zip app.nw index.html package.json
$ ./nw app.nw (or for WIN nw.exe app.nw)
Fantastic! Node.js code in your browser app!
Simple menu
Cool! Native system menu from JS code!
webkit-node is webkit-based browser
You can use jquery or angular
Third party libraries/binaries
NPAPI plugins
<a href="C:/sci.pdf" type="application/pdf">sci.pdf</a>
Open new node-webkit window
var win ='local_file.html', {
"new-instance": true
Open new node-webkit window
with new node process
Add to package.json "node-remote": "server/*"
Access to node API from remote pages
Tray example
Tray icon shows OK
Move to node-webkit complex web app
Server-side authentication should be changed to client side auth (OAuth2).
Do nothing, just open url
Use file:// protocol
location.href = '';
Complex web app works remotely
Complex web app works locally
var win ='http://server/remote_file.html');
Fork node process
WIN, Linux, Mac
node.js based desktop app
NPAPI (C++) plugins
web-kit debug tools
Project home
Intel support
automated test (mocha)
Use express.js locally!forum/node-webkit
Developer forum
Igor Lobiv,
Full transcript