[ANN] k7 0.9.0: record and replay CLI outputs

I’m happy to announce the release of k7 0.9.0 a small tool to record and replay CLI animations.

It’s available on MacOS and Linux with brew:

brew install samoht/tap/k7

or in opam:

opam install k7

The main feature vs. other similar tools is that it can use cram tests as input or output, so you can 1/ convert any cram test into an svg file; and 2/ ensure the svg that you use in your README files stays up-to-date with your code.

Apart from this it’s in pure OCaml with no browser or ffmpeg involved; it plays .cast and .tape files (from asciinema and vhs) and write .cast files, but probably has fewer options than those tools, so feel free to open an issue if you find anything missing or not working.

See more details in my post: Thomas Gazagnaire :: k7: Keeping CLI Animations in Sync with Your Code

3 Likes