Coder Social home page Coder Social logo

doge's Introduction

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.

doge's People

Contributors

olivia5k avatar harkabeeparolus avatar heath123 avatar tonylazarew avatar codl avatar colons avatar hdevalence avatar moggers87 avatar xe avatar wjt avatar carolinux avatar keithw avatar netoneko avatar lotheac avatar ljalonen avatar lozzd avatar pschfr avatar richo avatar ryancw avatar lwneal avatar kaligule avatar jtzeng avatar jbremer avatar algernon avatar denilsonsa avatar h3xx avatar granitosaurus avatar azet avatar courajs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.