topboilerplates.com

Electron Modular Boilerplate

Production-ready Electron starter with React 19, TypeScript and a DI-driven modular architecture

Electron Modular BoilerplateCheck Electron Modular Boilerplate
Electron Modular Boilerplate
Best for
Developers who want a dependency-injection-driven, modular architecture for an Electron desktop app rather than a flat unstructured starter.
Skip if
You want a widely-adopted, battle-tested Electron starter - this is a very small, early-stage project with limited community validation.

Electron Modular Boilerplate pairs Electron with React 19, TypeScript and Tailwind CSS around the author's own @devisfuture/electron-modular package, which brings decorators, a dependency-injection container, provider pattern and lifecycle hooks to structure main/renderer process code. It's a small, early-stage project aimed at developers who want a more disciplined architecture for Electron apps than the typical unopinionated starter.

Pros

  • Brings a real architectural pattern (DI container, providers, lifecycle hooks) to Electron instead of leaving structure up to you
  • Modern stack: React 19, TypeScript, Tailwind CSS
  • Free and open on GitHub

Cons

  • Very small project - only a handful of GitHub stars, limited community validation
  • No license file on the repo, so usage terms are unclear
  • Tightly coupled to the maker's own npm package (@devisfuture/electron-modular), adding a dependency most Electron starters don't have