52 lines
820 B
Markdown
52 lines
820 B
Markdown
|
|
The cutest CLI Plugin ever!! Here is a[ link to the github.](https://github.com/charmbracelet/vhs#installation) :)
|
|
|
|
![[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](https://github.com/charmbracelet/vhs-action).
|
|
|
|
For further commands:
|
|
```
|
|
vhs manual
|
|
```
|
|
|
|
|