Repository navigation
No more browser 📼
VHS v2 is here, and it's a big one! VHS no longer runs your tapes through ttyd and a headless Chrome. It now runs your terminal itself, on CVT, and draws every frame on its own. That means fewer things to install, faster recordings and sharper output.
Goodbye, Chrome
Before, VHS opened your shell in ttyd, loaded it in a headless browser and took screenshots. Now it runs the shell directly and renders the text itself. That brings faster runs, less RAM, less CPU, less storage needed for vhs!
Upgrading
The module path is now charm.land/vhs/v2:
go install charm.land/vhs/v2@latestHomebrew and other package managers move to v2 as usual. Once you upgrade, you can uninstall ttyd.
Stay cool,
Charm XX
Changelog
New!
- 80d2d37: feat: answer more terminal queries (@andrinoff)
- 036bfdf: feat: draw overlines and hyperlink underlines (@andrinoff)
- f6a6f64: feat: migrate to x/vt instead of ttyd and chrome (@andrinoff)
- 06ba4cd: feat: prepare v2 (#840) (@andrinoff)
Fixed
- 794d59d: fix: brighten bold text in the first 8 palette colors (#831) (@andrinoff)
- 25abb85: fix: build (@andrinoff)
- 6097b87: fix: create missing folders for screenshots (#833) (@andrinoff)
- a8deb54: fix: ctrl+c causing the first letter of the command to drop (@andrinoff)
- 0bb29a5: fix: draw Nerd Font icons from Symbols Nerd Font when installed (#832) (@andrinoff)
- fa4f294: fix: draw combining accents over their letter (@andrinoff)
- 8a9a1e6: fix: draw emoji like ⌚ and ✅ in color by default (#827) (@andrinoff)
- 53a4156: fix: draw nothing for variation selectors (#826) (@andrinoff)
- c464931: fix: fill missing theme colors like xterm.js (@andrinoff)
- db78463: fix: find fonts by any of their family names (@andrinoff)
- 4244ea2: fix: keep a screenshot taken right before Hide (@andrinoff)
- dae5219: fix: keep rapid blink and blink off away from overlines (#829) (@andrinoff)
- bd27364: fix: keep the GIF palette out of saved frames (@andrinoff)
- d70d927: fix: leave setup lines out of text output snapshots (#836) (@andrinoff)
- f3e78cc: fix: let Env commands override shell settings (@andrinoff)
- eb1de46: fix: make -o replace the tape's video outputs (#837) (@andrinoff)
- eb175bb: fix: more perf and bugfixes (@andrinoff)
- 7c04fdb: fix: pad MP4 and WebM output to an even size (#834) (@andrinoff)
- 73e2179: fix: record an empty terminal for missing shells (@andrinoff)
- ce3c02e: fix: shape Devanagari and other Indic text with the font (#838) (@andrinoff)
- 703a301: fix: size cells like v0.12.1 at every font size (#830) (@andrinoff)
- 058294c: fix: size the terminal grid like xterm.js did (@andrinoff)
- c3d21db: fix: stop crashing when a recording is cancelled (@andrinoff)
- d89253c: fix: stop echoing typed text after the shell exits (#828) (@andrinoff)
- 936842e: fix: take screenshots while hidden at the moment they are asked for (#835) (@andrinoff)
- 8c5eaea: fix: test (@andrinoff)
- 5b9fd9f: fix: use fontconfig's choice for monospace (@andrinoff)
- 46d98f2: fix: wait for the shell prompt before the tape (@andrinoff)
- 93bf57d: fix: windows (@andrinoff)
Other stuff
- ab23b38: more fixes and optimizations along with features (@andrinoff)
- dda4e9d: v2.0.0 (@andrinoff)
Verifying the artifacts
First, download the checksums.txt file and the checksums.txt.sigstore.json file files, for example, with wget:
wget 'https://github.com/charmbracelet/vhs/releases/download/v2.0.0/checksums.txt'
wget 'https://github.com/charmbracelet/vhs/releases/download/v2.0.0/checksums.txt.sigstore.json'Then, verify it using cosign:
cosign verify-blob \
--certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
--bundle 'checksums.txt.sigstore.json' \
./checksums.txtIf the output is Verified OK, you can safely use it to verify the checksums of other artifacts you downloaded from the release using sha256sum:
sha256sum --ignore-missing -c checksums.txtDone! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
