Skip to content

Tauri Setup

  • Rust 1.75+
  • Node.js 18+
  • System dependencies (Linux only):
    Terminal window
    sudo apt install libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
Terminal window
cd frontend
npm install
npm run tauri build

This produces:

  • Linux: .deb and .AppImage in frontend/src-tauri/target/release/bundle/
  • macOS: .app and .dmg in frontend/src-tauri/target/release/bundle/macos/
  • Windows: .msi and .exe in frontend/src-tauri/target/release/bundle/msi/
Terminal window
cd frontend
npm run tauri dev

This starts the desktop app with hot-reload for frontend changes.

The Tauri app:

  1. Starts the Fastlane proxy in the background
  2. Opens a native window with the dashboard
  3. Shows routing decisions in real-time
  4. Lets you configure settings via the GUI

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 │ │
│ └───────────────────────┘ │
└─────────────────────────────┘