A clean desktop application template that combines Tauri 2 with Svelte 5 + Shadcn-svelte, including automated CI/CD pipelines for Windows, Linux, and Mac builds.
  • Svelte 49.7%
  • TypeScript 29%
  • CSS 11.9%
  • JavaScript 4.1%
  • Rust 3.5%
  • Other 1.8%
Find a file
2024-11-18 18:03:37 -03:00
.github feat: add MIT license and update project metadata 2024-11-17 11:51:07 -03:00
.vscode feat: update deps & implement basic ci/cd config 2024-11-16 20:41:18 -03:00
src feat: update deps & implement basic ci/cd config 2024-11-16 20:41:18 -03:00
src-tauri cleanup: remove unused deps 2024-11-18 18:03:37 -03:00
static 🎉 initial commit 2024-11-04 13:24:55 -03:00
.gitignore feat: update deps & implement basic ci/cd config 2024-11-16 20:41:18 -03:00
.npmrc 🎉 initial commit 2024-11-04 13:24:55 -03:00
.prettierignore 🎉 initial commit 2024-11-04 13:24:55 -03:00
.prettierrc feat: update deps & implement basic ci/cd config 2024-11-16 20:41:18 -03:00
bun.lockb cleanup: remove unused deps 2024-11-18 18:03:37 -03:00
CHANGES.md feat: add MIT license and update project metadata 2024-11-17 11:51:07 -03:00
components.json feat: update deps & implement basic ci/cd config 2024-11-16 20:41:18 -03:00
LICENSE feat: add MIT license and update project metadata 2024-11-17 11:51:07 -03:00
package.json cleanup: remove unused deps 2024-11-18 18:03:37 -03:00
postcss.config.js feat: update deps & implement basic ci/cd config 2024-11-16 20:41:18 -03:00
README.md feat: add MIT license and update project metadata 2024-11-17 11:51:07 -03:00
svelte.config.js feat: update deps & implement basic ci/cd config 2024-11-16 20:41:18 -03:00
tailwind.config.ts feat: update deps & implement basic ci/cd config 2024-11-16 20:41:18 -03:00
tsconfig.json 🎉 initial commit 2024-11-04 13:24:55 -03:00
vite.config.ts feat: update deps & implement basic ci/cd config 2024-11-16 20:41:18 -03:00

Tauri 2 Svelte 5 Boilerplate

Simple boilerplate for Tauri 2 with Svelte 5 (and shadcn-svelte) using Bun runtime.

Requirements

In order to run this boilerplate, you need to install Bun and Rust. If you are on Windows I also recommend installing MSVC before the other dependencies (make sure to check the "Desktop development with C++" workload).

Some useful links:

Setup

git clone https://github.com/alysonhower/tauri2-svelte5-shadcn.git
cd tauri2-svelte5-shadcn
bun i

Useful commands

Start dev server

bun run tauri dev

Build executable

bun run tauri build

Svelte 5

https://svelte.dev/docs

Tauri 2

https://tauri.app/start/

shadcn-svelte

https://next.shadcn-svelte.com/

Note: Boilerplate tested on Windows 11 only.

License

This project is licensed under the MIT License - see the LICENSE file for details.