a handy cli tool that will help you show off your terminal/shell with beautiful ansi art that matches your current theme!
Note
This project was inspired by shell-colorscripts, by Derek Taylor (on gitlab)
refer to my dotfiles for the setup.
default usage
colorscript [OPTION] [SCRIPT NAME or INDEX]here's a list of available commands
| command | description |
|---|---|
-h, --help, help |
display the help message with a summary of all available commands. |
-l, --list, list |
list all installed color scripts with their respective index numbers and names. |
-r, --random, random |
run a random color script. |
-e, --exec, exec |
run a specified color script by its name or index. |
-b, --blacklist, blacklist |
blacklist a specific color script by its name or index, moving it to the blacklisted directory. |
-u, --unblacklist, unblacklist |
unblacklist a previously blacklisted script, moving it back to the main directory. |
-a, --all, all |
display the output of all color scripts, showing their names alongside their respective artwork. |
- currently there are 3 ways to install the cli
- use the
install.shscript - scoop (currently not working, as we are waiting for the package approval from scoop)
- build it from source (with make)
scoop install colorscript # install and setup colorscriptsclone the repo, and proceed to the directory
git clone https://github.com/theamallalgi/colorscripts.git # clone git repo
cd colorscripts # change directory to colorscripts/run the install script with sudo privileges
sudo ./install.sh # run install scriptrun the cli for the first time
colorscript --random # displays a random colorscriptclone the repo, and proceed to the directory
git clone https://github.com/theamallalgi/colorscripts.git # clone git repo
cd colorscripts # change directory to colorscripts/make sure that make is installed on your os
make install # build and install colorscriptsrun the cli for the first time
colorscript --random # displays a random colorscriptwe welcome contributions from the community! Here are some guidelines to follow when contributing to the colorscripts project:
Commit Messages:
- We follow the conventional commit message format. This ensures consistency and helps track changes effectively.
- Use the prefix
feat(ansi):for commits that add new ANSI color art scripts to the repository.
Adding New Art:
- Create your art using ANSI color escape sequences.
- Ensure the art utilizes only the terminal's 8-color palette for broad compatibility.
- Save your art script as a simple filename (e.g.,
spiral,firework) in thecolorscriptsfolder, avoiding extensions like.sh. - Use hyphens (-) for separators in filenames if needed.
- When adding a new art script, commit your changes with the following format:
feat(ansi): add art-name colorscriptExample Commit Message:
feat(ansi): add fire-wave colorscriptThis message indicates that you've added a new colorscript named fire-wave that utilizes ANSI color codes.
Additional Notes:
- Feel free to open an issue or pull request to discuss your art contribution before starting.
- We appreciate any suggestions for improvement or bug fixes.
- Refer to the existing code for reference on how to structure your new art script.
By following these guidelines, you can help us make colorscripts even more vibrant and visually engaging!



