Tauri (software framework)

From Wikipedia, the free encyclopedia
Tauri
Original author(s)Daniel Thompson-Yvetot, Lucas Nogueira
Initial releaseJune 19, 2020; 3 years ago (2020-06-19)
Repositorygithub.com/tauri-apps/tauri
Written inRust & JavaScript
Operating systemLinux, macOS, Windows
LicenseMIT License, Apache License 2.0
Websitetauri.app
As ofApril 2024

Tauri is an open-source software framework designed to create cross-platform desktop applications on Linux, macOS and Windows using a web frontend. The framework functions with a Rust back-end and a JavaScript front-end[1] WebView 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 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 2024, Tauri v2 Beta was released, which includes mobile support for iOS and Android systems.[8]

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, which is known for its speed and security due to its memory safety features.[9] 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. ^ Beningo, Jacob (2023-01-17). "Memory safety in Rust". Embedded.com. Retrieved 2024-04-14.
  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.

External links[edit]