Capture in the background
Termshot draws the terminal itself. No terminal window opens.
Termshot runs a command in a headless terminal and saves a PNG. Your agent gets one line of JSON with the file path, exit status, and SHA-256 hash.
Install on macOS$ git log -3 --oneline
64c4042 Document interrupt handling
ba14d71 Correct rendering docs
d270da4 Build e2e binary in temp folder
Share the PNG with a reviewer. Let your agent read the JSON to find the file, check the exit status, and verify the capture by hash.
termshot --run "git log -3 --oneline" \
-o /tmp/git-log.png
{
"status": "ok",
"command": { "exitStatus": 0 },
"capture": { "path": "/tmp/git-log.png" }
}
Termshot draws the terminal itself. No terminal window opens.
A command that exits with an error still produces a screenshot.
With a publisher configured, send a capture to a GitHub PR or Google Drive.
Free and open source for macOS.