Monorepo starter

One repo ships the site, the desktop app,
and the API.

A batteries-included full-stack starter from erlinerd. Wired up, gated by CI, ready on day zero.

Three apps, one install

landing

Next.js 16 · App Router

Shipping-ready site with Tailwind v4, Hono mounted at /api/*, and react-hook-form + zod.

desktop

Vite 8 · Electron

React 19 + Router 8, macOS / Windows / Linux builds, electron-updater wired.

server

Hono · Node.js

Vercel AI SDK streaming, Drizzle + LibSQL, lazy env, zero secrets.

@repo/ui

One shadcn/ui registry feeds both surfaces. Raw .tsx source, no build step, design tokens declared once.

@repo/db

Drizzle schema, a createDb() factory, and committed migrations. The same tables back the API and the desktop app.

Day zero

Apps talk to packages through workspace protocols. Nothing is duplicated across the tree, and each app runs on its own port.

pnpm install

pnpm dev

Runs with Node 22 and pnpm 9. The whole stack builds and tests with zero secrets: env keys are optional and validated lazily.

From the author

The author writes and builds at erlinerd.com.

erlinerd.com

Clone it today, ship your own product next week.

Use this template