Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 4.1% on proxy.golang.org
Top 4.6% dependent packages on proxy.golang.org
Top 1.7% forks on proxy.golang.org

proxy.golang.org : github.com/charmbracelet/vhs

Package vhs keys.go defines the key map for the Type command. The `keymap` map is used to convert runes from a string into the appropriate go-rod input. Type Hello, world! The above command will type the string "Hello, world!" into the terminal, by converting each rune into the correct input. Hello, world! { shift(input.KeyH), input.KeyE, ..., input.KeyD, shift(input.Digit1) } Package main theme.go contains the information about a terminal theme. It stores the 16 base colors as well as the background and foreground colors of the terminal theme. It can be changed through the Set command. Set Theme {"background": "#171717"} Set Theme "Catppuccin Mocha" Package vhs tty.go spawns the ttyd process. It runs on the specified port and is generally meant to run in the background so that other processes (go-rod) can connect to the tty. xterm.js is used for rendering the terminal and can be adjusted using the Set command. Set FontFamily "DejaVu Sans Mono" Set FontSize 12 Set Padding 50 Package vhs video.go spawns the ffmpeg process to convert the frames, collected by go-rod's screenshots into the input folder, to a GIF, WebM, MP4. MakeGIF takes several options to modify the behaviour of the ffmpeg process, which can be configured through the Set command. Set MaxColors 256

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/charmbracelet/vhs
Keywords: ascii, cli, command-line, gif, hacktoberfest, recording, terminal, vhs, video
License: MIT
Latest release: 3 months ago
First release: over 1 year ago
Namespace: github.com/charmbracelet
Dependent packages: 2
Stars: 9,957 on GitHub
Forks: 154 on GitHub
Docker dependents: 1
Docker downloads: 508
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago

    Loading...
    Readme
    Loading...