To record ONLY the text that appears in the TTY (not a video, not pixels — just the characters printed to the terminal), the correct tools are:
ttyrecThis records everything printed to the TTY (including control sequences, colors).
sudo pacman -S ttyrec
ttyrec mysession.tty
Do your work normally.
Press Ctrl+D or run:
exit
ttyplay mysession.tty
This is the closest thing to “OBS for pure text TTY”.
asciinemaThis records your terminal session as text, extremely efficient.
sudo pacman -S asciinema
asciinema rec session.cast
Ctrl+D
asciinema play session.cast
Pros:
scriptBuilt into every Linux.
script -t 2> timing.log text.log
Do your TTY work.
Ctrl+D
scriptreplay timing.log text.log
| Tool | Records text? | Records timing? | Easy replay? | Output size |
|---|---|---|---|---|
| ttyrec | ✔ | ✔ | ✔ | small |
| asciinema | ✔ | ✔ | ✔ (best) | tiny |
| script | ✔ | ✔ | ✔ | small |
These tools record only what the shell prints.
They do NOT record screen redraws from graphical TUI apps in raw framebuffer mode (like nvim in raw console) unless the app prints escape sequences.
But they DO correctly record:
Everything needed to replay the TTY experience.
ttyrec to video using ffmpegJust tell me.