termrec is a collection of command-line tools and supporting libraries for recording, replaying and manipulating terminal sessions. Its recording format retains timing information, allowing saved sessions to be played back with the pacing of the original interaction rather than treated simply as static terminal output.
The suite has grown beyond its original ttyrec-compatible recorder. It can read several terminal recording formats, convert between them and work with compressed recordings. Its terminal emulation layer handles modern terminal output including wide characters, combining characters and true colour.
The current toolset comprises termrec, termplay, termtime and termcat. The older proxyrec network-recording utility is no longer part of the suite.
This is free and open source software.
Key Features
- termrec records terminal sessions for later playback.
- termplay replays supported terminal recordings with their original timing information.
- termtime reports the duration of a recording.
- termcat converts recordings between formats and can concatenate multiple sessions.
- Reads and writes ttyrec-compatible recordings.
- Supports asciicast recordings.
- Handles recordings compressed with gzip, bzip2, xz and zstd where available.
- Can retrieve recordings from remote locations through libcurl support.
- 256-colour and 24-bit true-colour terminal handling.
- Supports full-width CJK characters.
- Understands combining characters.
- Handles a broad range of ANSI terminal control sequences.
- Preserves terminal window titles where supported by the recording format.
- Can append data to existing recordings.
- Includes reusable libraries for terminal emulation and terminal-recording file handling.
- Works with recordings produced by other compatible ttyrec tools and services.
Website: angband.pl/termrec.html
Support:
Developer: Adam Borowski
License: GNU Lesser General Public License v3.0

termrec is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Console Screencasting Tools / Terminal Session Recording | |
|---|---|
| Terminalizer | Generates animated GIF images of your terminal |
| VHS | Wwrite terminal GIFs as code for integration testing and demoing |
| ttyd | Shares your terminal over the web |
| asciinema | Record and share terminal sessions |
| t-rec | Generates animated GIF images for the web |
| agg | asciinema gif generator |
| ffscreencast | Shell wrapper for ffmpeg that allows fool-proof screen recording |
| IPBT | High-tec terminal player |
| rec | Records terminal sessions and turns them into reusable workflows |
| TermSVG | Record terminal sessions and export them as animated SVG files |
| termrec | Set of tools for recording and replaying tty sessions |
| screencast | Interface to record a X11 desktop |
| script | The granddaddy of terminal recorders |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.