Terminal notebook viewer for Runt runtime agents with cell-based navigation, left gutter numbering, and real-time collaboration support.
The TUI aims to provide a fluid, paper-like notebook experience that mimics reading and navigating a physical notebook.
- Terminal notebook interface
- Cell-based navigation with up/down scrolling (j/k keys)
- Left gutter with cell numbering (1., 2., 3., etc.)
- Reduced spacing (
marginBottom={1}) and single-line footer - Edit and execute code cells directly in the terminal
- Real-time collaboration and sync via LiveStore
- Rich output display (code, markdown, multimedia, errors, tables)
- Syntax highlighting for code cells
- Clickable URLs and navigation controls
- Overflow indicators showing hidden cells above/below
# View a notebook
deno run --allow-all jsr:@runt/tui --notebook=notebook-123LIVESTORE_SYNC_URL: LiveStore sync backend URLAUTH_TOKEN: Authentication token
Command Mode:
↑/↓ork/j: Navigate cellsEnterori: Enter edit mode for the selected cellr: Execute the selected cell and create a new cell belowR: Execute the selected cell onlya: Insert a new cell above the selected cellb: Insert a new cell below the selected celldd(pressdtwice): Delete the selected celll: Toggle debug logsCtrl+C: Exit
Edit Mode:
Ctrl+R: Execute the cell and create a new cell belowCtrl+E: Execute the cell onlyEsc: Save changes and return to command modeCtrl+C: Cancel editing and return to command mode
deno task dev # Run locally
deno task check # Type check
deno task fmt # Format