MCPcopy Index your code
hub / github.com/tauri-apps/tauri

github.com/tauri-apps/tauri @tauri-v2.11.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release tauri-v2.11.5 ↗ · + Follow
4,990 symbols 13,731 edges 428 files 1,479 documented · 30% 3 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Tauri

status License test core FOSSA Status Chat Server website https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg support

Introduction

Tauri is a framework for building tiny, blazingly fast binaries for all major operating systems. 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
  • Native WebView Protocol (tauri doesn't create a localhost http(s) server to serve the WebView contents)
  • 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 9 and above
Android 7 and above (currently 8 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

Extension points exported contracts — how you extend this code

CommandArg (Interface)
Trait implemented by command arguments to derive a value from a [`CommandItem`]. # Command Arguments A command argumen [10 …
crates/tauri/src/ipc/command.rs
Allowlist (Interface)
Defines an allowlist type. [14 implementers]
crates/tauri-utils/src/config_v1/mod.rs
WindowBuilderBase (Interface)
Do **NOT** implement this trait except for use in a custom [`Runtime`] This trait is separate from [`WindowBuilder`] to [2 …
crates/tauri-runtime/src/window.rs
WindowExt (Interface)
(no doc) [4 implementers]
crates/tauri-runtime-wry/src/window/mod.rs
SampleExt (Interface)
Extensions to [`tauri::App`], [`tauri::AppHandle`] and [`tauri::Window`] to access the sample APIs. [1 implementers]
examples/api/src-tauri/tauri-plugin-sample/src/lib.rs
WebviewDef (Interface)
@ignore
packages/api/src/global.d.ts
Context (Interface)
(no doc) [2 implementers]
crates/tauri-bundler/src/error.rs
Context (Interface)
(no doc) [2 implementers]
crates/tauri-cli/src/error.rs

Core symbols most depended-on inside this repo

new
called by 1169
crates/tauri/src/tray/plugin.rs
to_string
called by 606
crates/tauri-cli/src/acl/permission/add.rs
clone
called by 414
crates/tauri-runtime/src/window.rs
push
called by 410
crates/tauri-utils/src/config.rs
as_ref
called by 253
crates/tauri-utils/src/assets.rs
invoke
called by 216
packages/api/src/core.ts
h
called by 216
crates/tauri/scripts/bundle.global.js
context
called by 203
crates/tauri-cli/src/error.rs

Shape

Method 2,617
Function 1,410
Class 671
Enum 216
Interface 76

Languages

Rust81%
TypeScript15%
Kotlin4%

Modules by API surface

crates/tauri/scripts/bundle.global.js316 symbols
crates/tauri-runtime-wry/src/lib.rs243 symbols
crates/tauri/src/webview/webview_window.rs203 symbols
crates/tauri/src/test/mock_runtime.rs177 symbols
crates/tauri/src/window/mod.rs173 symbols
crates/tauri-utils/src/config.rs128 symbols
crates/tauri/src/webview/mod.rs121 symbols
packages/api/src/window.ts117 symbols
crates/tauri-utils/src/config_v1/mod.rs95 symbols
crates/tauri-bundler/src/bundle/settings.rs86 symbols
crates/tauri/src/app.rs80 symbols
crates/tauri-cli/src/interface/rust.rs71 symbols

For agents

$ claude mcp add tauri \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page