This directory contains scripts to produce GIFs of Nosey Parker usage examples.
These scripts are written using vhs
, a console script runner and recording tool.
The example script fragments are in the examples
directory.
Each one is a vhs
fragment, which is cobbled together with some common settings using the record-examples.zsh
script.
The generated GIFs are stored in the gifs
directory.
- Install
vhs
- Install
noseyparker
./record-examples.zsh
This tool, though it seems to be very popular, is full of significant bugs. What I've seen in a day's usage:
-
The
Show
andHide
commands seem to have a race condition, not reliably working without addingSleep 1s
calls before and after. Otherwise, you are likely to get the hidden commands included in the rendered output. -
The
Source
command is unsuitable for its main use case (putting common settings in a separate file); the settings seem to be applied, then partially forgotten. -
The framerate for GIF output is unreliable and doesn't correspond with
Sleep
durations, especially at higher framerates