
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
create-tauri-ui
Advanced tools
CLI to scaffold Tauri desktop apps with shadcn/ui. Drives the upstream shadcn and create-tauri-app CLIs — no local template tree to maintain.
# bun
bun create tauri-ui my-app
bunx create-tauri-ui@latest my-app
# npm
npm create tauri-ui@latest my-app
npx create-tauri-ui@latest my-app
cd my-app
bun install
bun run tauri dev
To regenerate the Tauri icon set from the included source image:
bunx tauri icon app-icon.png
Bun is required in generated projects.
Usage: create-tauri-ui [target-dir] [options]
Options:
-t, --template <name> vite | next | start | react-router | astro
--identifier <value> Tauri app identifier (e.g. com.example.myapp)
--preset <value> shadcn preset (default: b0)
--size-optimize optimize release binaries for size
--no-size-optimize skip size optimization
--starter include the starter dashboard
--no-starter skip the starter dashboard
--invoke-example include the Rust invoke example
--no-invoke-example skip the Rust invoke example
--workflow include the GitHub release workflow
--no-workflow skip the GitHub release workflow
-f, --force overwrite an existing target directory
-y, --yes accept all defaults
-v, --version display version
-h, --help display help
Vite app with all defaults:
npm create tauri-ui@latest my-app -- --template vite --yes
Next.js app, no dashboard, no workflow:
npm create tauri-ui@latest my-app -- --template next --yes --no-starter --no-workflow
Astro app with a custom bundle identifier:
bun create tauri-ui my-app --template astro --identifier com.example.astroapp --yes
Vite app with size-optimized release binary:
bun create tauri-ui my-app --template vite --size-optimize --yes
Every generated project gets:
src-tauri native layer (from create-tauri-app)shadcn CLI)vite, next, start, react-router, astro1400Ă—918 main windowselect-none, intrinsic selectable allowlist, .ui-selectable utility classapp-icon.png source assetOptional (prompted during scaffolding, or passed as flags):
| Battery | Flag | Notes |
|---|---|---|
| Starter dashboard | --starter / --no-starter | based on dashboard-01 |
| Rust invoke example | --invoke-example / --no-invoke-example | |
| Size optimization | --size-optimize / --no-size-optimize | ~65% smaller release binary (9 MB → 3.1 MB) |
| GitHub release workflow | --workflow / --no-workflow |
| Template | Status |
|---|---|
vite | smoke-tested end to end |
next | stable |
react-router | stable |
astro | stable |
start (TanStack) | experimental — validate carefully after changes |
Scaffolding into . (current directory) is not supported yet.
prompts → shadcn init → create-tauri-app (temp dir) → merge src-tauri → apply framework patches → add batteries
Local asset surface is intentionally small:
assets/app-icon.png
assets/release.yml.tmpl
No full frontend templates are shipped. The upstream CLIs do the heavy lifting; this package handles the merge, patching, and battery injection.
Run from the monorepo root:
bun run --cwd packages/create-tauri-ui check-types
bun run --cwd packages/create-tauri-ui build
Run the local build directly:
bun run --cwd packages/create-tauri-ui start -- --help
Type check + build:
bun run --cwd packages/create-tauri-ui check-types
bun run --cwd packages/create-tauri-ui build
Single template smoke test:
rm -rf /tmp/ctui-vite
node packages/create-tauri-ui/index.js /tmp/ctui-vite --template vite --yes --no-workflow
cd /tmp/ctui-vite && bun install && bun run build
All templates:
for template in vite next start react-router astro; do
dir="/tmp/create-tauri-ui-$template"
rm -rf "$dir"
node packages/create-tauri-ui/index.js "$dir" --template "$template" --yes --no-workflow
(cd "$dir" && bun install && bun run build) || exit 1
done
MIT
FAQs
🦀 Create modern Tauri desktop apps in just a few simple steps.
The npm package create-tauri-ui receives a total of 403 weekly downloads. As such, create-tauri-ui popularity was classified as not popular.
We found that create-tauri-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.