Notepad/enter/Coding Tips (Classical)/Terminal Tips/2. CLI Tools/CLI Tool Collection/VHS.md

820 B

The cutest CLI Plugin ever!! Here is a link to the github. :)

!Pasted image 20230626101300.png

How to use:

Generate a .tape file

vhs new demo.tape

Edit the .tape file:

vim demo.tape

Once edited, feed it into VHS

vhs demo.tape

Recording a .tape

vhs record > cassette.tape

Perform any action and exit the terminal to stop recording. You may wish to edit the .tape file as well. To generate the .gif

vhs cassette.tape

To start the VHS server

vhs serve

ssh into the server

ssh vhs.example.com < demo.tape > demo.gif

If you do use the server often, it is useful to automate this with vhs-actions.

For further commands:

vhs manual