Tauri (software framework)
{{Short description|Open-source software framework designed to create cross-platform desktop and mobile applications}}
{{Use dmy dates|date=January 2025}}
{{Infobox software
| title = Tauri
| logo = TauriAppLogo.svg
| author = Daniel Thompson-Yvetot, Lucas Nogueira
| released = {{Start date and age|2020|06|19|df=y}}
| latest release version = Tauri v2.2.5
| latest release date = {{Start date and age|2025|01|25|df=y}}
| repo = {{URL|https://github.com/tauri-apps/tauri}}
| programming language = Rust & TypeScript
| operating system = Linux, macOS, Windows, Android, iOS
| license = MIT License, Apache License 2.0
| website = {{URL|https://tauri.app/}}
| AsOf = 27 January 2025
}}
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{{Cite web |title=JavaScript developers: Here are the top trends and tools |url=https://www.zdnet.com/article/javascript-developers-here-are-the-top-trends-and-tools/ |access-date=2024-04-22 |website=ZDNET |language=en}} that runs on local WebView libraries using rendering libraries like Tao and Wry.{{Cite web |last=Alam |first=Tausif |date=2022-09-27 |title=Why People Hate Electron.js (and Why It's Still So Popular) |url=https://analyticsindiamag.com/why-people-hate-electron-js-and-why-its-still-so-popular/ |access-date=2024-04-22 |website=Analytics India Magazine |language=en-US}}{{Citation |title=tauri-apps/tauri |date=2024-04-14 |url=https://github.com/tauri-apps/tauri |access-date=2024-04-14 |publisher=Tauri}} Tauri aims to provide a more lightweight alternative to similar existing frameworks such as Electron.{{Cite web |title=Tauri vs Electron: The best Electron alternative created yet |url=https://www.astrolytics.io/ |access-date=2024-04-14 |website=www.astrolytics.io |language=en}}{{Cite web |date=2020-07-08 |title=Creating Tiny Desktop Apps With Tauri And Vue.js |url=https://www.smashingmagazine.com/2020/07/tiny-desktop-apps-tauri-vuejs/ |access-date=2024-04-26 |website=Smashing Magazine |language=en}}
Tauri is governed by the Tauri Foundation within the Dutch non-profit Commons Conservancy.{{Cite web |last=foundation |first=The Commons Conservancy |date=2021-05-16 |title=Statutes of Tauri |url=https://dracc.commonsconservancy.org/0035/ |access-date=2024-04-22 |website=Directives and Regulatory Archive of The Commons Conservancy |language=en}} As of 2024, Tauri is licensed and distributed under the MIT license, and Apache 2.0 license.{{Cite web |title=Dashboard {{!}} FOSSA |url=https://app.fossa.com/projects/git%2Bgithub.com%2F./tauri-apps/tauri/refs/branch/dev/eff778b8f0c675fda3f6f6d1041bc94afd765d1c/browse/licenses |access-date=2024-04-29 |website=app.fossa.com}}
Tauri 1.0 was released in June 2022. In early 2024, Tauri v2 Beta was released, which included mobile support for iOS and Android systems.{{Cite web |date=2024-02-02 |title=Announcing the Tauri v2 Beta Release |url=https://beta.tauri.app/blog/tauri-2-0-0-beta/ |access-date=2024-04-29 |website=Tauri |language=en}} On 2 October 2024, Tauri v2 was released as a stable release.{{Cite web |date=2024-10-02 |title=Tauri 2.0 Stable Release |url=https://tauri.app/blog/tauri-20/ |access-date=2024-10-02 |website=Tauri |language=en}}
Architecture
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,{{Cite web |title=Tauri VS. Electron - Real world application |url=https://www.levminer.com/blog/tauri-vs-electron |access-date=2024-04-14 |website=www.levminer.com |language=en}} and provides an isolation pattern to prevent untrusted scripts from accessing the back-end from a WebView.{{Cite web |last=Tyson |first=Matthew |date=2023-03-23 |title=Intro to Tauri: The Electron alternative |url=https://www.infoworld.com/article/3690272/intro-to-tauri-the-electron-alternative.html |access-date=2024-04-26 |website=InfoWorld |language=en}}
See also
References
External links
- {{Official website|https://tauri.app/}}
- {{GitHub|tauri-apps/tauri}}
{{Software-stub}}
Category:Cross-platform desktop-apps development
Category:Cross-platform free software
Category:Free software for Linux
Category:Free software for Windows
Category:Free software for macOS