NorfairKing/autorecorder

An automatic declarative ASCIInema recorder

Haskell

46

0 commits

updated Jun 1, 2026

See the code

README

ASCIInema Autorecorder

NixCI

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!).

NorfairKing/autorecorder

An automatic declarative ASCIInema recorder

Haskell

46

0 commits

updated Jun 1, 2026

See the code

README

ASCIInema Autorecorder

NixCI

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!).

Languages

Haskell

71.2%

Nix

27.4%

C

1.4%