Note: distribution surfaces — brew/winget/scoop and a VS Code extension

Status: idea list, not scheduled. Brought up 2026-10-13; revisit before scoping.

The goal

Today installing flua means brew + pip (macOS) or Python + pip (Windows) — the friction the install-macos forum post exists to solve. Two distribution surfaces can remove it, in increasing order of effort:

  1. Native package managers — one-command installs, no pip.
  2. A VS Code extension — marketplace install, bundled runtime, no Python at all; the extension then owns run/debug/viewer end to end.

1. Native package managers (the cheap 80%)

macOS — Homebrew

brew tap jangabrielsson/flua && brew install fibaro-flua. The formula vendors a venv (or depends on python@3.x and installs the wheel into opt/fibaro-flua), symlinking flua into bin. No signing needed (brew builds from source locally). This alone removes pip from the mac story.

Windows — three candidates (the brew analogues)

For all three the payload is the same question: (a) a manifest that declares Python as a dependency and runs pip install fibaro-flua (simplest, but pulls the whole Python install UX), or (b) a portable self-contained build (PyInstaller exe in a zip — no admin, no Python, PATH entry optional). (b) is the better user experience and doubles as the artifact the VS Code extension would bundle anyway — so building the portable artifact first serves both paths.

2. The VS Code extension (the polished later step)

flua cannot run in VS Code's Node extension host, so the extension spawns a self-contained flua executable (Python + lupa/Lua 5.5 via PyInstaller, one build per platform: macOS arm64/x64, Windows x64). The extension ships platform-specific VSIXs (targetPlatform in package.json) or downloads the right binary on first use (the Python/C++ extension model).

Sequencing recommendation

  1. Homebrew formula (days) + winget/scoop package of the portable build (days — and the portable artifact is prerequisite work anyway).
  2. VS Code extension (weeks, mostly signing + CI + marketplace, not flua code).

Open questions