BLAHAJ
[MIRROR] 🦈🏳️⚧️🏳️🌈 Gay sharks at your local terminal - lolcat-like CLI tool
Install / Use
/learn @GeopJr/BLAHAJREADME
What is BLÅHAJ?
Apart from a cute cuddly shark plushie from IKEA, BLÅHAJ is a lolcat-like CLI tool that colorizes your input, shows flags and prints colorful sharks!
It has a wide variety of flags/colors to choose from and many options from flag size to whether to colorize by line, word or character.
Installation
Pre-built
You can download one of the statically-linked pre-built binaries from the releases page.
They are built & published by our lovely actions.
AUR
Arch Linux users can install the blahaj (or the blahaj-git) AUR package.
Docker
docker run --rm -it --name blahaj ghcr.io/geopjr/blahaj -h
Building
Dependencies
crystal-1.8.0
Makefile
$ make(or$ make staticon Alpine Linux for a static build)# make install
FAQ
Why are only striped flags allowed?
Flags with eg. triangles, circles or symbols, need enough horizontal space to determine where and how to display them. BLÅHAJ can't know in advance how long the input is going to be.
Why are the stripes repeating instead of showing the flag in full?
Just like the previous question, BLÅHAJ can't know how long the text is going to be (vertically) since it colorizes the input as it comes in.
I would like to add a color scheme or flag
Great! Follow the Contributing section and modify data/colors.yaml.
flag name:
color:
- hex color
- per
- stripe
alias:
- aliases
- if any
Examples
$ blahaj -h
BLÅHAJ v2.2.0
Usage:
blahaj [arguments]
blahaj [arguments] file
command | blahaj [arguments]
Examples:
blahaj -c trans ~/.bashrc
blahaj -s -b
neofetch | blahaj -c gay
blahaj -f -c lesbian -m 4
blahaj -w /etc/os-release
Arguments:
-b, --background Color the background
-s, --shark Shork
-f, --flag Return a flag
-i, --individual Color individual characters
-w, --words Color individual words
-m MULTIPLIER, --multiplier=MULTIPLIER
Multiplier for the flag size (-f)
-c FLAG, --colors=FLAG Color scheme to use (Default: trans)
-r, --random Use a random color scheme
--flags List all available flags
-h, --help Show this help
Shark (-s), flag (-f), flag with 2x multiplier (-f -m 2)

Pipe, individual characters instead of rows (-i)

Read from file, background instead of foreground (-b), individual words instead of rows (-w)
Notice how the foreground color changes based on the background color.

Pipe, default color scheme

All images above include ALT text and you are encouraged to read it, if you find parts of them confusing, by using screen readers, hovering over them with your cursor or looking at the source.
Custom flags at runtime
You can pass a local ./data/colors.yaml file at runtime to the BLAHAJ_COLORS_YAML env var and BLÅHAJ will parse it. This can also be used to override the already defined flags.

(The custom file needs to follow the ./data/colors.yaml format)
Contributing
- Read the Code of Conduct
- Fork it ( https://codeberg.org/GeopJr/BLAHAJ/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Sponsors
<p align="center"> </p>Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate 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
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
