istro

Extend

How It Works

The parts of Bistro and the choices behind them.

#Parts

  • Base: stock Debian 13 stable plus one .deb. Bistro keeps Debian security updates. Raspberry Pi OS Lite is the base on a Pi.
  • Web backend: Cockpit. It gives login, HTTPS, privilege escalation and a JavaScript bridge. It is socket-activated, so it uses no memory when nobody is on the page.
  • Dashboard: a Cockpit plugin in plain JavaScript, one file per page, on the Veylo kit with Phosphor icons.
  • Root scripts in /usr/lib/bistro/: bistro-apply, bistro-pkg, bistro-sched, bistro-clean, bistro-watch, bistro-apps, bistro-cluster, bistro-node, bistro-pi, bistro-tune, bistro-ai and bistro-mcp.
  • Settings: /etc/bistro/bistro.conf, as KEY=VALUE. Bistro parses the file and never sources it.

#Choices

  • Stock Debian, not a custom distro. The trade-off is less control over the base.
  • Scheduled jobs are real systemd timers. The command lives in /etc/bistro/jobs/<name>.sh, so systemd quoting never touches it.
  • zram before disk swap, with earlyoom as a backstop. Swap on a hard disk alone is too slow to help.
  • No initramfs MODULES=dep. It boots faster, but the disk would not boot on other hardware.
  • Own SSH channel for clusters, not Cockpit's host switcher, which Cockpit has deprecated.
  • Fewer hard dependencies. cockpit-storaged, cockpit-networkmanager, cockpit-packagekit, irqbalance, miniupnpc and avahi-utils are Recommends. The dashboard hides links to Cockpit pages that are not installed.
  • Your own model. The assistant runs the agent loop in the browser, but every model and tool call goes through bistro-ai as root, so keys never reach the page.

#Made By

Bistro is made by Wyzie LLC as a side project next to Gusteau.