/tauri2-svelte5-shadcn

Modern desktop application template combining Tauri 2.0 with Svelte 5, featuring a polished UI using shadcn-svelte components and TailwindCSS. Create secure, cross-platform desktop apps with web technologies.

Primary LanguageSvelte

Tauri 2 + Svelte 5 + Shadcn Boilerplate

Tauri 2.0 Svelte 5 Bun shadcn-svelte

A modern, feature-rich boilerplate for building cross-platform desktop applications using Tauri 2, Svelte 5, and shadcn-svelte components. This template provides a solid foundation for developing performant desktop applications with a beautiful UI.

✨ Features

  • 🚀 Tauri 2.0 - Build smaller, faster, and more secure desktop applications
  • 🎯 Svelte 5 - Cybernetically enhanced web apps with runes
  • 💅 shadcn-svelte - Beautiful and accessible UI components
  • 🎨 TailwindCSS - Utility-first CSS framework
  • 📦 Bun - Fast JavaScript runtime and package manager
  • 🔧 TypeScript - Type-safe development
  • 🎭 Pre-configured development environment

🚀 Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

  1. Bun - Bun installation
  2. Rust - Rust installation
  3. For Windows Users:

Installation

  1. Clone the repository:
git clone https://github.com/alysonhower/tauri2-svelte5-shadcn.git
  1. Navigate to the project directory:
cd tauri2-svelte5-shadcn
  1. Install dependencies:
bun install

🛠️ Development

Start Development Server

bun run tauri dev

Build Production Release

bun run tauri build

Code Formatting

bun run format

Adding UI Components

To add shadcn components (e.g., button):

bunx shadcn-svelte@latest add button

📚 Usefull Links

🤝 Contributing

Contributions are welcome! Feel free to:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a Pull Request

Please ensure your PR follows the project's coding standards and includes appropriate tests.

⚠️ Platform Support

Currently tested and verified on:

  • ✅ Windows 11