← 返回
效率工具 中文

vhs-recorder

Create professional terminal recordings with VHS tape files - guides through syntax, timing, settings, and best practices
创建专业终端录像(含VHS磁带效果),涵盖语法、时机、设置及最佳实践指南
killerapp
效率工具 clawhub v1.0.0 1 版本 99733 Key: 无需
★ 0
Stars
📥 2,241
下载
💾 2
安装
1
版本
#latest

概述

VHS Recorder

Create terminal recordings with Charm's VHS. Use when creating CLI demos, README animations, documentation videos.

Prerequisites

  • vhs installed (brew install vhs / go install github.com/charmbracelet/vhs@latest)
  • ttyd and ffmpeg on PATH

Tape File Structure

Output demo.gif         # Outputs first
Set Width 1200          # Settings second
Set Theme "Catppuccin Mocha"
Require git             # Requirements third
Hide                    # Hidden setup
Type "cd /tmp && clear"
Enter
Show
Type "your command"     # Main recording
Enter
Wait
Sleep 2s

Core Commands

CommandPurpose
------------------
Type "text"Type text (uses TypingSpeed setting)
Enter / Tab / SpaceKey presses
Up / Down / Left / RightArrow navigation
PageUp / PageDownPage navigation
Ctrl+C / Ctrl+D / Ctrl+LSignal/EOF/clear combos
Wait / Wait /pattern/Wait for prompt or regex match
Sleep 2sFixed pause (supports ms/s/m)
Hide/ShowHide setup/cleanup from output
Type@50ms "text"Override typing speed inline
Backspace N / Delete NDelete N chars back/forward
Copy / PasteClipboard operations
Screenshot path.pngCapture single frame
Env VAR "value"Set environment variable

Essential Settings

SettingDefaultNotes
-------------------------
Width/Height1200/600Terminal dimensions in pixels
FontSize32Text size; FontFamily for custom fonts
TypingSpeed50msPer-char delay (override with Type@Xms)
Theme-Use vhs themes to list all available
Padding40Border space; LetterSpacing/LineHeight also available

Timing & Patterns

3-2-1 Rule: 3s after important commands, 2s between actions, 1s for transitions

  • Clean start: HideType "clear"EnterShow
  • Command-wait: TypeEnterWaitSleep 2s
  • Fast hidden: Type@10ms "setup command"
  • ASCII preview: Output demo.ascii for instant test

Output Formats

FormatUse Case
------------------
.gifWeb/README (universal)
.mp4/.webmSocial media / modern browsers
.asciiPreview/test (instant, no ffmpeg)
frames/PNG sequence for post-processing

Quick Fixes

IssueSolution
-----------------
Commands too fastAdd Wait + Sleep 2s after Enter
Messy terminalHideclearShow at start
Inconsistent pacingFollow 3-2-1 timing rule

CLI Commands

vhs demo.tape       # Run tape file
vhs themes          # List all available themes
vhs manual          # Show full command reference

References

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 16:23 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 438 📥 147,325
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,765
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,161