Example of recording a demo of Gum with VHS.
Output file.gif
Type "gum file ./src"
Sleep 1s
Enter
Sleep 2s
Down@500ms 4
Up@500ms 1
Sleep 1s
Enter
Sleep 1s
Down@500ms 4
Sleep 1s
Up@500ms 2
Sleep 2s
Output pager.gif
Set Padding 20
Set FontSize 16
Set Height 600
Type "gum pager < ~/src/gum/README.md --border normal"
Sleep 1s
Enter
Sleep 2s
Down@25ms 40
Sleep 1s
Up@25ms 30
Sleep 1s
Down@25ms 20
Sleep 3s
Output table.gif
Type "gum table < superhero.csv -w 2,12,5,6,6,8,4,20 --height 10"
Enter
Sleep 1s
Down@200ms 10
Sleep 1s
Down@200ms 10
Sleep 1s
Up@200ms 10
Sleep 1s
Enter
Sleep 3s
Examples recorded with VHS for the GitHub CLI (gh
):
Output gh-issue.gif
Type "gh issue list"
Sleep 500ms
Enter 1
Sleep 4s
Ctrl+L
Sleep 500ms
Type "gh issue view 19"
Sleep 500ms
Enter
Sleep 5s
Output gh-pr.gif
Type "gh pr list --state all"
Sleep 500ms
Enter
Sleep 5s
Examples recorded with VHS for Bubble Tea.
Example of recording a demo of jqp
with VHS.
Example of recording a demo of Glow with VHS.
Output glow-simple.ascii
Output glow-simple.gif
Set Width 1000
Set Height 1000
Type "glow"
Enter
Sleep 1s
Enter
Sleep 1s
Escape
Sleep 1s
Type "q"
Sleep 1s
Output vhs-glow.gif
Output glow.ascii
Set Width 1600
Set Height 1040
Sleep 1s
Type "glow"
Sleep 100ms
Enter
Sleep 1s
Hide
Tab
Type "/artichoke"
Enter
Down 2
Show
Sleep 0.5s
Down 20
Hide
Escape
Type "l"
Down 5
Show
Sleep 1s
Up@400ms 5
Hide
Type "/ulysses"
Enter
Show
Sleep 0.5s
Down@200ms 20
Hide
Escape
Type "/"
Show
Sleep 0.5s
Type@500ms "todo"
Sleep 1
Hide
Escape
Type "/ulysses"
Enter
Show
Sleep 0.5s
Type@750ms "????"
Hide
Escape
Type "/artichoke"
Enter
Type "m"
Ctrl+A
Right 4
Show
Sleep 1s
Type@250ms "Tasty "
Sleep 1s
Hide
Escape
Down 5
Type "m"
Ctrl+U
Show
Sleep 1s
Type@150ms "Your new internet thing"
Sleep 3s
Hide
Ctrl+C
Show