Skip to content

Overview

Rust-first terminal capture

Betamax

Record terminal demos and test interactive programs with tape files. Save GIFs, screenshots, videos, and terminal snapshots.

Betamax quick start recording rendered inside a terminal capture

Write the commands to run, the text to type, and the output to wait for in a tape file. Betamax runs the session and saves the recording. It uses libghostty-vt to parse terminal output and renders frames in Rust.

GIFs & screenshots

Generate README demos, release-note animations, final-frame PNGs, and checkpoint screenshots.

FormatGIFPNG

Terminal testing

Wait for text, capture terminal state, and compare viewport, scrollback, and style spans in snapshot tests.

Test

Ghostty-based parsing

libghostty-vt interprets terminal output. Choose colors from the bundled Ghostty themes.

Parser

Rendering in Rust

GIFs and screenshots render in process. MP4 and WebM use ffmpeg for video encoding.

ArchMin