Demos
The Datui demo animations are created using vhs, which lets you script and record keystrokes to a terminal app.
Install vhs
Define Tapes
The vhs application uses .tape files to script keystrokes. See Datui’s here.
Generating the Animations
Run generate-all to use vhs to generate an animated gif file for each tape.
The generate-all script will first run a release build, and then use that version of the application when creating the demos.
scripts/demos/generate-all.sh
The animations will be placed in the demos directory.
During the creation of the documentation, these animations are copied into a
demos/subdirectory of the generated site. From there, the files may be referenced from within the docs.