Tauri Setup
Prerequisites
Section titled “Prerequisites”- Rust 1.75+
- Node.js 18+
- System dependencies (Linux only):
Terminal window sudo apt install libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
cd frontendnpm installnpm run tauri buildThis produces:
- Linux:
.deband.AppImageinfrontend/src-tauri/target/release/bundle/ - macOS:
.appand.dmginfrontend/src-tauri/target/release/bundle/macos/ - Windows:
.msiand.exeinfrontend/src-tauri/target/release/bundle/msi/
Development
Section titled “Development”cd frontendnpm run tauri devThis starts the desktop app with hot-reload for frontend changes.
What It Does
Section titled “What It Does”The Tauri app:
- Starts the Fastlane proxy in the background
- Opens a native window with the dashboard
- Shows routing decisions in real-time
- Lets you configure settings via the GUI
How It Works
Section titled “How It Works”The app is a thin shell around the same Rust core as the CLI:
┌─────────────────────────────┐│ Tauri Window ││ ┌───────────────────────┐ ││ │ React Dashboard │ ││ └───────────┬───────────┘ ││ │ ││ ┌───────────▼───────────┐ ││ │ fastlane-core │ ││ │ (same as CLI) │ ││ └───────────┬───────────┘ ││ │ ││ ┌───────────▼───────────┐ ││ │ Axum Server │ ││ │ 127.0.0.1:8787 │ ││ └───────────────────────┘ │└─────────────────────────────┘