github charmbracelet/vhs v0.4.0

latest releases: v0.8.0, v0.7.2, v0.7.1...
17 months ago

Terminal Decorations 🎨

The latest version of VHS includes a ton of new settings for you to play around with! These settings allow you to decorate your GIFs and make them look even more like terminal emulators.

This release also includes a new Alt command, a --quiet flag for silent outputs, and bug fixes when starting up different shells.

New Settings

  • Margin: Adds a margin around the outside of your terminal, while Padding allows you to add padding inside the terminal.
  • MarginFill: Adds a background color to the outside of the terminal. To change the background color of the terminal itself, use Set Theme and specify the background.
  • WindowBar: Adds a terminal window frame/bar to the top of the GIF. This value can be one of Colorful, ColorfulRight, Rings, or RingsRight.
  • WindowBarSize: Sets how the WindowBar should appear.
  • BorderRadius: Sets the border radius of the terminal.
Set Margin 80
Set MarginFill "#674EFF"
Set WindowBar "Colorful"
Set WindowBarSize 40
Set BorderRadius 8

Launch with Shell

This version of VHS performs the Shell change upon launch, rather than switching shells after starting the ttyd process. This change should result in slightly faster recordings and reduce the occurrence of buggy flashes at the start of GIFs that appeared occasionally when shell switching was slow.

Set Shell zsh

Alt command

VHS now supports pressing the Left Alt key with the newly introduced Alt command. It behaves similarly to pressing Ctrl along with another key.

Alt+V

Quiet Output

If you prefer to create your VHS GIFs without any output, simply add the -quiet flag. This will minimize any output to just the essentials.

vhs demo.tape --quiet

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

Don't miss a new vhs release

NewReleases is sending notifications on new releases.