Introduction
Tauri pairs a web frontend (your Svelte app) with a Rust backend, producing small native desktop apps. The frontend calls Rust through "commands".
How it fits together
- The frontend is a normal Svelte 5 + Vite app shown in the OS webview
- The core is a Rust process that owns native power (files, DB, OS APIs)
- They talk over a typed bridge:
invoke(frontend → Rust) and events (both ways)