/tauriless

Run a Tauri-like application without installation.

Primary LanguageRust

Tauriless

Run a Tauri-like application without installation as a standalone binary.

See the related discussion for Tauri tauri-apps/tauri#3048.

Warnings

This workspace is a temporary solution to the problem of running Tauri-like applications without installation. It is not a replacement for Tauri, and it is not a long-term solution. It is a workaround for the time being. Also, a small API breakage is expected soon.

Also, the library was tested only for Windows and is not guaranteed to work on other platforms. If you want to help with testing on other platforms, please open an issue.

Currently, the library can't even guarantee that the binary will work on desktop machines of the majority of the users because of runtime dependencies on WebView2 and vcredist. While WebView2 comes pre-installed on Windows 10, it is not the case for vcredist. The dependency on the latter can be resolved by using target-feature=+crt-static.

Usage

The public API for tauriless consists of two parts:

  • tauriless crate for Core process of wry, which is a cross-platform WebView rendering library,
  • tauriless-js JavaScript/TypeScript npm library for the WebView process of wry application.

Tauriless crate

Crates.io Downloads Documentation License

See tauriless directory.

Tauriless-js npm package

npm npm npm

See tauriless-js directory.