guasam /
electron-react-app
Modern desktop application starter kit with Electron, React, TypeScript, TailwindCSS & Shadcn/UI to build cross-platform apps.
Loading repository data…
kitlib / repository
Modern Desktop App Template: Tauri v2 + React 19 + TypeScript + shadcn/ui A high-performance, lightweight, and type-safe starter kit for cross-platform desktop development.
English | 简体中文
A modern desktop application template built with Tauri v2 + React 19 + TypeScript + shadcn/ui.
vX.Y.Z tagspnpm install
pnpm tauri dev
pnpm tauri build
pnpm release:version is the release entrypoint.
pnpm release:version
pnpm release:version --lang zh
pnpm release:version --lang en
It interactively handles the release preflight and version bump flow:
mainpackage.json, src-tauri/tauri.conf.json, and src-tauri/Cargo.toml are in syncoriginvX.Y.Z tagpnpm dlx shadcn@latest add <component-name>
Examples:
pnpm dlx shadcn@latest add button
pnpm dlx shadcn@latest add input
pnpm dlx shadcn@latest add dialog
pnpm format # Format code
pnpm format:check # Check code formatting
.
├── src/ # Frontend source code
│ ├── components/ # React components
│ │ └── ui/ # shadcn/ui components
│ ├── i18n/ # Internationalization
│ │ ├── index.ts # i18n configuration
│ │ └── locales/ # Translation files
│ ├── lib/ # Utility functions
│ ├── pages/ # Page components
│ │ ├── home.tsx # Main window page
│ │ ├── about.tsx # About window page
│ │ └── settings.tsx # Settings window page
│ └── main.tsx # Frontend entry and pathname-based page selector
├── src-tauri/ # Tauri/Rust backend
│ ├── src/ # Rust source code
│ └── tauri.conf.json # Tauri configuration
├── docs/ # Documentation
│ ├── AUTO_UPDATE.md # Auto update guide
│ ├── I18N.md # Internationalization guide
│ └── GLOBAL_SHORTCUT.md # Global shortcut guide
├── components.json # shadcn/ui configuration
└── package.json
This project uses GitHub Actions for automated builds and releases.
The workflow is triggered by pushing tags matching v* (for example v0.1.0).
The recommended release path is to run pnpm release:version, which creates the matching vX.Y.Z tag for you.
Manual tag push example:
git tag v0.1.0
git push origin v0.1.0
The workflow generates:
latest.json for auto-update supportTo enable automatic updates, you need to:
pnpm tauri signer generate -w ~/.tauri/myapp.keyTAURI_SIGNING_PRIVATE_KEY and TAURI_SIGNING_PRIVATE_KEY_PASSWORDNote: The public key and update endpoint placeholders in src-tauri/tauri.conf.json are replaced by GitHub Actions during the release build. Auto update depends on the published GitHub Release exposing latest.json from the latest release assets.
See Auto Update Configuration for detailed instructions.
To enable code signing, add these secrets in your GitHub repository settings:
TAURI_SIGNING_PRIVATE_KEY - Private key contentTAURI_SIGNING_PRIVATE_KEY_PASSWORD - Private key passwordThe build will work without these secrets, but the installer won't be signed.
To enable macOS and Linux builds, uncomment the corresponding platform configurations in .github/workflows/release.yml.
MIT
Selected from shared topics, language and repository description—not editorial ratings.
guasam /
Modern desktop application starter kit with Electron, React, TypeScript, TailwindCSS & Shadcn/UI to build cross-platform apps.
A modern, production-ready Electron template with React, TypeScript, Vite, Tailwind CSS, and shadcn/ui. Includes secure IPC, dark mode, and example system monitoring dashboard. Perfect starter for cross-platform desktop apps.
just-ign /
⚡ A modern Electron desktop app template powered by Vite, React, TypeScript, and Shadcn UI — fast, beautiful, and ready to ship.
adhilbathali /
Modern Electron + React + Tailwind + Shadcn/UI + Better-SQLite3 starter template for building fast, beautiful, and data-driven desktop apps.
DamienBecherini /
🚀 Production-ready boilerplate for modern, cross-platform desktop apps. Stack: Electron, React, Vite, TypeScript, TailwindCSS & ShadCN/UI. Pre-configured with secure IPC, path aliases, and build scripts for a fast start.
d-luca /
A modern desktop task board manager with Kanban interface, multi-project support, and embedded MongoDB. Built with Electron, React, TypeScript, and shadcn/ui. Zero configuration required - MongoDB auto-starts with the app.