/cmdcap

Automated command capturer

Primary LanguageShellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

cmdcap

Automated command capturer

Summary

Uses a patched version of asciicast2gif and Expect to automatically capture the output of commands in GIF and PNG format

Usage

git clone https://github.com/hyperupcall/cmdcap
cd cmdcap
./bake init
./bake build

# To run the example
./bake run

Example

See the example in ./example. Below are the results

png

png displaying the last frame

gif

asciinema output gif

Roadmap

  • Launch an arbitrary terminal emulator and fix width / height issues