Skip to content

Instantly share code, notes, and snippets.

@overengineer
Created December 18, 2020 09:58
Show Gist options
  • Save overengineer/3bb5b20f875e1c7e64c56881a471b718 to your computer and use it in GitHub Desktop.
Save overengineer/3bb5b20f875e1c7e64c56881a471b718 to your computer and use it in GitHub Desktop.
Display random GIF on commandline
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