Skip to content

sivtr

sivtr turns terminal output into reusable text. Pipe output into a browser, wrap command execution, search across past captures, copy structured command blocks, or pull the last useful turn out of a Codex session without opening the transcript by hand.

It is not a terminal emulator, multiplexer, or replacement shell. It works beside the terminal you already use.

Terminal output is usually treated as disposable. Once a command scrolls away, the useful part is trapped in scrollback, copy mode, or a giant log. sivtr gives that output a small workspace:

  • capture output from stdin, subprocesses, or shell integration;
  • browse output in a Vim-style TUI;
  • select character, line, or block ranges;
  • copy recent command blocks by semantic selector;
  • search saved output with SQLite FTS5;
  • reuse Codex conversation blocks from the current project.

Install from the repository, then pipe output into sivtr:

Terminal window
cargo install --path .
cargo test 2>&1 | sivtr

Inside the browser, use j and k to move, / to search, v or V to select, y to copy, and q to quit.

GoalCommand
Browse command outputcargo test 2>&1 | sivtr
Run and capture a commandsivtr run cargo test
Open the current session logsivtr import
Copy the latest command outputsivtr copy out
Pick one or more recent blockssivtr copy --pick
Copy the latest assistant reply from Codexsivtr copy codex out
Search saved capturessivtr history search "panic"
Start the Windows Codex hotkeysivtr hotkey start