vite-electron-builder
- A secure Electron application template following latest security best practices and recommendations
- Uses latest Electron version with security patches and electron-builder for packaging
- Designed as a monorepo with independent packages for main process, preload scripts, and renderer
- Supports any web framework for the renderer (created via interactive
npm run init
command) - Key features:
- Lightweight design with minimal dependencies
- Automatic end-to-end testing with Playwright
- Continuous integration with type checking
- Auto-update functionality via GitHub Releases
- Secure IPC communication between processes
- Architecture follows Electron security guidelines with:
- Main process handling core Electron APIs
- Preload scripts for Node.js functionality
- Renderer process for UI (framework-agnostic)
- Includes environment variable management with Vite
- Provides useful npm scripts for development, building, testing and integration
[!NOTE] The project is maintained by a Ukrainian developer affected by the war, with requests for support.
vueviteelectronelectron-buildertemplatevite-electronbest-practicesboilerplatereactjavascriptpreactsolidsveltetypescipt
Author
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button