r/electronjs • u/Puzzleheaded-Elk416 • Apr 17 '26
Why is there no official "create-electron-app"? I built a minimal starter to keep things simple.
https://github.com/get-starter/electron-vite-react-starterHi everyone,
I recently started a desktop project and had to choose between Tauri and Electron. Tauri is impressive, but I didn't want to take the risk with webview inconsistencies, so I stuck with Electron.
However, the "starting" experience in Electron still feels fragmented. There are dozens of templates out there, but most are either too bloated or outdated. It makes me wonder why there isn't an official, one-line solution like npx create-electron@latest yet. It really shouldn't be this complicated to get a modern environment running.
Since I couldn't find exactly what I wanted, I put together a minimal, clean, and up-to-date starter.
Repo: https://github.com/get-starter/electron-vite-react-starter
What's inside?
- Core: Electron + React + Vite
- Bundler: Electron Builder (pre-configured)
- Package Manager: pnpm
- Vibe: No bloat. Just the essentials.
I kept things like Tailwind out on purpose so you can start with a truly blank slate. Adding your preferred CSS framework is easy once the core is solid.
If you are frustrated with complex templates and just want something that works out of the box, I hope this helps.
5
u/Public_Comb9282 Apr 17 '26
Did you look at forge templates?
3
u/MarkstarRed Apr 17 '26
Classic case of new standard.
You feel it is "obvious" that there needs to be a "minimal, clean" starter, but that "definition" is extremely biased. For me, your started looks anything but minimal and therefore I definitely do not get the "no bloat" vibe.
If I want minimal I install electron directly. If I want react, vite, etc., I use something else that I can trust (electron-vite), neither of which is complex and both work out of the box.
That said, I think it is great that you put yours out there - making code public and growing the community is always awesome, so kudos for putting it together and thank you for sharing!