Skip to content

Instantly share code, notes, and snippets.

@apas
Last active November 6, 2016 21:41
Show Gist options
  • Select an option

  • Save apas/380b9f90c2cb95961f4a139cfae71ed8 to your computer and use it in GitHub Desktop.

Select an option

Save apas/380b9f90c2cb95961f4a139cfae71ed8 to your computer and use it in GitHub Desktop.
use boom and imgcat for a reaction-gif-archive in your terminal
# make sure you're using iTerm 2
#
# download + install imgcat
# https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/imgcat
# (put it in your path and `chmod +x` it)
#
# install @holman's boom
# https://github.com/holman/boom
# $ gem install boom
# add some gifs in a gifs category
$ boom gifs
$ boom gifs badum http://i.imgur.com/usIrF0J.gif
# add this in your .bash_profile and source it
gifcat() {
boom gifs ${1} > /dev/null
curl -s $(pbpaste) | imgcat
}
# profit
# gif link is in your clipboard (courtesy of boom)
# and you've alredy previewed it inside the terminal
@apas
Copy link
Copy Markdown
Author

apas commented Nov 6, 2016

Demo

Demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment