Termtosvg is a command-line tool that records terminal sessions and converts them into standalone SVG animations. It captures the exact timing and output of each command, producing lightweight SVG files that replay the session in any web browser without requiring additional software.
The tool supports importing existing asciicast recordings from asciinema, enabling cross-tool compatibility and reuse of previously captured terminal sessions. Users can customize the appearance of their animations by applying user-defined color themes, terminal UI elements, and animation controls through SVG templates, giving control over the visual style of the final output.
Generated SVG animations can be embedded directly into web pages or shared as standalone files, preserving the full interactive playback of the original terminal session. The project provides a straightforward way to create browser-replayable visual documentation of command-line workflows.