LinuxCommandLibrary

termframe

Terminal output SVG screenshot tool

TLDR

Capture command output as SVG
$ termframe -o [output.svg] -- ls --color=always
copy
Auto-detect terminal size
$ termframe --width auto --height auto -o [out.svg] -- [command]
copy
Use a specific color theme
$ termframe --theme "[Solarized Dark]" -o [out.svg] -- [command]
copy

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 FILE

Output SVG file path.
--width VALUE
Terminal width (number or auto).
--height VALUE
Terminal height (number or auto).
--theme NAME
Color theme from iTerm2-Color-Schemes.

HISTORY

termframe was created by Pavel Ivanov (pamburus) and is written in Rust.

SEE ALSO

silicon(1), termtosvg(1), t-rec(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard