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
- Electron: Too heavy, not Rust
- Qt: C++ integration complexity
- 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.