CodeSnap
codesnapA pure Rust tool to generate beautiful code snapshots.
A pure Rust tool to generate beautiful code snapshots.
Render a file or a command's output to a PNG/SVG snapshot. Colours, fonts, line highlighting, image/clipboard input and the ascii type are not modelled.
from_fileoutputrangehas_line_numberlanguagepath--from-file-fstring--output-oclipboardstring--rangestring--language-lstring--code-themeboolean--has-line-numberstring--titlestring--backgroundinteger--scale-factorpath--configsrcmanualHEAD 2026-10-27Before it fills your prompt, Otty checks the installed codesnap against its version. A form that does not match your version is not offered.