Cowsay quotes
Inspired by the iconic Tony Monroe cowsay.
Refresh the page to change the quote.
Generating line...
Loading quote...
Generating line...
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
How it works: I have a quotes-list.txt file where I write one quote per line. Each time I update it, I run the bash script:
. generate-quotes-js.sh quotes-list.txt
Which generates a javascript file containing the array in the proper syntax.
This const is included in the HTML page and then some ✷ m a t h e m a g i c s ✶ happens ✧.
If you are interested look at the raw samples files here:
- [ bash script ]
- [ text list ]
- [ js array ]
- [ sample HTML ]