Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Building Desktop Applications with Electron, JS...
Search
Steve Kinney
October 07, 2016
Technology
180
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Building Desktop Applications with Electron, JSConf Colombia 2016
Steve Kinney
October 07, 2016
More Decks by Steve Kinney
See All by Steve Kinney
Enterprise UI, v2
stevekinney
0
290
React_Performance__2022.pdf
stevekinney
0
51
React Performance v2
stevekinney
0
85
Introduction to Testing
stevekinney
0
200
Web Security, Frontend Masters
stevekinney
0
4.5k
Making Music with the Web Audio API, JSConf Colombia 2023
stevekinney
0
140
React and TypeScript, Turing School
stevekinney
0
390
Redux Workshop, 2021-05-05
stevekinney
2
2.2k
TypeScript and React Utility Types
stevekinney
1
230
Other Decks in Technology
See All in Technology
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
330
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
280
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
re:Invent初参加で変わったこと、2回目にやってみたいこと(JAWS-UG彩の国埼玉 #12)
mhrtech
2
220
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
6
4.9k
Metadata - Section 1: HTML Basics
mohab1
0
120
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
470
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
6
4.6k
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
Classmethod Company Deck
satoshi7
1
680
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
120
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
6k
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Chasing Engaging Ingredients in Design
codingconduct
0
360
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
How to Think Like a Performance Engineer
csswizardry
28
2.9k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
410
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Transcript
http://bit.ly/electron-jsconfco Clone down the two repositories and run npm
install in each.
Building Desktop Applications with Electron Steve Kinney — @stevekinney JSConf
Colombia 2016
Hi. I'm Steve @stevekinney
http://turing.io
http://dinosaurjs.org
http://bit.ly/electronjs
None
None
None
Electron (née Atom Shell)
Electron (née Atom Shell) A framework for building cross-platform desktop
applications with web technologies.
None
So, why would you want to use this Electron thing?
You want to build an application that has advanced permissions
like accessing the file system.
You want to build a small application that lives in
the user’s menubar or system tray.
You want to build an app that works well offline.
You want to be able to Command/Alt-Tab to your application.
You want to build a GUI for your Node application.
None
None
None
None
sindresorhus/caprine
Why is Electron so super cool?
None
Chrome Content Module HTML5 support GPU acceleration Blink and V8
Node 6.5.0 Filesystem access Native modules
None
None
Electron uses a pretty modern build of Chromium. Electron: 1.4.3
Node: 6.5.0 Chromium: 53.0.2785.113 V8: 5.3.332.45
None
None
None
The web browser lives in a kind of sandbox with
a bunch of restrictions in place in the name of security.
None
None
Electron applications have all of the freedom of any other
Node process.
None
require(…);
None
None
None
hij1nx/levelui
None
None
None
None
None
None
None
None
None
None
muan/mojibar
How does Electron work?
Let's take a look at a everything from a high
level before we dig in.
npm install -g electron-prebuilt
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Inherently, offline first.
None
None
None
None
None
None
None
versus
None
None
None
None
None
None
None
No good.
None
electron.remote
None
None
None
None
None
None
None
None
None
Building a menu
electron.Menu
None
None
None
None
None
None
None
None
electron.globalShortcut
electron.globalShortcut
electron.globalShortcut
And more…
None
None
None
None
None
None
Let's get started.
None
npm install electron-prebuilt
npm install menubar
None
None
What about JSX or SASS or LESS?
npm install electron-prebuilt-compile npm install electron-packager-compile
What about Ember CLI?
ember install ember-electron
npm install electron-packager
None
None
sindresorhus/awesome-electron
None
Turing School: http://turing.io Electron in Action: http://bit.ly/electronjs ¡Gracias! Twitter: @stevekinney