talira

Build small, fast desktop and mobile apps with a web frontend and a Rust backend.

open sourceMIT OR Apache-2.0self-hostablefree

Tauri builds apps for Linux, macOS, Windows, Android and iOS from one codebase: the interface is any web frontend that compiles to HTML, CSS and JavaScript, and the application logic is Rust, with Swift and Kotlin for deeper system access on mobile. It renders with the operating system's own web view instead of bundling a browser engine, so a minimal app can be under 600 KB. The frontend calls Rust through invoke, and official plugins add the updater, notifications, file system, dialogs, clipboard, global shortcuts, deep links, autostart, SQL, an encrypted store, biometrics, NFC and barcode scanning. Security is a stated priority: Tauri has a security audit for each major and minor release, covering upstream dependencies too. Start a project with create-tauri-app from npm, Cargo or a shell. It is governed by the Tauri Programme within the Commons Conservancy.

Problems it solves

  • Electron apps are too big and use too much memory
  • build a desktop app with my existing React, Vue or Svelte frontend
  • ship one app to Windows, macOS, Linux, iOS and Android from a single codebase
  • write the backend of a desktop app in Rust
  • add auto-updates and native notifications to a cross-platform desktop app
  • make a small cross-platform app installer under a few megabytes
  • a secure alternative to Electron for desktop apps

Features

  • Linux, macOS, Windows, Android and iOS from one codebase
  • any HTML, CSS and JavaScript frontend framework
  • Rust backend with Swift and Kotlin bindings for plugins
  • system web view instead of a bundled browser engine
  • minimal apps under 600 KB
  • JavaScript to Rust calls with invoke
  • official plugins: updater, notifications, file system, dialogs, clipboard, global shortcuts, deep linking, autostart, SQL, store, Stronghold, biometrics, NFC, barcode scanner
  • security audit for each major and minor release
  • create-tauri-app scaffolding for npm, Yarn, pnpm, Deno, Bun and Cargo
  • TAO window and WRY web view libraries usable directly

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what Tauri does.

  1. Electron Build cross-platform desktop apps with JavaScript, HTML, and CSS
  2. Rune A native GPU-rendered Rust UI framework for macOS, Windows, Linux and the web, with its own renderer, text, layout and springs.
  3. NW.js Call all Node.js modules directly from DOM and Web Workers
  4. Capacitor Open source native runtime that turns web apps into iOS, Android and PWA apps

Compare Tauri with the top 3