terminal-joke-dashboard/README.md

1.6 KiB

README

Run ./run.sh to see the following on you terminal:

Screenshot

Date/time and jokes vary fonts a bit just to keep it interesting. That is it, nothing more to it than that :-)

More screenshots: 1, 2, 3

Installing

Install FIGlet. E.g. on ubuntu:

 $ sudo apt install figlet

On macOS:

 $ brew install figlet

Clone repo:

 $ git clone https://git.rzen.dev/rzen/terminal-joke-dashboard.git

Run:

 $ ./run.sh

To exit simply press Control-C.

Customizing

Tweak dash.sh.

More figlet fonts can be found on the figlet website. To preview fonts, download them into a directry, cd there and then run something like:

 $ for f in `find . -name "*.flf"`; do echo "$f:"; echo "The quick brown fox jumps over the lazy dog" | figlet -w `tput cols` -ncf $f; date +%n%D%n%T | figlet -w `tput cols` -ncf $f; done

Credits

As it turns out, jokes float around the internet and its nearly impossible to track down origin (with rare exceptions, when individual jokes are credited to the author). Here is a list of websites I copy/pasted jokes from.