From fc27ee8438ad68bb0c54a96e73ecfd873fedc66e Mon Sep 17 00:00:00 2001 From: Amolith Date: Thu, 21 Dec 2023 16:22:29 -0500 Subject: [PATCH] add WIP VHS file https://github.com/charmbracelet/vhs --- .files/demo.tape | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .files/demo.tape diff --git a/.files/demo.tape b/.files/demo.tape new file mode 100644 index 0000000..4c5625a --- /dev/null +++ b/.files/demo.tape @@ -0,0 +1,60 @@ +Output screenshots/demo.webm +Require go +Require echo +Set Theme "Catppuccin Latte" +Set FontFamily "Berkeley Mono" +Set MarginFill "#00897b" +Set Margin 25 +Set BorderRadius 10 +Set WindowBar ColorfulRight +Set WindowBarSize 60 +Set TypingSpeed 25ms +Set Shell "zsh" +Set FontSize 32 +Set Width 1500 +Set Height 800 + +Hide +Type "export DIR=$(mktemp -d) && clear" +Enter +Type "CGO_ENABLED=0 go build -ldflags='-s -w' -o willow ./cmd && clear" +Enter +Type "mv willow $DIR/ && clear" +Enter +Type "cd $DIR && clear" +Enter +Show + +Type "ls" +Sleep 500ms +Enter +Type "./willow" +Sleep 500ms +Enter +Type "ls" +Sleep 500ms +Enter +Sleep 3s +Type "vim config.toml" +Sleep 500ms +Enter +Down@100ms 7 +Type@100ms "wwwvE" +Left 1 +Type@100ms "c0.0.0.0:3000" +Sleep 500ms +Escape +Type@100ms ":wq" +Enter +Type "./willow" +Sleep 500ms +Enter +Sleep 3s +Ctrl+C +Sleep 500ms +Type "ls" +Sleep 500ms +Enter +Sleep 5s +Hide +Type "rm -rf $DIR && clear"