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 🙏

© 2025 – Pkg Stats / Ryan Hefner

cheer-up-cli

v1.0.2

Published

CLI tool to brighten your terminal with ASCII art, cowsay quotes, and a personalized greeting!

Readme

cheer-up-terminal

Brighten your terminal with a personalized greeting, colorful ASCII art, and a random quote—every time you open a new shell!


Features

  • Personalized Greeting: Remembers your name and favorite emoji for a custom welcome.
  • ASCII Art Banner: Displays a cheerful, colorful banner on each run.
  • Random Quote: Shows a random quote using the fortune command (if installed), or a default message.
  • Cowsay Integration: Quotes are wrapped in a fun ASCII animal using cowsay.
  • Automatic Shell Integration: Optionally adds itself to your shell config so it runs on every new terminal session.
  • Automatic Fortune Install: Attempts to install fortune automatically on supported platforms if not found.
  • Cross-platform: Works on macOS, Linux, and Windows (via WSL).

Installation

1. Automated (Recommended)

Install globally via npm:

npm install -g cheer-up-cli

This will make the cheerup command available everywhere and attempt to add it to your shell config (e.g., .zshrc, .bashrc) so it runs when you open a new terminal.

Note: The CLI will also attempt to install fortune automatically if it is not found on your system (on supported platforms). You may be prompted for your password or permission to install system packages.

2. Manual (From Source)

Clone this repository and install dependencies:

git clone https://github.com/yourusername/cheer-up-terminal.git
cd cheer-up-terminal
npm install

Run directly with:

node ./bin/index.js

Or link globally for the cheerup command:

npm link
cheerup

Usage

After installation, simply run:

cheerup [--color | --no-color]
  • On first run, you'll be prompted for your name, favorite emoji, and whether you want colorful output (unless you specify --color or --no-color).
  • The color preference is saved in your config and used for all future runs. You can change it by running with --color or --no-color again, or by editing ~/.cheerup-config.json.

You can also add an alias manually:

alias cheerup="node /path/to/cheer-up-terminal/bin/index.js"

Example Output

When you run cheerup, you'll see output like this:

/ >🌈 Hi you cheer up!

 _______________________________________
/ You're awesome!                       \
|                                      |
| (Install 'fortune' to get dynamic     |
| quotes!)                             |
|                                      |
| - cheer-up-terminal                  |
\                                      /
 ---------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

The output will vary depending on your name, emoji, available fortune quotes, and cowsay animals. If fortune is not installed, you'll see a default message.


Configuration

  • Your name and emoji are stored in ~/.cheerup-config.json.
  • To change them, delete this file or edit it manually, then rerun cheerup.

Troubleshooting

  • Shell Integration Not Working: If cheerup does not run automatically on new terminals, add cheerup to your shell config manually (e.g., add cheerup to ~/.zshrc or ~/.bashrc).
  • Fortune Not Installed: If you do not see random quotes, install fortune manually (see below).
  • Permission Issues: You may need to run your terminal as administrator or use sudo for some install steps.

Installing fortune Manually

If fortune is not installed automatically, you can install it yourself:

  • macOS (Homebrew):
    brew install fortune
  • Ubuntu/Debian:
    sudo apt-get update
    sudo apt-get install fortune
  • Fedora:
    sudo dnf install fortune-mod
  • Arch Linux:
    sudo pacman -S fortune-mod
  • Windows:
    • Use Windows Subsystem for Linux (WSL) and follow the Linux instructions above, or
    • Download a Windows-compatible version from GnuWin32 or use a similar tool.

Contributing

Contributions, issues, and feature requests are welcome! Feel free to open an issue or pull request.


License

MIT © Anuj Khurana