Session Recording
Record terminal sessions to asciicast v2 files for playback and sharing.
TermPod can record terminal sessions to asciicast v2 files — the same format used by asciinema. Recordings capture all terminal output with precise timing, so playback looks exactly like the original session.
Quick Start
- Open a terminal session
- Start recording: Shell > Record Session (or
Cmd+Shift+R) - A red recording indicator appears in the tab bar
- Run your commands as normal
- Stop recording: Shell > Record Session again (or
Cmd+Shift+R) - Choose a save location — the file is saved as
.cast
File Format
Recordings use the asciicast v2 format:
{"version":2,"width":120,"height":40,"timestamp":1710000000}
[0.5,"o","$ "]
[1.2,"o","git status\r\n"]
[1.8,"o","On branch main\r\n"]- Line 1: Header with terminal dimensions and start timestamp
- Subsequent lines:
[elapsed_seconds, "o", "output_data"]events
Playback
asciinema
# Install asciinema
brew install asciinema
# Play a recording
asciinema play recording.cast
# Play at 2x speed
asciinema play -s 2 recording.castEmbed in docs
Upload to asciinema.org or self-host with the asciinema player:
<div id="player"></div>
<script src="https://unpkg.com/asciinema-player@3/dist/bundle/asciinema-player.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/asciinema-player@3/dist/bundle/asciinema-player.css" />
<script>
AsciinemaPlayer.create('recording.cast', document.getElementById('player'));
</script>What Gets Recorded
- All terminal output (stdout/stderr) with millisecond-accurate timing
- Terminal dimensions at recording start
What Is NOT Recorded
- Input (keystrokes) — only output events are captured
- Terminal resize events during recording
- Data from other sessions — recording is per-session
Keyboard Shortcut
| Action | Shortcut |
|---|---|
| Toggle recording | Cmd+Shift+R |
The same shortcut starts and stops recording. You can also use the Shell > Record Session menu item.