Lolcat is a command-line tool that colorizes terminal output by printing text in rainbow gradients. Inspired by the original Ruby “lolcat” project, it takes input from stdin or files and outputs the same text with colorful ANSI escape codes. It’s frequently used to add a playful touch to logs, help messages, or shell scripts, making otherwise mundane terminal output more fun. Options allow customizing color spread, speed, and randomization to create different rainbow effects. Lolcat is often piped into commands like cat, figlet, or fortune to create whimsical and eye-catching console art. Despite being lighthearted in purpose, it demonstrates the use of ANSI codes and stream manipulation in a clean, portable way.

Features

  • Rainbow / gradient colorization of text output to terminal when displaying files or piped input
  • Optional animation of the color gradients as output is displayed
  • Supports reading from files or standard input (pipe) like cat
  • Configurable parameters (speed, seed, color range, etc.) for adjusting appearance
  • Availability via common package managers (gem, Homebrew, Snap etc.) for ease of installation
  • Works even when piping output (preserving or not preserving ANSI color codes) under TTY detection etc.

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

BSD License

Follow Lolcat

Lolcat Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Lolcat!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Ruby

Related Categories

Ruby Terminals

Registered

2025-09-17