Tauri (software framework)

Tauri is an open-source software framework designed to create cross-platform desktop and mobile applications on Linux, macOS, Windows, Android and iOS using a web frontend. The framework functions with a Rust back-end and a JavaScript front-end[1] that runs on local WebView libraries using rendering libraries like Tao and Wry.[2][3] Tauri aims to provide a more lightweight alternative to similar existing frameworks such as Electron.[4][5]

Tauri
Original author(s)Daniel Thompson-Yvetot, Lucas Nogueira
Initial releaseJune 19, 2020; 4 years ago (2020-06-19)
Stable release
Tauri v2 / October 2, 2024; 2 months ago (2024-10-02)
Repositorygithub.com/tauri-apps/tauri
Written inRust & JavaScript
Operating systemLinux, macOS, Windows, Android, iOS
LicenseMIT License, Apache License 2.0
Websitetauri.app
As ofOctober 2nd, 2024

Tauri is governed by the Tauri Foundation within the Dutch non-profit Commons Conservancy.[6] As of 2024, Tauri is licensed and distributed under the MIT license, and Apache 2.0 license.[7]

Tauri 1.0 was released in June 2020. In early 2024, Tauri v2 Beta was released, which included mobile support for iOS and Android systems.[8] On October 2nd, 2024, Tauri v2 was released as a stable release.[9]

Architecture

edit

Central to Tauri's architecture are core components such as the Tauri crate, which serves as a hub for managing various functionalities like runtimes, macros, utilities, and APIs. The toolkit also includes essential tooling such as bundlers, CLI interfaces, and scaffolding kits, to streamline the development and deployment processes. Tauri supports cross-platform application window creation (TAO) and WebView rendering (WRY), which allows compatibility across macOS, Linux and Windows platforms.

Tauri is built using Rust, a programming language emphasizing performance, type safety, and memory safety. It also allows users the function to switch individual APIs on and off,[10] and provides an isolation pattern to prevent untrusted scripts from accessing the back-end from a WebView.[11]

See also

edit

References

edit
  1. ^ "JavaScript developers: Here are the top trends and tools". ZDNET. Retrieved 2024-04-22.
  2. ^ Alam, Tausif (2022-09-27). "Why People Hate Electron.js (and Why It's Still So Popular)". Analytics India Magazine. Retrieved 2024-04-22.
  3. ^ tauri-apps/tauri, Tauri, 2024-04-14, retrieved 2024-04-14
  4. ^ "Tauri vs Electron: The best Electron alternative created yet". www.astrolytics.io. Retrieved 2024-04-14.
  5. ^ "Creating Tiny Desktop Apps With Tauri And Vue.js". Smashing Magazine. 2020-07-08. Retrieved 2024-04-26.
  6. ^ foundation, The Commons Conservancy (2021-05-16). "Statutes of Tauri". Directives and Regulatory Archive of The Commons Conservancy. Retrieved 2024-04-22.
  7. ^ "Dashboard | FOSSA". app.fossa.com. Retrieved 2024-04-29.
  8. ^ "Announcing the Tauri v2 Beta Release". Tauri. 2024-02-02. Retrieved 2024-04-29.
  9. ^ "Tauri 2.0 Stable Release". Tauri. 2024-10-02. Retrieved 2024-10-02.
  10. ^ "Tauri VS. Electron - Real world application". www.levminer.com. Retrieved 2024-04-14.
  11. ^ Tyson, Matthew (2023-03-23). "Intro to Tauri: The Electron alternative". InfoWorld. Retrieved 2024-04-26.
edit