Skip to main content

ADR-007: Tauri + Leptos for Desktop GUI

Status

Accepted

Context

Need native desktop application with modern UI.

Decision

Use Tauri (Rust) with Leptos (Rust web framework) for desktop GUI.

Consequences

Positive

  • Consistent Rust stack
  • Small binary size
  • Native performance
  • Modern reactive UI

Negative

  • Smaller ecosystem than Electron
  • Learning curve for Leptos

Alternatives Considered

  1. Electron: Too heavy, not Rust
  2. Qt: C++ integration complexity
  3. Native toolkit: Limited UI capabilities

Implementation

Tauri provides the native window and system integration, while Leptos handles the reactive UI with fine-grained reactivity. This keeps the entire stack in Rust for better maintainability.