Skip to main content

wow very terminal doge

Project description

doge

wow screenshot

doge is a simple motd script based on the slightly stupid but very funny doge meme. It prints random grammatically incorrect statements that are sometimes based on things from your computer.

If you have pipx (you should!), you can try out doge without installing it permanently.
Just type pipx run doge in your terminal to see if you enjoy it. 🐶

Features

  • Randomly placed and colored random strings, complete with broken english.
  • Awesome Shibe 😎 in the terminal.
  • Fetching of system data, such as hostname, running processes, current user and $EDITOR.
  • If you have lolcat, you can do this gem: while true; do doge | lolcat -a -d 100 -s 100 -p 1; done (thx hom3chuk)
  • stdin support: ls /usr/bin | doge will doge-print some of the executables found in /usr/bin. wow. There are also multiple command line switches that control filtering and statistical frequency of words. See doge -h, wow.
    • To use all dictionary words that start or end with "dog", try:
      egrep '(^dog|dog$)' /usr/share/dict/words | fgrep -v "'s" | doge

Installation

  • pipx install doge -- this is the recommended method, but you need pipx installed and configured.
    • pipx is usually the best way to install and run Python-based applications from PyPI, so if you don't yet have it, you should! 👍
    • To install newer versions, run pipx upgrade doge or pipx upgrade-all.
  • Make a Python zipapp with pex or shiv, and put it in your $PATH, for example:
    • shiv doge -c doge -o ~/bin/doge
    • pex doge -c doge -o ~/bin/doge
  • Install with pip, see Brett Cannon's A quick-and-dirty guide on how to install packages for Python for more information. TLDR; basically use your preferred Python and run:
    python3 -m pip install doge

Then, just add a call to doge at the bottom of your shell rc file.

If you don't want to install doge with the options above for whatever reason, there is a proper pyproject.toml included, so inside a virtual environment, python -m pip install -e . should work just fine.

Notes

You need a terminal that supports 256 colors running on a system that supports unicode.

The terminal Shibe was created with hax0r Gimp skills and img2xterm.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

doge-3.8.0.tar.gz (29.3 kB view hashes)

Uploaded Source

Built Distribution

doge-3.8.0-py3-none-any.whl (28.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page