Tauri
Tauri is an open-source, Rust-based framework for building lightweight, secure cross-platform desktop (and mobile) applications using a web frontend rendered inside the operating system's native web view.
Definition
Tauri is an open-source, Rust-based framework for building lightweight, secure cross-platform desktop (and mobile) applications using a web frontend rendered inside the operating system's native web view.
Overview
Tauri lets developers build desktop apps with familiar web technologies — HTML, CSS, and JavaScript or TypeScript, often via frameworks like React or Vue.js — while the application shell and system-level logic are written in Rust. Instead of bundling an entire browser engine with every app, as Electron does with Chromium, Tauri renders the UI using the OS's already-installed web view (WebView2 on Windows, WebKit on macOS and Linux), which typically results in dramatically smaller installer sizes and lower memory usage. The Rust core also gives Tauri a smaller attack surface and finer-grained permission controls: developers explicitly allowlist which native APIs (filesystem, shell, network, and so on) a given window is allowed to call, rather than exposing full Node.js access by default. Application logic can be split between JavaScript in the frontend and Rust commands in the backend, invoked over an async message-passing bridge. Because it reuses standard web tooling, Tauri projects are commonly scaffolded with build tools like Vite and written in TypeScript, making it approachable for web developers who want to ship a native-feeling desktop app without learning a separate UI toolkit such as Qt or native Cocoa/Win32 APIs.
Key Features
- Renders the UI in the OS's native web view instead of bundling a full browser engine
- Rust-based core for smaller binaries, lower memory use, and a reduced attack surface
- Explicit, allowlist-based permission system for filesystem, shell, and network access
- Command bridge for calling Rust functions from JavaScript/TypeScript frontend code
- Cross-platform builds for Windows, macOS, and Linux from a single codebase
- Growing support for mobile targets (Android and iOS) alongside desktop
- Compatible with any frontend framework or build tool that outputs static web assets
- Auto-updater and native installer tooling built in