RewindTTY
Record and replay terminal sessions, with JSON output and support for ANSI escape sequences.
- Platform
- Terminal on Unix systems
- Built with
- CPTYcJSONANSI

RewindTTY records terminal sessions and lets you replay them later. Written in C, it captures input and output through pseudo-terminals (PTYs).
Sessions are saved as structured JSON with timestamps, commands, output and stderr, making the data available for other tools and workflows.
Support for ANSI escape sequences allows it to capture terminal interfaces such as Vim, htop and ncurses applications. The project explores a lightweight alternative to tools such as asciinema, with a focus on simplicity and integration.
In practice
For preserving a terminal session, reviewing a procedure or analysing its commands and timing.
- Record input and output with timestamps and replay sessions with their original timing.
- Save structured JSON data for integrations and later analysis.
- Replay sessions in the project’s browser player; interactive mode is experimental.
GitHub statistics
- Open issues
- 0 (opens in a new tab)
- Downloads
- 25 (opens in a new tab)