docs(gifs): use VHS to record terminal demos

This commit is contained in:
Maas Lalani 2022-11-05 15:07:15 -04:00
parent 074a5c6dc3
commit f05b7002b1
No known key found for this signature in database
GPG Key ID: 5A6ED5CBF1A0A000
5 changed files with 55 additions and 11 deletions

View File

@ -3,19 +3,12 @@
Confetti (or fireworks) inside your terminal. Confetti (or fireworks) inside your terminal.
<p align="center"> <p align="center">
<img src="./assets/confetty.gif?raw=true" alt="Confetti in your TTY" /> <img src="confetty.gif" alt="Confetti in your TTY" />
</p> </p>
### Preview <p align="center">
<img src="fireworks.gif" alt="Fireworks in your TTY" />
You can preview `confetty` through `ssh` (thanks to [charmbracelet/wish](https://github.com/charmbracelet/wish)) </p>
```bash
# Confetti
ssh -p 2222 ssh.caarlos0.dev
# Fireworks
ssh -p 2223 ssh.caarlos0.dev
```
### Installation ### Installation
@ -23,6 +16,15 @@ ssh -p 2223 ssh.caarlos0.dev
go install github.com/maaslalani/confetty@latest go install github.com/maaslalani/confetty@latest
``` ```
### Preview
Get `confetty` in your terminal without installing through SSH.
```
ssh -p 2222 ssh.caarlos0.dev # Confetti
ssh -p 2223 ssh.caarlos0.dev # Fireworks
```
### Usage ### Usage
``` ```

BIN
confetty.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

21
confetty.tape Normal file
View File

@ -0,0 +1,21 @@
Output confetty.gif
Set Padding 0
Set FontSize 12
Hide
Type "confetty" Enter
Show
Sleep 1s
Space
Sleep 1s
Space
Sleep 1s
Space
Sleep 1s
Space
Sleep 1s
Space
Sleep 2s

BIN
firewords.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 KiB

21
fireworks.tape Normal file
View File

@ -0,0 +1,21 @@
Output firewords.gif
Set Padding 0
Set FontSize 12
Hide
Type "confetty fireworks" Enter
Show
Sleep 1s
Space
Sleep 1s
Space
Sleep 1s
Space
Sleep 1s
Space
Sleep 1s
Space
Sleep 2s