Skip to content

Random greetings by fortune, cowsay, ponysay or pokemonsay

License

Notifications You must be signed in to change notification settings

tammoippen/greeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Greeter

One docker image to rule them all:

  • fortune: for important information on the future
  • cowsay: for cows telling the future
  • pokemonsay: for pokemons telling the future
  • ponysay: for ponies telling the future

Inspired by the following docker images:

Based on python:3.7-alpine3.9 to keep it small.

All these commands can be executed as expected:

» docker run --rm tammoippen/greeter fortune
Know what I hate most?  Rhetorical questions.
		-- Henry N. Camp
» docker run --rm tammoippen/greeter cowsay "Hello world!"
 ______________
< Hello world! >
 --------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
» docker run --rm tammoippen/greeter pokemonsay -n -w 30 "Hello world!"

pokemonsay

» docker run --rm tammoippen/greeter ponysay "Hello world!"

ponysay

Let them tell fortunes

Pipe the fortune to the speaker - do not forget the -i.

» docker run --rm tammoippen/greeter fortune | docker run --rm -i tammoippen/greeter cowsay
 _____________________________________
/ As long as the answer is right, who \
\ cares if the question is wrong?     /
 -------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Random speaker say

Randomly select the speaker:

» docker run --rm tammoippen/greeter fortune | docker run --rm -i tammoippen/greeter say
 ________________________________________
/ Committees have become so important    \
| nowadays that subcommittees have to be |
\ appointed to do the work.              /
 ----------------------------------------
   \
    \
        .--.
       |o_o |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/

Completly random greating

» docker run --rm tammoippen/greeter
 _________________________________________
/ You can do this in a number of ways.    \
| IBM chose to do all of them. Why do you |
| find that funny?                        |
|                                         |
| -- D. Taylor, Computer Science 350,     |
\ University of Washington                /
 -----------------------------------------
 \     ____________
  \    |__________|
      /           /\
     /           /  \
    /___________/___/|
    |          |     |
    |  ==\ /== |     |
    |   O   O  | \ \ |
    |     <    |  \ \|
   /|          |   \ \
  / |  \_____/ |   / /
 / /|          |  / /|
/||\|          | /||\/
    -------------|
        | |    | |
       <__/    \__>

About

Random greetings by fortune, cowsay, ponysay or pokemonsay

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published