Repository navigation
Windows Desktop App
Summary
Add Electron support for offline desktop application
Changes
- Add Electron configuration (electron.js): Creates a desktop app wrapper with embedded Express server
- Update package.json: Add Electron dependencies and build scripts for Windows executable
- Local HTTP server: Uses Express to serve the web app locally, avoiding file protocol issues
- Offline-first: No external network dependencies - all resources served from local files
Key Features
- Fully functional offline image conversion
- Builds to standalone Windows executable (.exe)
Technical Approach
- Embeds an Express server inside Electron
- Serves the original build files via http://localhost:[random-port]
- Preserves all original web app functionality without modifications