lolcat
Version, currently 0.0.713 versions
- 0.0.12latestJun 22, 2026
- 0.0.11not indexedJun 23, 2026
- 0.0.10not indexedJun 23, 2026
- 0.0.9not indexedJun 23, 2026
- 0.0.8not indexedJun 23, 2026
- 0.0.7not indexedJun 23, 2026
- 0.0.6not indexedJun 23, 2026
- 0.0.5not indexedJun 23, 2026
- 0.0.4not indexedJun 23, 2026
- 0.0.3not indexedJun 23, 2026
- 0.0.2not indexedJun 23, 2026
- 0.0.1not indexedJun 23, 2026
- 0.0.0not indexedJun 23, 2026
github.com/kojix2/lolcat.cr
Crystal implementation of the lolcat
Nothing has been indexed for 0.0.7 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
lolcat:
github: kojix2/lolcat.cr
version: ~> 0.0.7Then run:
shards installshard.yml
No shard.yml has been indexed for 0.0.7. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
What?
:black_cat: Crystal implementation of the lolcat
Installation
Download from GitHub Release
From source code:
git clone https://github.com/kojix2/lolcat.cr
cd lolcat.cr
shards build --release
mv bin/lolcat /usr/local/bin/ # or any directory in your PATH
Homebrew:
brew install kojix2/brew/lolcat
Usage
lolcat README.md
lolcat --help
As a library
You can use lolcat.cr as a library in your Crystal projects:
# Add to your shard.yml
dependencies:
lolcat:
github: kojix2/lolcat.cr
Basic usage:
require "lolcat"
# Use the Lol module directly
include Lolcat::Lol
# Create options with default values
options = Lolcat::Options.new
# Apply rainbow colors to a string
colored_text = rainbow_line("Hello, colorful world!", options, 0.0)
puts colored_text
# Or process an entire IO stream
io = IO::Memory.new("Multiple\nLines\nOf\nText")
lol_cat(io, options)
For more examples, see examples
Development
This project was created as an example of a command line tool. Use only standard libraries and keep it simple.
Contributing
Pull requests and issues are welcome.
License
The original lolcat is licensed under the BSD 3-Clause "New" or "Revised" License. Thus, the same is true for this project.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.0.7- Tagged
- Jun 23, 2026
- Commit
560b2405648a- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/kojix2/lolcat.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 13