charmbracelet / charmbracelet/vhs
Example outputs at double speed
- Dominant language
- Go
- Stars
- 20.9k
- Forks
- 480
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 2
Description
When I run the demo tape:
```
# Where should we write the GIF?
Output demo.gif
# Set up a 1200x600 terminal with 46px font.
Set FontSize 46
Set Width 1200
Set Height 600
# Type a command in the terminal.
Type "echo 'Welcome to VHS!'"
# Pause for dramatic effect...
Sleep 500ms
# Run the command by pressing enter.
Enter
# Admire the output for a bit.
Sleep 5s
```
I get the following, which seems to be at 2x speed compared to the example in the README:

Contributor guide
Research direction
Start with the demo tape shown in the issue and compare its generated GIF with the example in the README, focusing on playback speed and the timing of Sleep and typing actions. Reproduce the discrepancy, trace the timing behavior from the CLI entry point, and consider the issue done when the demo output matches the README speed without breaking the stated delays.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100