$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Building Desktop Applications with Electron, JS...
Search
Steve Kinney
October 07, 2016
Technology
2
180
Building Desktop Applications with Electron, JSConf Colombia 2016
Steve Kinney
October 07, 2016
Tweet
Share
More Decks by Steve Kinney
See All by Steve Kinney
Introduction to Testing
stevekinney
0
100
Web Security, Frontend Masters
stevekinney
0
3.2k
Making Music with the Web Audio API, JSConf Colombia 2023
stevekinney
0
99
React and TypeScript, Turing School
stevekinney
0
330
Redux Workshop, 2021-05-05
stevekinney
2
2.1k
TypeScript and React Utility Types
stevekinney
1
200
A Gentle Introduction to GraphQL Resolvers
stevekinney
1
160
React State
stevekinney
11
10k
React State: useEffect and Custom Hooks
stevekinney
0
240
Other Decks in Technology
See All in Technology
段階的に進める、 挫折しない自宅サーバ入門
yu_kod
5
2.2k
著者と読み解くAIエージェント現場導入の勘所 Lancers TechBook#2
smiyawaki0820
7
2.8k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.3k
AI時代の開発フローとともに気を付けたいこと
kkamegawa
0
130
A Compass of Thought: Guiding the Future of Test Automation ( #jassttokai25 , #jassttokai )
teyamagu
PRO
1
190
Capture Checking / Separation Checking 入門
tanishiking
0
110
Uncertainty in the LLM era - Science, more than scale
gaelvaroquaux
0
450
“決まらない”NSM設計への処方箋 〜ビットキーにおける現実的な指標デザイン事例〜 / A Prescription for "Stuck" NSM Design: Bitkey’s Practical Case Study
bitkey
PRO
1
340
オープンデータの内製化から分かったGISデータを巡る行政の課題
naokim84
2
1.3k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.3k
手動から自動へ、そしてその先へ
moritamasami
0
170
Claude Code はじめてガイド -1時間で学べるAI駆動開発の基本と実践-
oikon48
42
25k
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
5.9k
Designing for Performance
lara
610
69k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
The Invisible Side of Design
smashingmag
302
51k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.1k
Writing Fast Ruby
sferik
630
62k
Making Projects Easy
brettharned
120
6.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
A Tale of Four Properties
chriscoyier
162
23k
4 Signs Your Business is Dying
shpigford
186
22k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
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