Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sech1p/blahaj
π¦ Lovely shark now in terminal!
https://github.com/sech1p/blahaj
blahaj pride pride-flags pride-month queer queer-code
Last synced: about 1 month ago
JSON representation
π¦ Lovely shark now in terminal!
- Host: GitHub
- URL: https://github.com/sech1p/blahaj
- Owner: sech1p
- License: apache-2.0
- Created: 2024-06-08T02:21:16.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-10-19T14:54:31.000Z (3 months ago)
- Last Synced: 2024-10-19T18:24:51.785Z (3 months ago)
- Topics: blahaj, pride, pride-flags, pride-month, queer, queer-code
- Language: JavaScript
- Homepage: https://sech1p.ovh/projects/blahaj.html
- Size: 769 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π¦ Blahaj
## β ~~OwO~~, what's this?
`blahaj` is a simple command line program to display in photo or ascii art our beloved shark from IKEA
## β οΈ Important
`blahaj` for rendering plushie shark image in HD is dependent on [viu](https://github.com/atanunq/viu).
However, not on every terminals blahaj are rendered correctly. `blahaj` is tested under KDE 6 desktop environment (Konsole as terminal) and Arch Linux.If blahaj is not except your expectations or you want fix it under your configuration then feel free to making [issue](https://github.com/sech1p/blahaj/issues) or [Pull Request](https://github.com/sech1p/blahaj/pulls). Thanks!
Ensure that you have latest version of node installed (not LTS preffered), otherwise older versions of node.js will not recognize few imports (like `node:module`)
## β Usage
```sh
$ blahaj --help
Usage: blahaj [options] [command]π¦ Display blahaj in your terminal!
Options:
-V, --version output the version number
-f, --flag display a selected flag in terminal
Available flags:
gay
-p, --pipe pipe text to queer colors in terminal (param: background [-b, --background] || text [-t, --text] or both)
Available backgrounds:
gay
bi
lesbian
enby, nb, nonbinary, non-binary
trans, transgender
pan
Available texts:-
-c, --classic output the blahaj in legacy way by jimp (low quality so you are warned!)
-b, --baby output the baby blahaj
-h, --help display help for commandCommands:
ascii_art [options] display blahaj as ascii art$ blahaj ascii_art --help
Usage: blahaj ascii_art [options]display blahaj as ascii art
Options:
--no-unicode [integer] displays ascii art without unicode characters of blahaj
Available options (integer, not required):
2
3
--default displays default ascii art (unicode) of blahaj
--pride select pride color of ascii art haj [gay, lesbian, transgender, nonbinary, poly]
-h, --help display help for command$ blahaj
# In classic modes you can specify width and height of blahaj by "width height "
# For example:
#
# $ blahaj --classic width 50 height 50
#
# $ blahaj --baby classic width 50 height 50
#$ blahaj --classic
$ blahaj --baby
$ blahaj --baby classic
$ blahaj ascii_art --default # (or --pride or --no-unicode)
$ blahaj ascii_art --no-unicode
$ cat example_file_meow.txt | blahaj --pipe --background gay
$ blahaj --flag gay
```## πΎ Installation
To install `blahaj` in your computer, you need to use `npm install -g @sech1p/blahaj` command or download single binary from [releases](https://github.com/sech1p/blahaj/releases). That's it.
Also, if you are Arch Linux or -like distribution user you can get blahaj from [AUR](https://aur.archlinux.org/packages/blahaj-cli).
Additionally, you need `viu` command which you can download it from [here](https://github.com/atanunq/viu). This allows to render blahaj in high quality.
## πΊοΈ Roadmap
β¨ Plans for v0.2.0 (done):
- [X] Binaries
- [X] More ascii art blahajs
- [X] Different color blahajs (there are only basic flags because there is no enough colorous square emojis to do it)
- [X] Ascii art without unicode
- [X] Change width and height of rendered blahaj⨠Plans for v0.3.0:
- [X] Highlightning text on pipe
- [X] Pride flags## ποΈ License
`blahaj` is licensed under [Apache-2.0](LICENSE) license.
All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, trademarks and brands does not imply endorsement.