~/talk

Building Desktop Apps with JavaScript

Talkat Connect.Tech 2024 · 2024-11-18..11-20· [javascript]
slides:none on file

Demonstrates turning a Vue site into a desktop app using Electron and Electron Forge with preload.js, main.js and IPC, producing a minimal packaged executable that measures Electron: 234 MB because Chromium is bundled; contrasts with a Rust-backed Tauri build that uses the OS webview and outputs Tauri: 6.1 MB. Requires Node 18.5+ (and Xcode/Rust for Tauri). Covers DevTools, testing (Spectron/Cypress/Playwright), native APIs, and shipping touchscreen installations that run offline.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:51What is Electron.js
  3. 3:35History of Electron.js
  4. 4:57Main and renderer processes
  5. 7:07Pros of building desktop apps
  6. 10:37Cons of Electron apps
  7. 12:23Popular Electron apps
  8. 13:27Requirements for Electron
  9. 13:48Turning a web app into desktop
  10. 16:16Electron Forge introduction
  11. 18:41File size comparison
  12. 19:22Customizing Electron apps
  13. 20:24Introducing Tauri
  14. 21:48Setting up Tauri
  15. 22:11Tauri platform support
  16. 22:57Building with Tauri
  17. 23:18Tauri file size advantage
  18. 24:45Post-build steps
  19. 25:06Performance optimization
  20. 26:30Testing and debugging
  21. 27:59Security best practices
  22. 31:11Use cases for Electron
  23. 32:58Summary and key benefits
  24. 35:03Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.