e29cff21ae82078c58f2d9c3eacf06d5baace8cd
Adds a bubbles/table alert list showing Name, Status, Started (relative time), and Ack By columns. Stats bar shows total/firing/resolved counts. Filter cycles firing → resolved → all with [f]. Auto-refresh fires on the configured interval via tea.Tick. Table scrolls with j/k.
terdut-tui
A terminal user interface for terdut-server. Communicates with the server over its REST API.
Written in Go using Bubbletea.
Features
- Alert dashboard — live view of firing and resolved alerts with auto-refresh
- Alert actions — acknowledge, comment, and view per-alert statistics
- On-call schedule — visual calendar of who is on duty, assign and remove entries
- User management — add and remove users, manage API keys
Installation
Download the latest release binary for your platform from the releases page, or build from source:
go install github.com/yeniklas/terdut-tui@latest
Configuration
Create ~/.config/terdut-tui/config.yaml:
server_url: https://terdut.example.com
api_key: <your-api-key>
refresh_interval: 30 # seconds, optional
The API key is generated in terdut-server. See the server documentation for how to bootstrap a user and issue an API key.
Usage
terdut-tui start the TUI
terdut-tui --version print version
terdut-tui --self-update update to the latest release
Keybindings
| Key | Action |
|---|---|
j / ↓ |
Move down |
k / ↑ |
Move up |
tab |
Switch section (Alerts / Schedule / Users) |
enter |
Select / open detail |
esc |
Go back |
r |
Refresh |
f |
Filter / cycle filter |
q |
Quit |
Description