D port of BLAHAJ-rs
  • D 79.7%
  • Shell 11.2%
  • Perl 4.2%
  • Raku 3.9%
  • Makefile 1%
Find a file
2026-03-24 17:51:41 +02:00
completions fix locale detection in completions 2026-03-21 05:17:59 +02:00
screenshots
source clarify setting 2026-03-24 17:51:41 +02:00
.gitignore
colors.yaml
dub.json add homepage to dub.json 2026-03-21 03:06:23 +02:00
LICENSE
Makefile don't leave .o files around 2026-03-21 01:09:59 +02:00
parse_colors_to_d.pl dynamically use first flag name from the YAML file as the default retun value for invalid flags 2026-03-21 01:25:50 +02:00
parse_colors_to_d.raku dynamically use first flag name from the YAML file as the default retun value for invalid flags 2026-03-21 01:25:50 +02:00
README.md Update README.md 2026-03-24 16:43:40 +01:00
shark.svg
test_scripts.sh don't use hardcoded path 2026-03-20 19:14:15 +02:00

BLÅHAJ ascii art in trans flag colors

BLÅHAJ-d

Gay sharks at your local terminal

What is BLÅHAJ-d?

This program is a D port of the CLI tool BLAHAJ. The original program was written in Crystal, then ported to Rust. This version is written in D.

Based on BLAHAJ-rs by Doctor-Coomer.

Flag data conversion scripts are available in Raku (parse_colors_to_d.raku) and Perl (parse_colors_to_d.pl).

Installation

AUR

https://aur.archlinux.org/packages/blahaj-d

Compilation

$ git clone https://git.disroot.org/sasha/BLAHAJ-d.git
$ cd BLAHAJ-d
$ dub build -b release

Alternatively:

$ ldc2 -O --release --link=static source/main.d source/cat.d source/flags.d source/shark.d -of=blahaj
# or: dmd -O --release source/main.d source/cat.d source/flags.d source/shark.d -of=blahaj
# or: gdc -O --release source/main.d source/cat.d source/flags.d source/shark.d -of=blahaj

How to add custom flags!

Add a new flag to colors.yaml in the format:

myflagname:
  color:
  - FFFFFF
  - AAAAAA
  - BBBBBB
  - 000000
  - 777777

Then regenerate and rebuild:

$ raku parse_colors_to_d.raku > source/flags.d
# or: perl parse_colors_to_d.pl > source/flags.d
$ dub build -b release

Showcase

Look at deez colors

Woah a shork

Flags

License

It's the MIT license.