暫無描述

amrbashir b01893d07d WIP 9 月之前
.cargo c7b9a53525 chore: promote to v2 stable (#11198) 10 月之前
.changes eb61d44f9f feat(core): fallback to Window and AppHandle resource table on close (#11398) 9 月之前
.devcontainer e08c4e6888 Change V1 links to V2 site (#11111) 10 月之前
.docker 6bc3b0536d fix(cross): Fix docker image and cross setup (#8094) 1 年之前
.github 627e90c304 fix(ci): install librsvg2-dev on the publish cli workflow (#11331) 9 月之前
.scripts d14a2a55f0 ci: fix a few relative paths (#10813) 11 月之前
.vscode 70306dc79b ci: check toml formatting with taplo-cli (#10787) 11 月之前
audits 213c0b1b8e add v2 report (#10554) 1 年之前
bench 0ab2b33064 fix: downgrade MSRV to 1.77.2 to support Windows 7 (#11205) 10 月之前
crates eb61d44f9f feat(core): fallback to Window and AppHandle resource table on close (#11398) 9 月之前
examples 0ab2b33064 fix: downgrade MSRV to 1.77.2 to support Windows 7 (#11205) 10 月之前
packages b01893d07d WIP 9 月之前
supply-chain 70306dc79b ci: check toml formatting with taplo-cli (#10787) 11 月之前
.editorconfig 596f6218e6 feat(icons): add and test icon generation for tauri (#55) 5 年之前
.gitignore 36eee37220 Restructure the repository (#10796) 11 月之前
.prettierignore a1cce04260 feat: add tauri-schema-worker (#10871) 10 月之前
.prettierrc 0c46e48860 chore: remove unneeded prettier config (#10885) 11 月之前
.taurignore d1c97bce7b chore: add root taurignore (#10805) 11 月之前
ARCHITECTURE.md e08c4e6888 Change V1 links to V2 site (#11111) 10 月之前
Cargo.lock 37557ffa35 chore(deps) Update Tauri CLI (dev) (#10808) 9 月之前
Cargo.toml 0ab2b33064 fix: downgrade MSRV to 1.77.2 to support Windows 7 (#11205) 10 月之前
LICENSE.spdx 4b75834a41 chore: update license headers 2024 (#9043) 1 年之前
LICENSE_APACHE-2.0 bf82136466 feat(license): SPDX Headers (#1449) 4 年之前
LICENSE_MIT bf82136466 feat(license): SPDX Headers (#1449) 4 年之前
README.md e08c4e6888 Change V1 links to V2 site (#11111) 10 月之前
SECURITY.md 5529c5ab69 ’ -> ' (#9686) 1 年之前
dependabot.yml 36eee37220 Restructure the repository (#10796) 11 月之前
package.json 3e9fd0665c fix: npm audit (#11243) 10 月之前
pnpm-lock.yaml bd1b2a1e85 chore(deps) Update Tauri API Definitions (#10807) 9 月之前
pnpm-workspace.yaml a1cce04260 feat: add tauri-schema-worker (#10871) 10 月之前
renovate.json 36eee37220 Restructure the repository (#10796) 11 月之前
rustfmt.toml 1bb87a3a22 feat(cli): generate signature for updater-enabled bundles (#9446) 1 年之前

README.md

Tauri

status License test core FOSSA Status Chat Server website support

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, Windows, Linux, Android and iOS. To render your application, Tauri uses WRY, a library which provides a unified interface to the system webview, leveraging WKWebView on macOS & iOS, WebView2 on Windows, WebKitGTK on Linux and Android System WebView on Android.

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

Getting Started

If you are interested in making a tauri app, please visit the documentation website.

The quickest way to get started is to install the prerequisites for your system and create a new project with create-tauri-app. For example with npm:

npm create tauri-app@latest

Features

The list of Tauri's features includes, but is not limited to:

  • Built-in app bundler to create app bundles in formats like .app, .dmg, .deb, .rpm, .AppImage and Windows installers like .exe (via NSIS) and .msi (via WiX).
  • Built-in self updater (desktop only)
  • System tray icons
  • Native notifications
  • Localhost free (🔥)
  • GitHub action for streamlined CI
  • VS Code extension

Platforms

Tauri currently supports development and distribution on the following platforms:

Platform Versions
Windows 7 and above
macOS 10.15 and above
Linux webkit2gtk 4.0 for Tauri v1 (for example Ubuntu 18.04). webkit2gtk 4.1 for Tauri v2 (for example Ubuntu 22.04).
iOS/iPadOS (beta) 9 and above
Android (beta) 7 and above

Contributing

Before you start working on something, it's best to check if there is an existing issue first. It's also a good idea to stop by the Discord server and confirm with the team if it makes sense or if someone else is already working on it.

Please make sure to read the Contributing Guide before making a pull request.

Thank you to everyone contributing to Tauri!

Documentation

Documentation in a polyglot system is a tricky proposition. To this end, we prefer to use inline documentation in the Rust & JS source code as much as possible. Check out the hosting repository for the documentation site for further information: https://github.com/tauri-apps/tauri-docs

Partners

CrabNebula

For the complete list of sponsors please visit our website and Open Collective.

Organization

Tauri aims to be a sustainable collective based on principles that guide sustainable free and open software communities. To this end it has become a Programme within the Commons Conservancy, and you can contribute financially via Open Collective.

Licenses

Code: (c) 2015 - Present - The Tauri Programme within The Commons Conservancy.

MIT or MIT/Apache 2.0 where applicable.

Logo: CC-BY-NC-ND

FOSSA Status