Roflcat
A faster lolcat.
Install / Use
/learn @jameslzhu/RoflcatREADME
roflcat
A faster lolcat. (Unaffiliated with the original lolcat, at https://github.com/busyloop/lolcat.)

Source: /r/photoshopbattles
Why?
I wanted moar rainbowz.
Benchmarks
Extremely unscientific.
Measurements
$ timeout 60 cat /dev/urandom | hexdump -C | target/release/roflcat | pv > /dev/null
3.10GiB 0:01:00 [54.1MiB/s]
$ timeout 60 cat /dev/urandom | hexdump -C | lolcat | pv > /dev/null
1.18GiB 0:01:00 [20.4MiB/s]
Specs
Measured on an AMD Ryzen R5-1600 @ 3.2GHz (12-core) CPU, on 64-bit Arch Linux.
roflcat and lolcat are single-threaded applications.
$ uname -a
Linux triangulum 4.19.80-1-lts #1 SMP Fri Oct 18 05:03:40 UTC 2019 x86_64 GNU/Linux
$ rustc --version
rustc 1.38.0 (625451e37 2019-09-23)
$ roflcat --version
roflcat 0.1.0
$ ruby --version
ruby 2.5.7p206 (2019-10-01 revision 67816) [x86_64-linux]
$ lolcat --version
lolcat 100.0.0 (c)2011 moe@busyloop.net
License
Lolcat is licensed under a BSD 3-Clause License. See LICENSES for the full text and copyright.
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
