Skip to content

Commit

Permalink
feat(docs): add vhs tape for generating demo gif
Browse files Browse the repository at this point in the history
Signed-off-by: Dolev Hadar <[email protected]>
  • Loading branch information
dlvhdr committed Oct 28, 2022
1 parent 0eeae6b commit 6240bba
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
Binary file removed anim.gif
Binary file not shown.
51 changes: 51 additions & 0 deletions demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Set Theme { "black": "#1d202f", "red": "#f7768e", "green": "#9ece6a", "yellow": "#e0af68", "blue": "#7aa2f7", "purple": "#bb9af7", "cyan": "#7dcfff", "white": "#a9b1d6", "brightBlack": "#414868", "brightRed": "#f7768e", "brightGreen": "#a6e3a1", "brightYellow": "#e0af68", "brightBlue": "#7aa2f7", "brightPurple": "#bb9af7", "brightCyan": "#7dcfff", "brightWhite": "#c0caf5", "background": "#24283b", "foreground": "#c0caf5", "selectionBackground": "#364a82", "cursorColor": "#c0caf5" }

Set FontSize 20
Set FontFamily "FiraCode Nerd Font"
Set Width 1600
Set Height 800
Set Framerate 30
Set Padding 12

Hide
Type@10ms "gh dash -c ~/.config/gh-dash/demo.yml"
Enter
Sleep 3s

Show

Sleep 1s

Set TypingSpeed 400ms
Type "j"
Type "j"
Type "j"

Type "?"
Sleep 1s
Type "?"

Type "d"
Sleep 1s
Type@5ms "jjjjjjjjjjjjjjjjjjjjjjjjj"
Type "q"
Sleep 500ms

Type "c"

Type@60ms "Looks good to me! 🚀"

Ctrl+d

Hide
Sleep 2s
Show
Sleep 500ms

Type "l"
Type "l"
Type "l"
Sleep 500ms

Type "s"
Sleep 1500ms

0 comments on commit 6240bba

Please sign in to comment.