Sketching a cross platform app
summary
Shows how a web app becomes a desktop app by keeping the same UI and swapping only the platform layer: HTTP fetch calls become IPC via Electron + preload/contextBridge, server becomes a local Node backend and API handlers, and the DB stays Fastify + SQLite or direct DB calls. Demo repo implements read/update APIs, the preload exposes window.db, and the desktop build of Frappe Books reaches about 9,000 beta downloads while removing cloud dependency and preserving existing UI code.
AI-written summary Β· about
chapters (5)
- 0:00Introduction and context
- 1:06Web app architecture overview
- 3:14Desktop app with Electron
- 7:58Cross-platform code sharing
- 8:40Frappe Books features and launch
related talks
51mWrite once, run everywhere: ambitious cross-device web apps
45mBuilding Isomorphic Apps (Updated)
24mBuilding Realtime Singlepage Apps
29mThe Front-end Takeover
43mIsomorphic JavaScript apps
46mFront end technologies for desktop applications: embrace window.open()!
26mLocal First Svelte
51mBuilding Amazing Single Page Applications the Right Way
