-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.tape
More file actions
35 lines (28 loc) · 1.01 KB
/
Copy pathdemo.tape
File metadata and controls
35 lines (28 loc) · 1.01 KB
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
# VHS tape → demo.gif
# Install VHS (one time): brew install vhs
# Render: vhs demo.tape
Output demo.gif
# ── canvas ────────────────────────────────────
Set FontSize 20
Set Width 1400
Set Height 800
Set Padding 30
Set Theme "Catppuccin Mocha"
Set TypingSpeed 60ms
Set Framerate 30
Set PlaybackSpeed 1.0
# ── scene ─────────────────────────────────────
# Assumes a dummy dev server is already running on :5173 in a
# separate process. Easiest: `python3 -m http.server 5173`.
Type "httpsdev --tui 5173"
Sleep 500ms
Enter
Sleep 2s
# Simulate a few incoming requests to make the feed populate.
# Requires a helper that hits localhost:3443 while VHS records —
# either open a browser tab manually or run in another shell:
# for i in {1..6}; do curl -sk https://localhost:3443/ > /dev/null; sleep 0.5; done
Sleep 8s
# Wave goodbye
Type "q"
Sleep 500ms