LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

vhs

Record terminal sessions as GIFs

TLDR

Record terminal
$ vhs [script.tape]
copy
Create new tape
$ vhs new [script.tape]
copy
Validate tape
$ vhs validate [script.tape]
copy
Output to specific format
$ vhs [script.tape] --output [demo.gif]
copy
Record with theme
$ vhs [script.tape] --theme [Dracula]
copy

SYNOPSIS

vhs [command] [options] [file.tape]

DESCRIPTION

vhs creates terminal recordings as GIFs, WebM, or MP4 files from declarative script files called tapes. Tape files define a sequence of actions such as typing text, pressing keys, and waiting, producing reproducible recordings that can be regenerated consistently.The tool renders a virtual terminal and captures frames, so recordings look clean regardless of the actual terminal environment. Themes, font sizes, and window dimensions are configurable within the tape file. This makes VHS ideal for creating documentation demos, README GIFs, and tutorial content.

PARAMETERS

new FILE

Create tape file.
validate FILE
Check tape syntax.
--output FILE
Output file.
--theme NAME
Terminal theme.
--shell SHELL
Shell to use.

TAPE COMMANDS

Type TEXT - Type textEnter - Press enterSleep DURATION - WaitSet OPTION VALUE - ConfigureOutput FILE - Set outputHide / Show - Control visibility

EXAMPLE TAPE

$ Output demo.gif
Set FontSize 20
Type "echo Hello"
Enter
Sleep 2s
copy

INSTALL

sudo dnf install vhs
copy
sudo pacman -S vhs
copy
sudo apk add vhs
copy
sudo zypper install vhs
copy
brew install vhs
copy
nix profile install nixpkgs#vhs
copy

CAVEATS

Requires ffmpeg for encoding. Large recordings take time. Complex interactions need scripting.

HISTORY

VHS was created by Charm for terminal recording. It provides reproducible, high-quality terminal GIFs.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid