Transform your desktop application vision into reality with our comprehensive starter kit. This production-ready platform eliminates setup overhead and accelerates development cycles, enabling teams to focus on building exceptional user experiences rather than configuring infrastructure.
Deploy cross-platform desktop applications in days, not months. Our pre-configured architecture eliminates weeks of setup and configuration, allowing your team to begin building features immediately.
Built with scalability in mind, our modular architecture supports complex applications with thousands of users. The use-case system ensures clean separation of concerns, making maintenance and expansion straightforward.
Powered by Rsbuild, our platform delivers lightning-fast build times and optimized bundles. Experience near-instantaneous hot module replacement during development and efficient production builds.
Reach users on Windows, macOS, and Linux with a single codebase. Our platform ensures consistent user experience across all operating systems while maintaining native performance characteristics.
Comprehensive tooling including automated linting, type checking, and formatting ensures code quality. Pre-configured path aliases and integrated development workflows maximize productivity.
- Frontend Framework: React 19 with TypeScript
- Desktop Runtime: Electron 40
- Build System: Rsbuild with optimized configurations
- Styling Solution: Styled Components with CSS-in-JS
- Window Management: Advanced WinBox integration
- IPC System: Automated inter-process communication
- Hot Module Replacement for instant feedback
- Comprehensive type safety with TypeScript
- Automated code formatting and linting
- Pre-configured path aliases for clean imports
- Modular use-case architecture
- Secure IPC communication patterns
- Cross-platform packaging with electron-builder
- Optimized production builds
- Automated distribution preparation
- Platform-specific installer generation
- Asset optimization and compression
- Node.js version 18.x or higher
- Bun package manager (recommended) or npm
- Git version control system
Execute these commands to initialize your development environment:
# Clone the repository
git clone <repository-url>
cd starter-rsbuild-electron-react
# Install dependencies
bun install
# Alternative with npm
npm installBegin development with a single command:
# Start development server with hot reloading
bun run dev
# Alternative with npm
npm run devPrepare your application for distribution:
# Create optimized production build
bun run build
# Package for cross-platform distribution
bun run distOur platform implements a sophisticated modular architecture that separates business logic from presentation layers:
- Frontend Use-Cases: Self-contained, configurable window components with isolated state management
- Backend Services: Main process handlers with secure IPC communication
- Registry System: Centralized component discovery and lifecycle management
- Auto Registration: Seamless integration between frontend and backend services
src/
├── electron-main/ # Main process implementation
│ ├── use-cases/ # Backend service handlers
│ ├── lib/ # Core utilities
│ └── main.ts # Application entry point
├── electron-preload/ # Secure preload scripts
├── renderer/ # React application layer
│ ├── use-cases/ # Frontend modules
│ ├── components/ # Reusable UI components
│ ├── styles/ # Global styling
│ └── index.tsx # Client-side entry
└── assets/ # Static resources
| Command | Description |
|---|---|
dev |
Launch development server with live reloading |
build |
Generate optimized production build |
dist |
Create distributable packages for all platforms |
lint |
Execute code quality analysis |
format |
Apply automated code formatting |
type-check |
Validate TypeScript compilation |
check-electron |
Verify Electron installation integrity |
Eliminate configuration overhead and begin feature development immediately. Our pre-built solutions handle complex Electron configurations, allowing your team to focus on business value.
The modular architecture ensures long-term maintainability. Clear separation of concerns and consistent patterns make onboarding new developers seamless.
Built with performance as a priority. Efficient bundling, optimized IPC communication, and memory management ensure smooth user experiences.
Stay current with industry standards. Our platform uses cutting-edge tools and follows best practices that evolve with technological advances.
Well-documented architecture with clear upgrade paths. The modular design accommodates new technologies without requiring complete rewrites.
- Software development teams building cross-platform desktop applications
- Startups requiring rapid prototyping and deployment
- Enterprises seeking standardized desktop application development
- Developers transitioning from web to desktop application development
- Organizations requiring consistent user experiences across operating systems
This project is licensed under the MIT License - see the LICENSE file for complete terms and conditions.