en:l_atelier:vhs

A picture is worth a thousand words, A picture is worth a thousand words. VHS is the perfect tool to explain in animated images how to use command line tools

VHS is virtually identical to asciinema. Nevertheless VHS uses a declarative approach (by creating a .tape files). It can be used to automate the execution of a scenario consisting of a series of commands to be executed, and then to record the results of the actions in the form of videos in different formats (webm, mp4, gif), which can be particularly useful for documentation or knowledge sharing.

Starting with this file demo-vhs.tape

Output demo-vhs.gif

Require nix

Set TypingSpeed 75ms
Set FontSize 18
Set Width 800
Set Height 680

Type "# Install the needed packages" Sleep 500ms Enter Enter Sleep 2s

Type "nix-shell -p dotacat neofetch"

Type "neofetch" Sleep 500ms Enter Sleep 2s

Type "dotacat --help | dotacat" Sleep 500ms Enter 

Sleep 5s

We obtain the result below with the following command vhs demo-vhs.tape

VHS result

    • openai
      • Reformulation of sentences
      • Correction of spelling mistakes
  • en/l_atelier/vhs.txt
  • Dernière modification : 2025/10/11 19:57
  • de 127.0.0.1