electron-base
CommunityBuild secure Electron desktop apps
Authoritsimonfredlingjack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust foundation for building secure, cross-platform desktop applications using Electron, Vite, React, and TypeScript, addressing common challenges like inter-process communication, authentication, and packaging.
Core Features & Use Cases
- Secure IPC: Implements type-safe communication between main and renderer processes using
contextBridge. - OAuth Integration: Guides through setting up OAuth flows with custom protocol handlers for secure authentication.
- Native Module Support: Details how to manage native modules like
better-sqlite3andelectron-store, including build and sandbox considerations. - Packaging: Covers configuration for
electron-builderfor macOS, Windows, and Linux. - Use Case: Developing a desktop application that requires secure user login via OAuth, local data storage, and needs to be packaged for distribution on multiple operating systems.
Quick Start
Follow the project structure and package.json updates outlined in the documentation to initialize a new Electron project.
Dependency Matrix
Required Modules
electronelectron-storebetter-sqlite3electron-builderelectron-rebuildvite-plugin-electronvite-plugin-electron-renderernode-machine-id
Components
scriptsreferencestemplates
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: electron-base Download link: https://github.com/itsimonfredlingjack/ELECTRON-prompt-builder/archive/main.zip#electron-base Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.