Tauri

Tauri is a framework for building tiny, fast binaries for all major desktop and mobile platforms. Developers can integrate any frontend framework that compiles to HTML, JavaScript, and CSS for building their user experience while leveraging languages such as Rust, Swift, and Kotlin for backend logic when needed.

Create a project

❯ pnpm create tauri-app
...
✔ Project name · tauri-playground
✔ Identifier · com.tauri-playground.app
✔ Choose which language to use for your frontend · TypeScript / JavaScript - (pnpm, yarn, npm, deno, bun)
✔ Choose your package manager · pnpm
✔ Choose your UI template · Vanilla
✔ Choose your UI flavor · TypeScript

Template created! To get started run:
  cd tauri-playground
  pnpm install
  pnpm tauri android init

For Desktop development, run:
  pnpm tauri dev

For Android development, run:
  pnpm tauri android dev

run pnpm command with proxy

❯ HTTPS_PROXY=socks5://127.0.0.1:1080 pnpm tauri build

fixes

failed to bundle project: failed to run linuxdeploy

using NO_STRIP=true environment variable compiles fine without errors

NO_STRIP=true pnpm tauri build