/ .files / demo.tape
demo.tape
 1  # SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
 2  #
 3  # SPDX-License-Identifier: CC0-1.0
 4  
 5  Output screenshots/demo.webm
 6  Require go
 7  Require echo
 8  Set Theme "Catppuccin Latte"
 9  Set FontFamily "Berkeley Mono"
10  Set MarginFill "#00897b"
11  Set Margin 25
12  Set BorderRadius 10
13  Set WindowBar ColorfulRight
14  Set WindowBarSize 60
15  Set TypingSpeed 25ms
16  Set Shell "zsh"
17  Set FontSize 32
18  Set Width 1500
19  Set Height 800
20  
21  Hide
22  Type "export DIR=$(mktemp -d) && clear"
23  Enter
24  Type "CGO_ENABLED=0 go build -ldflags='-s -w' -o willow ./cmd && clear"
25  Enter
26  Type "mv willow $DIR/ && clear"
27  Enter
28  Type "cd $DIR && clear"
29  Enter
30  Show
31  
32  Type "ls"
33  Sleep 500ms 
34  Enter
35  Type "./willow" 
36  Sleep 500ms 
37  Enter
38  Type "ls" 
39  Sleep 500ms 
40  Enter
41  Sleep 3s
42  Type "vim config.toml" 
43  Sleep 500ms 
44  Enter
45  Down@100ms 7
46  Type@100ms "wwwvE" 
47  Left 1 
48  Type@100ms "c0.0.0.0:3000" 
49  Sleep 500ms 
50  Escape 
51  Type@100ms ":wq" 
52  Enter
53  Type "./willow" 
54  Sleep 500ms 
55  Enter
56  Sleep 3s
57  Ctrl+C 
58  Sleep 500ms
59  Type "ls" 
60  Sleep 500ms 
61  Enter
62  Sleep 5s
63  Hide
64  Type "rm -rf $DIR && clear"