A complete Electron + TypeScript starter (React, tRPC, SQLite, auto update, signed releases…), and its documentation.
Documentation: electron-appstack.com
The app you get after npm run dev: a todo list stored in SQLite and a settings page with light and dark themes. The license activation window appears once you turn licensing on.
Desktop
- Electron: cross-platform desktop runtime
- electron-vite: build tool and dev server
- Node.js: main process runtime
- V8 bytecode: compiled main process
Frontend
- React: UI library, version 19
- TypeScript: strict types everywhere
- Vite: instant hot reload
- TanStack Router: type-safe file-based routing
- TanStack Query: data fetching and caching
- Tailwind CSS: utility-first styling, v4
- shadcn/ui: accessible components
- Radix UI: headless primitives
- Lucide: icon set
- i18next: typed translations
Backend and data
- tRPC: end-to-end typed IPC
- Zod: runtime validation
- SQLite: embedded local database
- Drizzle ORM: typed queries and migrations
- electron-store: typed app config
Shipping and selling
- electron-builder: installers for every platform
- electron-updater: automatic updates
- GitHub Actions: build, sign and publish
- Changesets: versions and changelog
- LicenseManager.dev: license keys and activation
- Stripe: payments
Tooling
- Biome: linting and formatting
- Vitest: unit tests
- Claude Code: AGENTS.md and skills included
Copy the template with degit:
npx degit nick-keller/electron-appstack/template my-app
cd my-app
npm install
npm run devThis is a pnpm monorepo with two packages:
| Folder | Description |
|---|---|
template/ |
The Electron app template. This is what users clone with degit. |
docs/ |
The documentation website, built with Next.js and Nextra, deployed at electron-appstack.com. |
The template is self-contained: it must not depend on anything outside template/, since degit only copies that folder. Its README.md, AGENTS.md and .github/workflows are written for people who cloned it.
The template is installed with pnpm in this monorepo, but users install it with npm, so it ships its own package-lock.json. After changing template/package.json, run pnpm lock:template to update it (CI fails otherwise).
Requires Node.js 22.12+ and pnpm.
pnpm install| Command | Description |
|---|---|
pnpm dev:template |
Run the Electron template in development mode |
pnpm dev:docs |
Run the documentation website on localhost:3000 |
pnpm build |
Build both packages |
pnpm typecheck |
Type check both packages |
pnpm test |
Run the template unit tests |
pnpm check |
Lint and check formatting with Biome |
pnpm check:fix |
Fix lint and formatting issues |
pnpm lock:template |
Regenerate template/package-lock.json |
pnpm update:boilerplates |
Refresh GitHub stats and Electron versions in docs/data/boilerplates.json |
The landing page is docs/app/(home)/page.tsx. Documentation pages live in docs/content/ as MDX files, served under /doc. The sidebar order is set in docs/content/_meta.ts. Each page sets its search title and meta description in its frontmatter (title, description, keep them unique and around 60 and 150 characters); the sidebar label comes from _meta.ts. sitemap.xml, robots.txt and llms.txt are generated from docs/app/sitemap.ts, docs/app/robots.ts and docs/app/llms.txt/route.ts. Shared JSON-LD entities (author, organization) are in docs/app/structured-data.tsx.
The comparison page (/compare) and the ranking page (/best-electron-boilerplate) are generated from docs/data/boilerplates.json: features and stack are curated by hand, stars, last commits and Electron versions are refreshed with pnpm update:boilerplates. Scores and rankings are computed in docs/lib/boilerplates.ts.
Electron AppStack is open source under the MIT License. Contributions are welcome: open an issue or a pull request.
The license is also published at electron-appstack.com/doc/license, from docs/content/license.mdx: keep it in sync with LICENSE.md and template/LICENSE.md.



