tauri

Installation
SKILL.md

Tauri

Overview

Tauri is a framework for building desktop and mobile applications using web technologies (HTML, CSS, JavaScript/TypeScript) for the UI and Rust for the backend logic. It produces small, fast binaries by leveraging the OS webview instead of bundling a browser engine. The IPC layer connects the frontend to Rust commands through a capability-based permission system.

When to use: Cross-platform desktop/mobile apps with web UIs, system-level integrations (tray, notifications, file system), apps requiring small bundle sizes, security-sensitive applications needing fine-grained permission control.

When NOT to use: Pure web apps with no native requirements, Electron apps that depend heavily on Node.js APIs with no Rust migration path, projects where the team has no capacity to maintain Rust code.

Quick Reference

Pattern API / Config Key Points
Create project cargo create-tauri-app or pnpm create tauri-app Scaffolds Rust backend + frontend framework
Define command #[tauri::command] fn name() {} Must register in generate_handler!
Invoke from frontend invoke('cmd_name', { arg: value }) Returns Promise, args as camelCase JSON
Emit event (frontend) emit('event-name', payload) Global event, all listeners receive
Listen event listen('event-name', handler) Returns unlisten function
Related skills
Installs
42
GitHub Stars
11
First Seen
Feb 23, 2026