Created
December 18, 2020 09:58
-
-
Save overengineer/3bb5b20f875e1c7e64c56881a471b718 to your computer and use it in GitHub Desktop.
Display random GIF on commandline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chafa <(curl "https://giphy.com/explore/random" | tr -s ' ' '\n' | grep -o '\".*\.gif\"' | sort -R | head -n 1 | xargs curl --output -) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment