功能 & 示例
Tauri 在设计之初就考虑到了可扩展性。在本页面中你将找到:
- 官方功能: Tauri 内置的功能与特性
- 社区资源: 由 Tauri 社区开发的更多插件与示例。你也可以在 Awesome Tauri 上贡献你自己的作品
- 支持表: 一份兼容性表格,展示了每个官方插件所支持的平台
使用搜索和筛选功能来查找功能或社区资源:
HTTP 客户端
访问用 Rust 编写的 HTTP 客户端。
Localhost
在生产环境中使用 localhost 服务器。
NFC
在 Android 和 iOS 设备上读取和写入 NFC 标签.
Shell
访问系统 shell 来生成子进程。
SQL
插件提供了一个接口,让前端可以通过 sqlx 与 SQL 数据库进行通信
Store
持久键值存储。
Stronghold
加密的、安全的数据库。
WebSocket
在 JavaScript 中使用 Rust 客户端打开 WebSocket 连接。
上传
通过 HTTP 上传文件
全局快捷方式
注册全局快捷方式。
剪切板
读取和写入系统剪贴板。
单例
确保一次只运行一个 Tauri 应用程序实例。
命令行接口 (CLI)
从命令行接口解析参数。
地理位置
获取并追踪设备的当前位置,包括海拔、航向和速度(如可用)等信息。
定位器(Positioner)
将窗口移动到公共位置。
对话框
本机系统对话框,用于打开和保存文件,以及消息对话框。
持久化作用域(Persisted Scope)
将运行时作用域的更改持久化到文件系统上。
指定打开应用
在外部应用中打开文件和URL。
操作系统信息
查看操作系统信息。
文件系统
访问文件系统。
日志记录
可配置的日志记录。
更新
Tauri 应用程序的应用内更新。
条形码扫描器
允许您的移动应用程序使用相机扫描 QR 码、EAN-13 和其他类型的条形码。
深度链接(deep-link)
将你的 Tauri 应用程序设置为 URL 的默认处理程序。
生物识别
在 Android 和 iOS 设备上向用户弹出生物识别认证。
窗口状态
保持窗口大小和位置。
自动启动
在系统启动时自动启动应用程序。
触觉反馈
Android 和 iOS 上的触觉反馈和振动。
进程
访问当前进程。
通知提示
向用户发送本地通知提示。
sentry-tauriCapture JavaScript errors, Rust panics and native crash minidumps to Sentry.
tauri-awesome-rpcCustom invoke system that leverages WebSocket.
tauri-nspanelConvert a window to panel.
tauri-nspopover-pluginNative NSPopover view for use in the status bar in macOS.
tauri-plugin-android-battery-optimizationCheck and request battery optimization exemptions on Android.
tauri-plugin-android-fsAccess the file system on Android.
tauri-plugin-aptabasePrivacy-first and minimalist analytics for desktop and mobile apps.
tauri-plugin-authAuth plugin for iOS that uses ASWebAuthenticationSession for authentication, which allows keychain access
tauri-plugin-blecCross platform Bluetooth Low Energy client based on btleplug.
tauri-plugin-cacheAdvanced disk caching solution with memory layer, TTL management, compression support, and cross-platform compatibility for desktop and mobile.
tauri-plugin-clipboardClipboard plugin for reading/writing clipboard text/image/html/rtf/files, and monitoring clipboard update.
tauri-plugin-context-menuNative context menu.
tauri-plugin-desktop-underlayAttach a window to desktop, below icons and above wallpaper.
tauri-plugin-device-infoAccess comprehensive device information including battery, network, storage, display, and system details across desktop and mobile.
tauri-plugin-dragoutNative macOS drag-out (file promise) support.
tauri-plugin-drpcDiscord RPC support.
tauri-plugin-fs-proExtended with additional methods for files and directories.
tauri-plugin-graphqlType-safe IPC for Tauri using GraphQL.
tauri-plugin-iapPlugin that enables full In-App Purchases flow for Android, macOS, iOS and Windows.
tauri-plugin-iapIn-app-purchase plugin for iOS that allows fetching, purchasing, and restoring of products.
tauri-plugin-in-app-reviewIn-app app rating prompts using native platform APIs.
tauri-plugin-ios-photosiOS Photos album and asset management via native APIs.
tauri-plugin-jsGive your app Electron-like JS backends with type-safe RPC powered by kkrpc. Supports Bun, Node.js, and Deno.
tauri-plugin-keep-screen-onDisable screen timeout on Android and iOS.
tauri-plugin-macos-permissionsSupport for checking and requesting macOS system permissions.
tauri-plugin-mobile-sharetargetHandle mobile Share Intents with a FIFO queue
tauri-plugin-mqttMQTT client support.
tauri-plugin-networkTools for reading network information and scanning network.
tauri-plugin-nosleepBlock the power save functionality in the OS.
tauri-plugin-otaOTA plugin for applications that just want to continuously deliever new JavaScript code based on a manfiest.
tauri-plugin-piniaPersistent Pinia stores for Vue.
tauri-plugin-prevent-defaultDisable default browser shortcuts.
tauri-plugin-pythonUse python in your backend.
tauri-plugin-screenshotsGet screenshots of windows and monitors.
tauri-plugin-serialportCross-compatible serialport communication tool.
tauri-plugin-serialpluginCross-compatible serialport communication tool for tauri 2.
tauri-plugin-sharesheetShare content to other apps via the Android Sharesheet or iOS Share Pane.
tauri-plugin-sveltePersistent Svelte stores.
tauri-plugin-system-infoDetailed system information.
tauri-plugin-tcpTCP socket support.
tauri-plugin-themeDynamically change Tauri App theme.
tauri-plugin-thermal-printerAdd support to handle thermal printers.
tauri-plugin-tracingStructured logging with the tracing crate, featuring JS-to-Rust log bridging, file rotation, and flamegraph profiling.
tauri-plugin-udpUDP socket support.
tauri-plugin-velesdbNative vector database plugin. 70µs semantic search, ≥95% recall, hybrid BM25+vector, offline-first, full ecosystem integrations and more.
tauri-plugin-viewView and share files on mobile.
tauri-remote-uiMake you web app bundle available as web page for test and development.
taurpcTypesafe IPC wrapper for Tauri commands and events.
AstrodonMake Tauri desktop apps with Deno.
axios-tauri-adapteraxios adapter for the @tauri-apps/api/http module.
axios-tauri-api-adapterMakes it easy to use Axios in Tauri, axios adapter for the @tauri-apps/api/http module.
Deno in TauriRun JS/TS code with Deno Core Engine, in Tauri apps.
faynosync-update-serverSelf-hosted Dynamic Update Server with statistics, supporting Tauri and other platforms. Flexible features for seamless app updates and insights.
kkrpcSeamless RPC communication between a Tauri app and node/deno/bun processes, just like Electron.
ngx-tauriSmall lib to wrap around functions from tauri modules, to integrate easier with Angular.
svelte-tauri-filedropFile drop handling component for Svelte.
Tauri SpectaCompletely typesafe Tauri commands.
tauri-htmx-extensionExtention for using htmx with Tauri apis.
tauri-macos-menubar-app-exampleExample macOS Menubar app project.
tauri-macos-spotlight-exampleExample macOS Spotlight app project.
tauri-mcp-serverMCP server and plugin for rapid development and debugging.
tauri-update-cloudflareOne-click deploy a Tauri Update Server to Cloudflare.
tauri-update-serverAutomatically interface the Tauri updater with git repository releases.
vite-plugin-tauriIntegrate Tauri in a Vite project to build cross-platform apps.
将鼠标悬停在 “*” 上以查看注释。了解详细信息,请访问插件页面
| Plugin | Rust Version | android | ios | linux | macos | windows |
|---|---|---|---|---|---|---|
| autostart | 1.77.2 | |||||
| barcode-scanner | 1.77.2 | |||||
| biometric | 1.77.2 | |||||
| cli | 1.77.2 | |||||
| clipboard-manager | 1.77.2 | |||||
| deep-link | 1.77.2 | |||||
| dialog | 1.77.2 | |||||
| fs | 1.77.2 | * | * | * | ||
| geolocation | 1.77.2 | |||||
| global-shortcut | 1.77.2 | |||||
| haptics | 1.77.2 | |||||
| http | 1.77.2 | |||||
| localhost | 1.77.2 | |||||
| log | 1.77.2 | |||||
| nfc | 1.77.2 | |||||
| notification | 1.77.2 | * | ||||
| opener | 1.77.2 | |||||
| os | 1.77.2 | |||||
| persisted-scope | 1.77.2 | |||||
| positioner | 1.77.2 | |||||
| process | 1.77.2 | |||||
| shell | 1.77.2 | |||||
| single-instance | 1.77.2 | |||||
| sql | 1.77.2 | |||||
| store | 1.77.2 | |||||
| stronghold | 1.77.2 | |||||
| updater | 1.77.2 | |||||
| upload | 1.77.2 | |||||
| websocket | 1.77.2 | |||||
| window-state | 1.77.2 | |||||
| system-tray | 1.77.2 | |||||
| window-customization | 1.77.2 |
© 2026 Tauri Contributors. CC-BY / MIT