D port of BLAHAJ-rs
- D 79.7%
- Shell 11.2%
- Perl 4.2%
- Raku 3.9%
- Makefile 1%
| completions | ||
| screenshots | ||
| source | ||
| .gitignore | ||
| colors.yaml | ||
| dub.json | ||
| LICENSE | ||
| Makefile | ||
| parse_colors_to_d.pl | ||
| parse_colors_to_d.raku | ||
| README.md | ||
| shark.svg | ||
| test_scripts.sh | ||
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
License
It's the MIT license.


