Skip to content

TUI Dashboard

Pitchfork includes a full-featured terminal UI for monitoring and managing daemons without leaving your terminal.

Launch the TUI

bash
pitchfork tui

The TUI connects to the supervisor automatically, starting it if needed.

Features

Dashboard View

  • Live daemon status with color-coded states
  • CPU and memory usage per daemon
  • Fuzzy search to filter daemons
  • Multi-select for batch operations
  • Sortable columns

Config Editor

  • Create new daemons with a form-based interface
  • Edit existing daemon configurations
  • Delete daemons from config files
  • Validation for required fields and formats

Log Viewer

  • Real-time log streaming
  • Search within logs
  • Follow mode (auto-scroll)
  • Expandable full-screen view

Vim-Style Navigation

The TUI uses familiar vim keybindings for efficient navigation.

Keybindings

Dashboard

KeyAction
j / Move down
k / Move up
l / EnterView logs
iView details
sStart daemon
xStop daemon (with confirmation)
rRestart daemon
eEnable daemon
dDisable daemon (with confirmation)
/Search/filter daemons
SpaceToggle selection
Ctrl+aSelect all visible
cClear selection
aToggle showing available daemons
SCycle sort column
oToggle sort order
RRefresh
nCreate new daemon
EEdit selected daemon config
?Show help
q / EscQuit

Config Editor

KeyAction
Tab / j / Next field
Shift+Tab / k / Previous field
EnterEdit text field
SpaceToggle checkbox / cycle option
Ctrl+sSave configuration
DDelete daemon (edit mode only)
q / EscCancel (confirms if unsaved changes)

Log Viewer

KeyAction
j / Scroll down
k / Scroll up
Ctrl+dPage down
Ctrl+uPage up
gJump to top
GJump to bottom
fToggle follow mode
eToggle expanded view
/Search in logs
nNext search match
NPrevious search match
q / EscBack to dashboard

Multi-Select Operations

Select multiple daemons with Space, then use s, x, r, e, or d to perform batch operations on all selected daemons.

Released under the MIT License.