This directory contains scripts for managing and maintaining the screensaver gallery.
This script installs the necessary dependencies for the other tools. It can install asciinema and agg on macOS, Debian/Ubuntu, Arch Linux, and other Linux distributions.
Usage:
./tools/install-all-the-stuff.shThis script generates an animated GIF preview for each screensaver in the gallery. It uses asciinema to record a short session of each screensaver and agg to convert the recording into a GIF.
Usage:
./tools/smile-for-the-camera.shThe generated GIFs will be saved in the respective screensaver's directory (e.g., gallery/alpha/alpha.gif).
This script creates an overview of all the screensavers in the gallery. It records a short snippet of each screensaver and then concatenates them into a single overview.cast file and a corresponding overview.gif file in the root directory.
Usage:
./tools/tour-the-gallery.shThis script generates a series of shell commands to create a "spotlight" message on the main GitHub repository page. It does this by generating commands that make trivial changes to the top 12 files and directories and then commit those changes with custom messages.
Usage:
- Customize the message: Edit the
spotlight/message.txtfile. It should contain exactly 12 lines. Emojis and UTF-8 characters are welcome! - Generate the commands: Run the script from the root of the repository:
./spotlight/spread-the-word.sh
- Run the commands: The script will output a series of shell commands. These commands will first modify the files, and then use
git addandgit committo commit the changes. Review them, and if they look correct, copy and paste them into your terminal to execute them.