منصوبے کے بارے میں

VHS aik tool hai jo terminal GIFs (aur doosray video formats) code se generate karta hai, integration testing aur CLI tools demonstrate karne ke liye design kiya gaya hai. Users .tape files likhtay hain jin mein commands hoti hain jo VHS ko virtual terminal par actions karne ke liye guide karti hain, masalan text type karna, keys press karna (Enter, Tab, Backspace, arrows, Ctrl combinations), screen content ka wait karna, aur sleep karna. Output ko GIF, MP4, WebM, ya PNG frame sequence mein render kiya ja sakta hai. Key capabilities mein shamil hain: - Tape file scripting commands for typing, key presses (Enter, Tab, Backspace, arrows, Ctrl combinations), scrolling, regex ke zariye waiting, aur sleeping. - Settings for font family and size, terminal dimensions (pixels ya columns/rows), letter spacing, line height, themes (JSON ya named), padding, margin, window bar style, border radius, framerate, playback speed, loop offset, aur cursor blink. - Terminal sessions ko seedha tape files mein record karna `vhs record` ke saath. - GIFs ko vhs.charm.sh par publish karna, taake browser, HTML, ya Markdown links ke zariye share kiya ja sake. - Built-in SSH server (`vhs serve`) self-hosting ke liye, jisse remote access possible hota hai jahan VHS host-installed commands ke saath chalta hai. - Dependency declaration `Require` ke zariye, taake agar zaroori programs missing hon toh early fail ho. - `Hide`/`Show` commands frame capture pause aur resume karne ke liye setup ya cleanup ke doran. - `Source` command doosri tape files se commands include karne ke liye. - Environment variables set karna `Env` ke saath. - Clipboard copy and paste support. - Screenshot capability individual frames ke liye. VHS ko ttyd aur ffmpeg ki zaroorat hai PATH par. Isay package managers (brew, pacman, nix, scoop, winget), Docker, prebuilt binaries, ya `go install` ke zariye install kiya ja sakta hai.