uhbif19 / autorecorder

An automatic declarative ASCIInema recorder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASCIInema Autorecorder

An automatic asciinema cast recorder.

Instead of having to manually type in the commands while asciinema rec is recording, you can specify what needs to happen declaratively.

This is an example spec file that shows how to use autorecorder in a cast (very meta):

asciicast

packages:
- autorecorder
- asciinema
working-dir: .
file: echo.cast
environment:
  ASCIINEMA_CONFIG_HOME:
    "./config/asciinema"
input:
- type: "autorecorder echo.yaml echo.cast --progress\n"
- wait: 10000
- type: "asciinema play echo.cast\n"
- wait: 10000

I would put a link to the output cast here as well but https://asciinema.org is currently having trouble with uploads and logins. See the examples directory for more examples.

For the full spec file format, try recording a cast for an invalid spec file, and the error message will show you the format (in colour!).

About

An automatic declarative ASCIInema recorder


Languages

Language:Haskell 69.9%Language:Nix 28.8%Language:C 1.3%