-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdemo.tape
More file actions
72 lines (60 loc) · 934 Bytes
/
demo.tape
File metadata and controls
72 lines (60 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# μcharm Demo
# Run with: vhs demo.tape
Output demo.gif
Set Shell "bash"
Set FontSize 16
Set Width 720
Set Height 520
Set Theme "Catppuccin Mocha"
Set Padding 20
Set Framerate 24
Set TypingSpeed 80ms
# Setup - add ucharm to PATH
Hide
Type "export PATH=$PWD/cli/zig-out/bin:$PATH"
Enter
Type "clear"
Enter
Show
Sleep 500ms
# Show the code with syntax highlighting
Type "bat --style=plain --paging=never examples/quick_demo.py"
Enter
Sleep 5s
# Clear and run it
Type "clear"
Enter
Sleep 500ms
Type "ucharm run examples/quick_demo.py"
Enter
Sleep 2s
# Navigate select - take time so people can see
Down
Sleep 600ms
Enter
Sleep 1s
# Confirm
Type "y"
Enter
Sleep 2.5s
# Build it
Type "ucharm build examples/quick_demo.py -o myapp"
Enter
Sleep 3s
# Show size
Type "ls -lh myapp"
Enter
Sleep 3s
# Run built binary
Type "./myapp"
Enter
Sleep 1.5s
Enter
Sleep 800ms
Type "y"
Enter
Sleep 3s
# Cleanup
Hide
Type "rm -f myapp"
Enter