https://github.com/europanite/tauri_template
tauri_template
https://github.com/europanite/tauri_template
jest rust tauri tauri-app tauri-apps tauri-template tauri-v2 tauri2 template typescipt vite
Last synced: 26 days ago
JSON representation
tauri_template
- Host: GitHub
- URL: https://github.com/europanite/tauri_template
- Owner: europanite
- License: apache-2.0
- Created: 2026-05-14T12:51:20.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-22T15:01:11.000Z (2 months ago)
- Last Synced: 2026-05-22T16:54:37.089Z (2 months ago)
- Topics: jest, rust, tauri, tauri-app, tauri-apps, tauri-template, tauri-v2, tauri2, template, typescipt, vite
- Language: Shell
- Homepage: https://europanite.github.io/tauri_template/
- Size: 212 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# [Tauri Template](https://github.com/europanite/tauri_template "Tauri Template")
[](https://opensource.org/licenses/Apache-2.0)

[](https://github.com/europanite/tauri_template/actions/workflows/ci.yml)
[](https://github.com/europanite/tauri_template/actions/workflows/pages.yml)
[](https://github.com/europanite/tauri_template/actions/workflows/tauri.yml)
[](https://github.com/europanite/tauri_template/actions/workflows/release-desktop.yml)

A minimal template for building, validating, and releasing paid desktop applications continuously.
This template uses **Tauri v2 + Vite + React + TypeScript**.
## Initial setup
```bash
npm install
npm run tauri dev
```
## Local validation
```bash
npm run check
npm run build
npm run tauri build
```
Or run the bundled release check script:
```bash
bash scripts/release-check.sh
```
## Create a new app from this template
```bash
bash scripts/set-app-meta.sh \
"tauri_template" \
"com.example.tauri_template" \
"0.1.0"
```
Arguments:
1. `productName`
2. `identifier`
3. `version`
Then edit these files:
- `docs/APP_SPEC.md`
- `src/App.tsx`
- `src-tauri/src/lib.rs`
- `README.md`
## CI
The standard validation workflow runs on `push` and `pull_request`.
```bash
npm run check
cargo test --manifest-path src-tauri/Cargo.toml
```
```bash
$env:Path = "C:\Program Files\nodejs;$env:USERPROFILE\.cargo\bin;$env:Path"
cd C:\Users\miked\anime_tag_vault
npm.cmd exec -- tauri info
npm.cmd exec -- tauri build
```
## Release
Push a tag such as `v0.1.0` to create a GitHub Release draft and upload artifacts for each OS.
```bash
git tag v0.1.0
git push origin v0.1.0
```
You can also run the release workflow manually:
1. Open GitHub Actions.
2. Select the `release` workflow.
3. Click `Run workflow`.