Skip to content

Phase 3b: Integrate Tauri viewer into CLI and remove Flask #24

Closed

Description

@zackees

Part of #14
Depends on Phase 3a (#23)

Goal

Wire the Tauri sidecar into the Rust CLI so fastled --app launches the native viewer instead of Flask + browser. Remove Flask server and related Python dependencies.

Tasks

  • Implement Tauri sidecar download-on-first-use (like esbuild pattern)
  • When --app is passed, launch Tauri viewer instead of Flask server
  • Implement reload notification from CLI to Tauri viewer after recompilation
  • Add --legacy-browser fallback flag that uses system browser + simple HTTP server for Linux WebKitGTK compatibility
  • Remove server_flask.py, open_browser.py
  • Remove Flask, flask-cors, cryptography from pyproject.toml dependencies
  • Remove Playwright as a default dependency (keep as optional for testing)
  • Update README and docs

Acceptance criteria

  • fastled --app examples/Wasm opens Tauri viewer, not system browser
  • fastled --legacy-browser still works for systems without modern webview
  • Flask and Playwright are no longer required dependencies
  • All CI passes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions