Skip to content

Commit 1673ee0

Browse files
committed
Add demo.tape for VHS to generate demo.gif
VHS tape file to recreate demo.gif with OpenRouter API. Requires OPENROUTER_API_KEY environment variable to be set. Usage: vhs demo.tape Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 7a085d1 commit 1673ee0

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

demo.tape

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# VHS tape file for generating demo.gif
2+
# Requires: vhs (https://github.com/charmbracelet/vhs)
3+
# Usage: vhs demo.tape
4+
#
5+
# IMPORTANT: Set OPENROUTER_API_KEY environment variable before running:
6+
# export OPENROUTER_API_KEY=sk-or-v1-your-key-here
7+
8+
Output demo.gif
9+
10+
Set FontSize 14
11+
Set Width 1600
12+
Set Height 800
13+
Set Theme "Dracula"
14+
15+
# Set up environment variables
16+
# Note: Using $OPENROUTER_API_KEY from your environment
17+
Type "export OPENAI_API_KEY=$OPENROUTER_API_KEY"
18+
Enter
19+
Sleep 500ms
20+
21+
Type "export LLM_BASE_URL='https://openrouter.ai/api/v1'"
22+
Enter
23+
Sleep 500ms
24+
25+
Type "export LLM_MODEL='anthropic/claude-3.5-sonnet'"
26+
Enter
27+
Sleep 500ms
28+
29+
# Clear screen
30+
Type "clear"
31+
Enter
32+
Sleep 500ms
33+
34+
# Run jq-by-example
35+
Type "jq-by-example --task all"
36+
Enter
37+
Sleep 20s
38+
39+
# Wait for completion
40+
Sleep 2s

0 commit comments

Comments
 (0)