Loading...
Loading...
Generate CLI demo GIFs using vhs (Charmbracelet). Use when creating terminal recordings for README files or documentation.
npx skill4agent add b-open-io/prompts cli-demo-gifbrew install vhsdocs/demo/mkdir -p docs/demo# Description comment
Output docs/demo/demo.gif
Set Shell "bash"
Set FontSize 16
Set Width 900
Set Height 500
Set Padding 20
Set Theme "Catppuccin Mocha"
Set TypingSpeed 50ms
# Commands here
Type "command --help"
Enter
Sleep 2s# Set up alias without showing it
Hide
Type "alias mycli='bun run src/cli/index.ts'"
Enter
Sleep 500ms
Show
# Now show the demo with clean commands
Type "mycli --help"
Enter
Sleep 2svhs docs/demo/cli.tape| Command | Description |
|---|---|
| Output file path (.gif, .mp4, .webm) |
| Shell to use |
| Font size (16 recommended) |
| Terminal width in pixels |
| Terminal height in pixels |
| Padding around terminal |
| Color theme |
| Delay between keystrokes |
| Type text |
| Press enter |
| Wait (e.g., 2s, 500ms) |
| Stop recording |
| Resume recording |
| Send interrupt |
Catppuccin MochaDraculaTokyo NightOne DarkGitHub DarkSleep