Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

TUI Guide

Launch the terminal UI with:

cerebro tui

Or run the standalone binary directly:

cerebro-tui

The TUI provides a rich, interactive terminal interface for browsing all your project activity data — sessions, commits, TODOs, journal entries, and manual notes — without leaving your terminal.

Layout

┌─────────────────────────────────────────────────────┐
│ Cerebro TUI                                         │
├──────────┬──────────────────────────────────────────┤
│ Dashboard│  [Content area — changes per view]       │
│ Projects │                                          │
│ Journal  │                                          │
│ TODOs    │                                          │
│ Config   │                                          │
├──────────┴──────────────────────────────────────────┤
│ r refresh  b build  Space leader  q quit  ? help    │
└─────────────────────────────────────────────────────┘

Main Views

KeyAction
j / Next item in sidebar
k / Previous item in sidebar
TabCycle focus (sidebar ↔ content)
Shift+TabCycle focus backward
EnterSwitch to selected view (sidebar)
1 / gDashboard
2Projects
3Journal
4TODOs
5 / GConfig

Leader Key

Press Space then a letter to jump directly:

SequenceAction
Space dDashboard
Space pProjects
Space jJournal
Space tTODOs
Space cConfig

The leader key is active everywhere except during text input (journal editing, note editing, or form input). Press Esc to cancel a pending leader sequence.

Focus Management

KeyAction
Right / lMove focus from sidebar to content
Left / hMove focus from content to sidebar

Views

Dashboard

Summary of all projects with session counts, commit counts, and TODO counts. Press Enter on a project to drill into its detail view.

Projects

When no project is selected, shows a list of all projects with activity counts. Navigate with j/k, press Enter to select.

Once a project is selected, three tabs are available:

KeyTab
1Sessions
2Commits
3TODOs
TabNext tab
Shift+TabPrevious tab

Within each tab, navigate items with j/k. Press Enter on a TODO to preview its full context. Press e to edit the project’s status/next notes. Press Esc to deselect and return to the project list.

Journal

Shows journal entries from all projects. Entries are grouped by date headers (### 2026-04-25) or shown as a single entry per project if no date headers exist.

KeyAction
j / Next entry
k / Previous entry
gFirst entry
GLast entry
EnterView full entry
iEdit journal for the selected project
EscClose preview / cancel edit

Journal entries come from ## Journal sections in your project notes files (content/notes/projects/{name}.md). If no journal sections exist, the view will be empty.

TODOs

Aggregates TODOs from all projects. Navigate with j/k, press Enter to preview the full TODO with file context. Press Esc to close preview.

Config

Toggle project active/inactive status and add new projects. Changes are written to config.toml on disk.

Global Commands

KeyAction
rRefresh data from all sources
bRun cerebro build (generates dashboard)
qQuit
?Toggle help overlay
EscClose overlays, go back

Mouse Support

Click any item in the sidebar to switch views. Click a project in the project list to select it.

What the TUI Does

  • Browse OpenCode sessions, git commits, and TODOs per project
  • View project status and next-session notes
  • Edit status and next notes directly from the TUI
  • Read journal entries from daily logs
  • Toggle project active/inactive status
  • Add new projects to config
  • Refresh data on demand
  • Build the markdown dashboard from the TUI

What the TUI Doesn’t Do (Yet)

  • Session message content — Sessions show titles and timestamps but not individual messages
  • Session preview — Can’t view the conversation inside a session
  • Commit diff — Shows commit messages but not file changes
  • TODO editing — Can view TODOs but not mark them complete (they’re code comments)
  • Search/filter — No text search across sessions, commits, or TODOs yet
  • Activity graph — No heatmap or timeline visualization
  • Multi-project comparison — Can’t view two projects side by side
  • Git branch info — Doesn’t show current branch or uncommitted changes per project