SlideShare a Scribd company logo
Node-webkit
An magic of Make desktop app from your Web app.
양욱진 (Ukjin Yang)
http://hazard.kr
ukjinplant@msn.com
https://github.com/composite
프리랜서 개발자는 어떻게 웁니까? 프프 하고 웁니다.
Node-webkit
an app runtime based on Chromium and node.js.
1
2
3
4
5
6
7
8
9
10
<!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>
1
2
3
4
{
"name": "nw-demo",
"main": "index.html"
}
Index.html
Package.json
Works on…
Windows (32 bit)
Mac (32 bit, 10.7+)
Linux (32/64 bit)
Node-webkit Background
 Created by Roger Wang. Supported by Intel Open Source Technology Center.
 Open sourced at github on Dec’ 7 2011.
 11,184 Stars, 1,007 Watches, 1,197 Forks.
 Keep going updates, many communications, more showcases.
Structure
Node.js
Chrome
Embedded
require
process
global
graceful
HTML5
CSS3
WebGL
A/V
V8 js
App.nw
cat nw app.nw > app
node-webkit Support
Node.js Backend
Chromium
Front-end
jade
underscore
global
graceful
jQuery
bootstrap
Dojo
Ext.js
Third party libraries
Native
module
via nw-gyp
net
crypto
fs
process
Built-in
Node-webkit built-in UI features
 Frameless window
 In-app Menu
 File dialogs
 Tray
 Kiosk mode
 Shell execute
 Basic window functions (minimize, maximize, etc.)
 Transparent window not supported perfectly yet.
Use cases
https://github.com/rogerwang/node-webkit/wiki/List-of-apps-and-companies-using-node-webkit
How to make a my app?
3 step easy develop a your app.
1. Make your web app
Just make like a web site.
Need a node.js modules?
Just type (ex: jade)
/path/to/your/app$ npm install jade
Bower works too.
2. package.json
You must make this file for define your node-webkit app.
node-webkit : Make a magic from your a desktop app to desktop app!
3. RUN your app!
Node-webkit will cast a magic of make desktop app from your web app.
How to run your app?
 Zip your app path, and rename extension to .nw
 Or keep it. You can run app with your app folder.
 And type it: $ nw /path/to/your/app
 Note for windows users: just drag your app path or zip file into nw.exe
How to make self executable app?
 Windows
$ copy /b nw.exe+app.nw app.exe
(note: when deploy, you must ship your app with “nw.pak” and “icudt.dll”.)
(If you using video or audio, ffmpegsumo.dll will required.)
(“libEGL.dll” and “libGLESv2.all”files will support WebGLin your app.)
 Mac OS X
$ cp app.nw node-wiki.app/Contents/Resources
And you need to modify following files to make a real distributionof yours:
Contents/Resources/app.icns: icon of your app.
Contents/Info.plist: the apple package description file.
 Linux
$ cat /usr/bin/nw app.nw > app && chmod +x app
(note: when deploy, you must ship your app with “nw.pak”.)
(If you using video or audio, libffmped.so will required.)
Embed native module with nw-gyp
 Same as node-gyp, but you need install nw-gyp.
$ npm install -g nw-gyp
binding.gyp: {
"targets": [
{
"target_name": "foo",
"sources": [ "foo.cc" ]
}
]
}
$ nw-gyp configure --target=0.8.5 # nw version
$ nw-gyp build
Snapshot
 Experimental feature.
 Secure your js source but too slow, and not perfectly run.
 apply only one snapshot file per app.
$ nwsnapshot --extra_code foo.js foo.bin
In package.json:
. . .
"snapshot": "foo.bin“
. . .
Node-webkit IDE feature on Intel XDK
 http://software.intel.com/en-us/blogs/2013/09/06/why-intel-xdk-new
Other node.js webkit frameworks
 App.js
 DeskShell
 Brackets-shell
 Sencha Desktop – NOT FREE. NOT SUPPORT MANY FEATURES.
Demo time
W.. What?
Making business app? It’s possible!
exclude excel feature yet.
https://github.com/composite/NodePlatform
Any questions?
I have NO idea.
Tank you.
Yes. that’s just a spelling error here. But I’ll not fix because I’m a ANGRY DEVELOPER!
끇
Click image to view a author image.

More Related Content

What's hot (20)

PDF
Docker Tooling for Eclipse
Max Andersen
 
PDF
Introduction to Express and Grunt
Peter deHaan
 
PPTX
Grunt and Bower
George Estebe
 
PDF
Production Ready Javascript With Grunt
XB Software, Ltd.
 
PDF
Preprocessor Workflow with Grunt
Vlad Filippov
 
PDF
Using Minikube for Node.js development
Troy Connor
 
PDF
Paris Android User Group - Build 3D web, mobile and desktop applications with...
Minko3D
 
PDF
Building desktop applications with web technologies - ELECTRON the easy way
stefanjudis
 
PDF
Labels, Labels, Labels
Docker, Inc.
 
PDF
Front-end development automation with Grunt
benko
 
PDF
Modern Web Applications Utilizing HTML5 (Dev Con TLV 06-2013)
Ido Green
 
PDF
Running jenkins in a public cloud - common issues and some solutions
Andrey Devyatkin
 
PPTX
Build your own CI/CD with docker, net core and azure
Pau López
 
PDF
Puppeteer - Headless Chrome Node API
Wilson Su
 
PPTX
Володимир Дубенко "Node.js for desktop development (based on Electron library)"
Fwdays
 
PDF
Docker, Ansible and Symfony micro-kernel
DrupalCamp Kyiv
 
PDF
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
Riza Fahmi
 
PDF
Composer and deployer for enterprise
Elena Pustovoit
 
PDF
Developing apps in Windows Containers using Docker
Naeem Sarfraz
 
PDF
Puppeteer: Getting Started
HyunSeob Lee
 
Docker Tooling for Eclipse
Max Andersen
 
Introduction to Express and Grunt
Peter deHaan
 
Grunt and Bower
George Estebe
 
Production Ready Javascript With Grunt
XB Software, Ltd.
 
Preprocessor Workflow with Grunt
Vlad Filippov
 
Using Minikube for Node.js development
Troy Connor
 
Paris Android User Group - Build 3D web, mobile and desktop applications with...
Minko3D
 
Building desktop applications with web technologies - ELECTRON the easy way
stefanjudis
 
Labels, Labels, Labels
Docker, Inc.
 
Front-end development automation with Grunt
benko
 
Modern Web Applications Utilizing HTML5 (Dev Con TLV 06-2013)
Ido Green
 
Running jenkins in a public cloud - common issues and some solutions
Andrey Devyatkin
 
Build your own CI/CD with docker, net core and azure
Pau López
 
Puppeteer - Headless Chrome Node API
Wilson Su
 
Володимир Дубенко "Node.js for desktop development (based on Electron library)"
Fwdays
 
Docker, Ansible and Symfony micro-kernel
DrupalCamp Kyiv
 
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
Riza Fahmi
 
Composer and deployer for enterprise
Elena Pustovoit
 
Developing apps in Windows Containers using Docker
Naeem Sarfraz
 
Puppeteer: Getting Started
HyunSeob Lee
 

Viewers also liked (9)

PDF
Lease App Wireframes in Balsamiq
David Ray Jr.
 
PDF
Lease App Presentation
David Ray Jr.
 
PDF
Remote Desktop App: Splashtop 2 Take a Tour
Splashtop Inc
 
PDF
WebApp #3 : API
Jean Michel
 
PPT
Floodmap Desktop for ArcGIS
ewug
 
PDF
Desktop apps with node webkit
Paul Jensen
 
PPT
FUNCTIONS OF INSURANCE
Aftab Mulla
 
PPTX
insurance sector ppt
Jay Shah
 
PPTX
Ppt insurance ...
Sham Ghuge
 
Lease App Wireframes in Balsamiq
David Ray Jr.
 
Lease App Presentation
David Ray Jr.
 
Remote Desktop App: Splashtop 2 Take a Tour
Splashtop Inc
 
WebApp #3 : API
Jean Michel
 
Floodmap Desktop for ArcGIS
ewug
 
Desktop apps with node webkit
Paul Jensen
 
FUNCTIONS OF INSURANCE
Aftab Mulla
 
insurance sector ppt
Jay Shah
 
Ppt insurance ...
Sham Ghuge
 
Ad

Similar to node-webkit : Make a magic from your a desktop app to desktop app! (20)

PPTX
Building an Ionic hybrid mobile app with TypeScript
Serge van den Oever
 
PDF
Tutorial: Develop Mobile Applications with AngularJS
Philipp Burgmer
 
PPTX
Introduction to node.js By Ahmed Assaf
Ahmed Assaf
 
PDF
The Ring programming language version 1.8 book - Part 85 of 202
Mahmoud Samir Fayed
 
PPTX
Electron - cross platform desktop applications made easy
Ulrich Krause
 
PDF
Making your app soar without a container manifest
LibbySchulze
 
PDF
Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...
Ted Won
 
PDF
Mobile development in 2020
Bogusz Jelinski
 
PDF
Kubernetes for the PHP developer
Paul Czarkowski
 
PPTX
Phonegap android angualr material design
Srinadh Kanugala
 
PDF
2015 DockerCon Using Docker in production at bity.com
Mathieu Buffenoir
 
PPTX
NDK Introduction
RAHUL TRIPATHI
 
PDF
DockerCon EU 2015: Trading Bitcoin with Docker
Docker, Inc.
 
PPTX
Docker 101
Kevin Nord
 
PPTX
Fullstack workshop
Assaf Gannon
 
PDF
The Ring programming language version 1.7 book - Part 82 of 196
Mahmoud Samir Fayed
 
PPTX
Angularjs Tutorial for Beginners
rajkamaltibacademy
 
PDF
Taking The Cloud Native
Corey Clark, Ph.D.
 
PPT
Ayw android env_setup
pbeerak
 
PPTX
Understanding NuGet implementation for Enterprises
J S Jodha
 
Building an Ionic hybrid mobile app with TypeScript
Serge van den Oever
 
Tutorial: Develop Mobile Applications with AngularJS
Philipp Burgmer
 
Introduction to node.js By Ahmed Assaf
Ahmed Assaf
 
The Ring programming language version 1.8 book - Part 85 of 202
Mahmoud Samir Fayed
 
Electron - cross platform desktop applications made easy
Ulrich Krause
 
Making your app soar without a container manifest
LibbySchulze
 
Jenkins X Hands-on - automated CI/CD solution for cloud native applications o...
Ted Won
 
Mobile development in 2020
Bogusz Jelinski
 
Kubernetes for the PHP developer
Paul Czarkowski
 
Phonegap android angualr material design
Srinadh Kanugala
 
2015 DockerCon Using Docker in production at bity.com
Mathieu Buffenoir
 
NDK Introduction
RAHUL TRIPATHI
 
DockerCon EU 2015: Trading Bitcoin with Docker
Docker, Inc.
 
Docker 101
Kevin Nord
 
Fullstack workshop
Assaf Gannon
 
The Ring programming language version 1.7 book - Part 82 of 196
Mahmoud Samir Fayed
 
Angularjs Tutorial for Beginners
rajkamaltibacademy
 
Taking The Cloud Native
Corey Clark, Ph.D.
 
Ayw android env_setup
pbeerak
 
Understanding NuGet implementation for Enterprises
J S Jodha
 
Ad

Recently uploaded (20)

PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Per Axbom: The spectacular lies of maps
Nexer Digital
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Per Axbom: The spectacular lies of maps
Nexer Digital
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 

node-webkit : Make a magic from your a desktop app to desktop app!