Skip to content

feature-request: add 'barista config' runtime TUI for post-install reconfiguration #24

@pstuart

Description

@pstuart

Why

Step 5e first competitive pass (autoscan 2026-05-08) — runtime TUI configurators are now table-stakes in the Claude Code statusline space:

  • ccstatusline ships an interactive TUI runnable any time post-install (live theme/widget tweaking, fuzzy widget picker)
  • CCometixLine ships ccline --config with real-time preview and Nerd-Font selection
  • claude-powerline ships a web visual configurator at powerline.owloops.com
  • Barista has a polished interactive arrow-key installer (in install.sh) but no post-install runtime TUI — users either re-run the installer or hand-edit barista.conf

The friction shape: a user discovers a new module via README/release-notes, wants to enable it, and currently has to either:

  1. Re-run install.sh (which is interactive but does much more than just config),
  2. Or hand-edit barista.conf keys with no preview.

Competitors all let you tweak in seconds with live preview.

What

Add a barista config (or barista.sh --config) subcommand that opens a runtime TUI for editing barista.conf with the same UX as the install.sh wizard:

  • Arrow-key navigation through configurable keys (theme, modules, layout mode, separators, etc.)
  • Live preview of the resulting statusline rendered in a sample line below the picker
  • Save back to barista.conf on confirm
  • Cancel without write on Ctrl-C / Escape

Implementation notes

  • Reuse the existing arrow-nav code from install.sh — extract into a shared modules/_tui.sh helper if not already factored
  • The "live preview" can call barista.sh --render-preview (or invoke the renderer with BARISTA_TEST=1 to skip claude-context-fetching)
  • Per-directory .barista.conf overrides should also be editable (with a "scope: global / this directory" toggle)

Acceptance

  • barista config subcommand opens a TUI editor
  • All keys currently editable via install.sh are editable here too (theme, modules, layout, separators, color thresholds, opt-in WAN-IP)
  • Live preview renders the statusline as keys change
  • Save writes back to barista.conf; cancel leaves file untouched
  • Per-directory .barista.conf editable with a scope toggle
  • README "Configuration" section updates to point users at barista config rather than the hand-edit path

Tier

Vertical-slice eligible Phase 1 — extract the install.sh's arrow-nav into a reusable helper + wire it as a barista.sh subcommand. ≤6 files (1 new TUI helper module + 2 modified scripts + README + CHANGELOG + tests). Internally complete (TUI works for global config) — Phase 2 adds per-directory scope and live preview if Phase 1 ships without them.

Priority: HIGH — second-largest competitive-parity gap; competitors all ship runtime TUIs. Post-install reconfiguration friction is real and recurring.

Source

Filed by autonomous scanner — Step 5e first competitive pass (2026-05-08). GAP-2 of 7 surfaced; ranked High by competitive-parity analysis. Competitor evidence cited in companion issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions