qmetrics.net

Electron React Boilerplate

Electron and React starter for desktop applications

Electron React Boilerplate screenshot

Electron React Boilerplate combines Electron, React, React Router, and Vite tooling so teams can develop, hot-reload, and package cross-platform desktop apps from one template.

Overview

Electron React Boilerplate is a starting project for desktop applications that pair Electron with React. It wires together React Router, electron-vite, and fast refresh so UI changes can be previewed without losing application state during development.

Day-to-day workflows use npm scripts to launch the dev environment, build main, preload, and renderer bundles, preview production builds locally, and create installers through electron-builder. TypeScript-oriented templates are highlighted alongside JavaScript, with compile-time type checking called out as part of the scalable app story.

The template includes webpack-class optimizations such as minification by default, CSS modules and Sass handled through Vite, and patterns for SVG assets and native dependencies that stay external to bundled main-process code. Documentation, community chat, and showcase examples are hosted on the project site for teams adopting the stack.

It is aimed at developers who want a maintained foundation rather than assembling Electron and React integration themselves, with packaging scripts oriented toward shipping installers on the developer's current platform.

Key features

  • Electron plus React and React Router
  • Vite-based dev and production builds
  • Hot reload with state preservation
  • TypeScript-friendly project setup
  • electron-builder packaging scripts
  • Main, preload, and renderer bundles
  • CSS modules and Sass support
  • Documented debugging and port options

Use cases

  • Starting a new Electron desktop app
  • Prototyping cross-platform tools with React
  • Teams wanting typed React plus Electron
  • Projects that need installer packaging
  • Learning structured Electron architecture

Tags

Similar software

Vite

Frontend build tool for modern web projects

Vite is a build tool for modern web projects, combining a development server with an optimized production build. It targets a faster, leaner local development workflow.

★ 84.2k⟳ yesterdayMIT
Build & DeploymentDesktop/CLI app

Moby

Modular toolkit for assembling container systems

Moby bundles container build, runtime, registry, and orchestration components so integrators can craft custom container platforms instead of using a single fixed product.

★ 72.3k⟳ todayApache-2.0

Appwrite

Agent-ready open-source backend cloud with unified app services

Appwrite bundles auth, databases, storage, functions, messaging, realtime, hosting, and firewall for building apps. It runs as managed cloud or self-hosted on Docker

★ 58.7k⟳ todayBSD-3-Clause
Build & DeploymentSelf-hostable
Open Source Alternative to:Auth0Clerk+1

Wails

Go and web frontend toolkit for desktop apps

Wails bundles Go backends with HTML, CSS, and JavaScript UIs into native desktop binaries. It uses OS WebViews instead of shipping a full browser runtime.

★ 37.2k⟳ yesterdayMIT

JHipster

Full-stack generator for web apps and microservices

JHipster is a development platform that scaffolds, develops, and deploys modern web applications and microservice architectures. It wires front ends, back ends, and cloud-native deployment in one workflow.

★ 22.5k⟳ todayApache-2.0

Bit

Composable component build system for JavaScript teams

Bit organizes JavaScript and TypeScript code into versioned composable components. Teams compose shell apps, reuse UI and backend modules, and release with semantic versioning.

★ 18.5k⟳ 4 days agoApache-2.0