npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@sech1p/blahaj

v0.3.0

Published

Displays blahaj in your terminal

Downloads

34

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. 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 or Pull Request. 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

$ blahaj --help
Usage: blahaj [options] [command]

🦈 Display blahaj in your terminal!

Options:
  -V, --version        output the version number
  -f, --flag <flag>    display a selected flag in terminal
        
  Available flags:
  
    gay
  
  -p, --pipe <param>   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 command

Commands:
  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 <string>        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 <integer> height <integer>"
# 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. That's it.

Also, if you are Arch Linux or -like distribution user you can get blahaj from AUR.

Additionally, you need viu command which you can download it from here. 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.

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.