This project template should help get you started developing a multi-platform desktop application with tray menu support using Tauri, SolidJS, Nano Stores, Typescript, Tailwind CSS, and Vite.
pnpm dlx tiged riipandi/tauri-start-solid my-app
- Install required toolchains: Rust, Node.js, PNPM, and Lefthook.
- Replace the project name in the
package.json
,Cargo.toml
, andtauri.conf.json
files. - Find and replace
tauri-start-solid
,tauri_start_solid
andTauri App
strings in the source files. - Set application identifier and other application metadata in
tauri.conf.json
file. - Install frontend dependencies by running
pnpm install
. - Run
pnpm dev
to start developing.
To build the application, run pnpm build
. You can also run pnpm build:debug
to build the application in debug mode, this will enable developer tools.
- Tauri v2 + essential plugins:
-
tauri-plugin-dialog
-
tauri-plugin-http
-
tauri-plugin-log
-
tauri-plugin-notification
-
tauri-plugin-os
-
tauri-plugin-positioner
-
tauri-plugin-process
-
tauri-plugin-shell
-
- Custom titlebar (desktop)
- Custom application menu
- Application updater
- Read values from
.env
file - Auto-generated Typescript types
- Theme switcher (dark & light mode)
- Application settings with separated window
- Global state with
persy
key-value database as backend - Frontend app with SolidJS + Tailwind CSS
- Frontend lint & format using Biome
- Git hooks tasks with Lefthook
- GitHub actions for CI testing and build
Visual Studio Code + Recomended extensions
Warning: "Tauri App" is damaged and can't be opened.
This warning is shown because the build is not signed. Run the following command to suppress this warning:
xattr -r -d com.apple.quarantine "/Applications/Tauri App.app"
- Tauri Examples Repo
- tauri-start-solid-example
- tauri-tray-icon-animation
- tauri-tray-menu
- tauri-window-controls
- tauri-plugin-theme
- hamza72x/web2app
- Create a Menu Bar App With Tauri
- Publishing Tauri to Apple's App Store
- GTK Installation Docs
- Tips For Faster Rust Compile Times
- Tauri State Management
Licensed under either of Apache License 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Copyrights in this project are retained by their contributors.
See the LICENSE-APACHE and LICENSE-MIT files for more information.
🤫 Psst! If you like my work you can support me via GitHub sponsors.