{"repo":"homeport/termshot","free":true,"listed":false,"github":"https://github.com/homeport/termshot","clone":"git clone https://github.com/homeport/termshot.git","description":"Creates screenshots based on terminal command output","language":"Go","stars":965,"topics":["screenshot","shell","terminal","ansi-colors","cli"],"license":"MIT","category":"cli-tools","readme_excerpt":"termshot Generate beautiful screenshots of your terminal, from your terminal. This command generates this screenshot: Installation To install with Homebrew on macOS or Linux: See Releases for pre-compiled binaries for Darwin and Linux. Usage This tool reads the console output and renders an output image that resembles a user interface window. It's inspired by some other web-based tools like carbon.now.sh, and codekeep.io/screenshot. Unlike those tools, termshot does not blindly apply syntax highlighting to some provided text; instead it reads the ANSI escape codes (\"rich text\") logged by most command-line tools and uses it to generate a high-fidelity \"screenshot\" of your terminal output. Like time , watch , or perf , just prefix the command you want to screenshot with termshot . This will generate an image file called out.png in the current directory. In some cases, if your target command contains pipes —there may still be ambiguity, even with -- . In these cases, wrap your command in double quotes. Flags to control the look --show-cmd / -c Include the target command in the screenshot. --columns / -C Enforce that screenshot is wrapped after the provided number of columns. Use this flag to make sure that the screenshot does not exceed a certain horizontal length. --no-decoration Do not draw window decorations (minimize, maximize, and close button). --no-shadow Do not draw window shadow. --margin / -m Add extra space (margin) around the window. --padding / -p Add extra space (p","default_branch":null,"files":null,"tree":[],"storefront":"/r/homeport","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/homeport/termshot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}