rainbowize
v1.0.0
Published
"Rainbowize" is a terminal application that transforms plain text into a vibrant array of rainbow colors.
Downloads
8
Maintainers
Readme
Rainbowize
Rainbowize is a command-line utility that allows you to add colorful and text effects to input text, creating a rainbow-like visual effect. It provides options to choose different color schemes and apply bold or italic effects to the text. The utility reads input from stdin and outputs the formatted text to stdout.
Table of Contents
Installation
To use Rainbowize, you need to have Node.js installed on your machine. If you haven't already, you can download and install it from the official Node.js website.
- Open your terminal or command prompt.
- Run the following command to install Rainbowize globally:
npm install -g rainbowize
This will make the rainbowize command available globally in your terminal.
Now you're ready to use Rainbowize for colorful and text effect transformations!
Usage
Rainbowize CLI is designed to work with pipes. Here's the basic usage:
<cmd> | rainbowize [options]
Options:
- -s, --scheme : Choose a custom color scheme for rainbowizing. Available options are listed in the Available Color Schemes section.
- -b, --bold: Apply bold text effect.
- -i, --italic: Apply italic text effect.
- -h, --help: Show usage information.
Available Color Schemes
Rainbowize CLI provides the following custom color schemes to choose from:
- angura
- bohemia
- ruri
Examples
- Basic usage with default settings:
echo "Hello, Rainbowize!" | rainbowize
- Applying bold effect and using a specific color scheme:
echo "Colorful and bold!" | rainbowize -b -s angura
- Using an input file with appyling italic effect:
cat input.txt | rainbowize -i
Contributing
Contributions are welcome! If you find a bug or have an idea for improvement, please open an issue or submit a pull request.
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Open a pull request to the main repository.
License
This project is licensed under the GNU GPL. See the LICENSE file for details.