API Reference ex_tauri v#0.2.0

View Source

Modules

ExTauri provides integration between Phoenix and Tauri for building native desktop applications.

Query application info and control the app lifecycle from your LiveView.

Control launch-at-login from your LiveView.

Read and write the system clipboard from your LiveView.

Talk to the Tauri frontend from server-side Elixir — no LiveView required.

Open native file and message dialogs from your LiveView.

Subscribe to Tauri events from your LiveView.

Read and write files on the desktop filesystem from your LiveView.

Register app-wide keyboard shortcuts from your LiveView.

Provides a LiveView JS hook for bridging Phoenix LiveView with Tauri APIs.

Callback-style responses for Tauri commands — use this in your LiveViews.

Send native desktop notifications from your LiveView.

Query OS information from your LiveView.

Provides platform-appropriate directory paths for desktop applications.

Installs Tauri plugins into an existing src-tauri/ project.

Execute shell commands and open URLs from your LiveView.

Manages graceful shutdown of the Phoenix application when running as a Tauri sidecar.

Behaviour and registry for the sidecar "shim" ExTauri generates at burrito_out/desktop-<triplet> — the executable Tauri spawns to launch your application.

Default sidecar shim. Runs a dev-server command directly inside the Tauri window so hot/live reload works, with no release build.

Sidecar shim that builds a standard (non-Burrito) Elixir release and execs it.

Configuration helpers for Tauri's built-in auto-updater.

Manage the native window at runtime from your LiveView.

Mix Tasks

Adds Tauri plugins to your project so the matching Elixir APIs work.

Builds the Tauri application for production.

Runs the Tauri application in development mode with hot-reload.

Generates application icons from a source image.

Shows information about your Tauri project and environment.

Installs and configures Tauri in your Phoenix project.

Manages code signing for Tauri application updates.