Will Tauri become the next big thing to build desktop apps?
Tauri is a free, open-source framework that allows developers to build minimal and compact desktop apps with any JavaScript front-end library.
Rust is a general-purpose statically-typed programming language that focuses on performance, safety, and concurrency. As it is popularity is growing, Rust community gained a proper attentive for Electron, which allows developers to build a desktop apps using web technologies, HTML, JavaScript, and JavaScript frameworks. So, here comes Tauri.
Tauri is a free, open-source framework that allows developers to build minimal and compact desktop apps with any JavaScript front-end library.
It currently supports Windows, macOS, and Linux. However, developers should expect mobile and WebAssembly support in the near future.
Tauri is in active development, and it is gaining new features, bug fixes with every release.
As it is the community is still small, and few applications are built using it. Also, the documents are still in development and missing some essential parts. However, the source code for many apps are available and can work as a great reference for newcomers.
Unlike Electron and similar Node.js based desktop frameworks, Tauri does not require localhost to run the apps, and does not use Chromium to run the web app which lowers the application size.
Application built with Tauri
Here are some apps built with the Tauri framework:
Features
- Easy to setup, install, configure and use
- Lightweight app
- Minimal footprint
- Command-line app
- It comes with JS API that works well with the Rust backend
- It offers Vue CLI plugin for Tauri
- Supports HOT reload
- Self-update
- Copy buffer
- Supports multi-window mode
- It supports transparent window mode
- Tray icon
- It offers a built-in system notification
- Builds Linux, macOS, and Windows binaries in no-time.
- Faster lunchtime than other frameworks on Linux, Windows, and macOS
- Supports Multithreading
- Custom App Icon
- Supports Sidecar Binaries
Platforms
Tauri runs on Windows, Linux, and macOS. It only requires Rust, and Node.js installed on your system.
It supports application building for Windows, macOS, and Linux, with many custom features like menu app for macOS, Tray icon support, App icons, Se
License
- Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy.
- MIT or MIT/Apache 2.0 where applicable.
- Logo: CC-BY-NC-ND
Resources
- https://tauri.studio/
- https://github.com/tauri-apps/tauri
- https://tauri.studio/v1/guides/getting-started/beginning-tutorial
- https://www.rust-lang.org/