Build smaller, faster, and more secure desktop applications with a web frontend.
Go to file
Lucas Fernandes Nogueira a08e6ffa6f
feat(cli): enhance Android dev port forwarding, use host IP for android devices, closes #11137 (#11185)
* feat(cli): enhance Android dev port forwarding, closes #11137

this changes the `android dev` port forwarding (that is actually handled by the `android-studio-script` command - triggered by our Gradle plugin) with some enhancements:

- make the whole process more resilient by checking if the port was actually forwarded and rerunning the `adb reverse` command until it tells us the forward is ready
- if the `adb devices` list is empty, retry a few times (waiting a few seconds) to tolerate devices being booted - slows down "raw builds" (Build Project Android Studio menu for instance) that shouldn't happen often anyway - if you're running `android dev` you're usually running the app on a device instead of simply testing builds

* use host IP to run on android physical device
2024-10-02 07:01:29 -03:00
.cargo chore: cleanup and simplify examples (#10743) 2024-08-27 01:25:36 +03:00
.changes feat(cli): enhance Android dev port forwarding, use host IP for android devices, closes #11137 (#11185) 2024-10-02 07:01:29 -03:00
.devcontainer Change V1 links to V2 site (#11111) 2024-09-24 08:09:00 -03:00
.docker/cross fix(cross): Fix docker image and cross setup (#8094) 2023-10-26 13:58:56 -03:00
.github Change V1 links to V2 site (#11111) 2024-09-24 08:09:00 -03:00
.scripts/ci ci: fix a few relative paths (#10813) 2024-08-28 13:27:33 -03:00
.vscode ci: check toml formatting with taplo-cli (#10787) 2024-08-26 21:46:05 -03:00
audits add v2 report (#10554) 2024-08-10 14:52:09 -03:00
bench Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
crates feat(cli): enhance Android dev port forwarding, use host IP for android devices, closes #11137 (#11185) 2024-10-02 07:01:29 -03:00
examples refactor(core)!: pass webview label to uri scheme protocol handlers (#11163) 2024-09-29 07:41:26 -03:00
packages chore(deps) Update dependency @rollup/plugin-typescript to v12 (#11123) 2024-09-29 07:42:43 -03:00
supply-chain ci: check toml formatting with taplo-cli (#10787) 2024-08-26 21:46:05 -03:00
.editorconfig feat(icons): add and test icon generation for tauri (#55) 2019-11-17 22:30:14 +01:00
.gitignore Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
.prettierignore feat: add tauri-schema-worker (#10871) 2024-09-17 00:52:56 +03:00
.prettierrc chore: remove unneeded prettier config (#10885) 2024-09-04 09:59:41 +08:00
.taurignore chore: add root taurignore (#10805) 2024-08-28 17:48:39 +03:00
ARCHITECTURE.md Change V1 links to V2 site (#11111) 2024-09-24 08:09:00 -03:00
Cargo.lock fix(cli): iOS app signature not retaining entitlements, closes #11089 (#11184) 2024-10-01 10:15:42 -03:00
Cargo.toml feat: add Window::set_enabled and Window::is_enabled (#11154) 2024-09-27 14:35:01 -03:00
dependabot.yml Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
LICENSE_APACHE-2.0 feat(license): SPDX Headers (#1449) 2021-04-11 00:09:09 +02:00
LICENSE_MIT feat(license): SPDX Headers (#1449) 2021-04-11 00:09:09 +02:00
LICENSE.spdx chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
package.json fix(api): convert Position to PhsyicalPosition for TrayIconEvent (#11104) 2024-09-24 08:04:53 -03:00
pnpm-lock.yaml chore(deps) Update dependency @rollup/plugin-typescript to v12 (#11123) 2024-09-29 07:42:43 -03:00
pnpm-workspace.yaml feat: add tauri-schema-worker (#10871) 2024-09-17 00:52:56 +03:00
README.md Change V1 links to V2 site (#11111) 2024-09-24 08:09:00 -03:00
renovate.json Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
rustfmt.toml feat(cli): generate signature for updater-enabled bundles (#9446) 2024-04-30 18:45:24 +03:00
SECURITY.md ’ -> ' (#9686) 2024-05-07 11:22:36 +02:00

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 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