finds.dev

t3dotgg/yerba

Electron Turborepo monorepo with Next.js, Typescript, Vite and more

View on GitHub

★ 411TypeScriptMITupdated Sep 2022

// the take

A demo monorepo showing how to wire Electron, Next.js, and Turborepo together in a single repo. It's a starting point, not a production template — Theo built it to prove the structure works, not to ship it.

The layered Electron setup (main/preload as separate Vite builds) is the right architecture for modern Electron apps and saves you from figuring out that split yourself. Turborepo pipeline wiring for a mixed Electron+Next.js workspace is genuinely non-obvious and this gets it right. Shared tsconfig and eslint packages in /packages/config are a clean pattern that scales to more apps without duplication.

Last commit was September 2022 — Turborepo, Electron, and Next.js have all had breaking changes since then, so you'll be patching deps before you can use this. There's no IPC example between the renderer and main process, which is the first thing anyone actually needs in an Electron app. The shared UI package has a single Button component; it's scaffolding with a placeholder, not a real example of cross-app component sharing. No tests, no CI config, no packaging pipeline beyond what's inherited from vite-electron-builder.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
411
Forks
22
Language
TypeScript
License
MIT
Last commit
23 Sep 2022

// nearby

If yerba isn't quite it.

All repos →