finds.dev← search

// the find

t3dotgg/yerba

★ 411 · TypeScript · MIT · updated Sep 2022

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

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.

View on GitHub →

// want more like this?

Every week we dig through GitHub and send you a few repos picked for what you're working on, each with an honest take like this one. Free. See a real issue →

// similar repos

Search the finds →