UI框架-tauri

[删除(380066935@qq.com或微信通知)]

tauri-apps/tauri: Build smaller, faster, and more secure desktop applications with a web frontend. (github.com)

Introduction

Tauri is a framework for building tiny, blazingly fast binaries for all major desktop platforms. Developers can integrate any front-end framework that compiles to HTML, JS and CSS for building their user interface. The backend of the application is a rust-sourced binary with an API that the front-end can interact with.

The user interface in Tauri apps currently leverages tao as a window handling library on macOS and Windows, and gtk on Linux via the Tauri-team incubated and maintained WRY, which creates a unified interface to the system webview (and other goodies like Menu and Taskbar), leveraging WebKit on macOS, WebView2 on Windows and WebKitGTK on Linux.

To learn more about the details of how all of these pieces fit together, please consult this ARCHITECTURE.md document.

Get Started

If you are interested in making a tauri app, please visit the documentation website. This README is directed towards those who are interested in contributing to the core library. But if you just want a quick overview about where tauri is at in its development, here's a quick burndown:

Platforms

Tauri currently supports development and distribution on the following platforms:

PlatformVersions
Windows7 and above
macOS10.15 and above
LinuxSee below
iOS/iPadOS (coming soon)
Android (coming soon)

Linux Support

For developing Tauri apps refer to the Getting Started guide on tauri.app.

For running Tauri apps we support the below configurations (these are automatically added as dependencies for .deb and are bundled for AppImage so that your users don't need to manually install them):

  • Debian (Ubuntu 18.04 and above or equivalent) with the following packages installed:
    • libwebkit2gtk-4.0-37libgtk-3-0libayatana-appindicator3-11
  • Arch with the following packages installed:
    • webkit2gtkgtk3libayatana-appindicator1
  • Fedora (latest 2 versions) with the following packages installed:
    • webkit2gtk3gtk3libappindicator-gtk31

1 appindicator is only required if system trays are used