-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathflow.tape
More file actions
134 lines (116 loc) · 2.88 KB
/
Copy pathflow.tape
File metadata and controls
134 lines (116 loc) · 2.88 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
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Output docs/demo.gif
Require make
Require curl
Set Shell "bash"
Set FontFamily "JetBrains Mono"
Set FontSize 16
Set Theme {
"name": "Flow",
"black": "#45475a",
"red": "#f38ba8",
"green": "#a6e3a1",
"yellow": "#f9e2af",
"blue": "#89b4fa",
"magenta": "#f5c2e7",
"cyan": "#94e2d5",
"white": "#bac2de",
"brightBlack": "#585b70",
"brightRed": "#f38ba8",
"brightGreen": "#a6e3a1",
"brightYellow": "#f9e2af",
"brightBlue": "#89b4fa",
"brightMagenta": "#f5c2e7",
"brightCyan": "#94e2d5",
"brightWhite": "#cdd6f4",
"background": "#000000",
"foreground": "#cdd6f4",
"selection": "#585b70",
"cursor": "#f5e0dc"
}
Set Width 1200
Set Height 680
Set Padding 16
Set MarginFill "#000000"
Set Margin 8
Set WindowBar "Colorful"
Set PlaybackSpeed 1.0
Hide
# Build
Type "make build"
Enter
Sleep 3s
# Clear for a pristine start
Ctrl+L
Sleep 300ms
# Steady medium-contention traffic — long-running throttled downloads
# All --max-time values are generous to cover the full demo duration
Type "curl -L --limit-rate 4M --max-time 65 -o /dev/null https://speed.hetzner.de/100MB.bin &>/dev/null &"
Enter
Sleep 400ms
Type "curl -L --limit-rate 3M --max-time 60 -o /dev/null https://proof.ovh.net/files/100Mb.dat &>/dev/null &"
Enter
Sleep 400ms
Type "curl -L --limit-rate 5M --max-time 62 -o /dev/null https://speed.hetzner.de/100MB.bin &>/dev/null &"
Enter
Sleep 400ms
Type "curl -L --limit-rate 2M --max-time 55 -o /dev/null https://proof.ovh.net/files/100Mb.dat &>/dev/null &"
Enter
Sleep 400ms
Type "curl -L --limit-rate 3M --max-time 68 -o /dev/null https://speed.hetzner.de/100MB.bin &>/dev/null &"
Enter
Sleep 400ms
Type "curl -X POST --limit-rate 3M --max-time 58 -o /dev/null https://httpbin.org/post &>/dev/null &"
Enter
Sleep 400ms
# Small delayed bumps for visual texture on the steady baseline
Type "(sleep 6; curl -L --limit-rate 4M --max-time 45 -o /dev/null https://speed.hetzner.de/100MB.bin &>/dev/null) &"
Enter
Sleep 400ms
Type "(sleep 12; curl -L --limit-rate 3M --max-time 40 -o /dev/null https://proof.ovh.net/files/100Mb.dat &>/dev/null) &"
Enter
Sleep 400ms
# Clean slate before launch
Ctrl+L
Sleep 200ms
# Type the launch command character by character — builds anticipation
Type@50ms "./bin/flow --refresh 100ms"
Sleep 400ms
Enter
Sleep 3s
# Reveal — hero logo, breathing dot, subtitle, traffic flowing
Show
Sleep 6s
# Reset peaks
Type "r"
Sleep 2s
# Cycle through display modes (m key cycles: hero → compact → mini → tiny → hero)
Type "m"
Sleep 2s
Type "m"
Sleep 2s
Type "m"
Sleep 2s
Type "m"
Sleep 2s
# Back in hero mode, cycle through units briefly
Type "c"
Sleep 2s
Type "c"
Sleep 2s
# Pause — hold longer to show the frozen state
Type "p"
Sleep 4s
# Resume
Type "p"
Sleep 2s
# Show the help overlay
Type "?"
Sleep 4s
Type "?"
Sleep 2s
# Let the fresh burst animate through
Sleep 4s
# Hide before quitting so the GIF ends on the clean TUI screen
Hide
Type "q"
Sleep 2s