termframe
Terminal output SVG screenshot tool
TLDR
Capture command output as SVG
$ termframe -o [output.svg] -- ls --color=always
Auto-detect terminal size$ termframe --width auto --height auto -o [out.svg] -- [command]
Use a specific color theme$ termframe --theme "[Solarized Dark]" -o [out.svg] -- [command]
SYNOPSIS
termframe [options] -o output.svg -- command
DESCRIPTION
termframe is a non-interactive terminal emulator that executes a command, renders its output in a virtual terminal session, and exports the result as an SVG file. It supports full color ranges (16, 256, truecolor), text styles, font embedding, and dark/light mode.
PARAMETERS
-o, --output FILE
Output SVG file path.-W, --width VALUE
Terminal width (number, auto, or range like 80..120).-H, --height VALUE
Terminal height (number, auto, or range like 24..50).--theme NAME
Color theme from iTerm2-Color-Schemes.--title TEXT
Set window title.--font-size SIZE
Adjust font size.--padding VALUE
Configure window padding.--window-style STYLE
Window style (e.g., macos, compact).--shell SHELL
Specify shell to use.--config FILE
Override configuration file path (use - to disable defaults).
HISTORY
termframe was created by Pavel Ivanov (pamburus) and is written in Rust.
