An open API service indexing awesome lists of open source software.

https://github.com/kstrauser/giphycat

Fetch and display Giphy images in iTerm 2 v3
https://github.com/kstrauser/giphycat

Last synced: about 1 year ago
JSON representation

Fetch and display Giphy images in iTerm 2 v3

Awesome Lists containing this project

README

          

# giphycat - Giphy fun for iTerm2

OS X's [iTerm2](https://iterm2.com) terminal emulator supports inline images. Obviously, there has to be a Giphy command line client to properly take advantage of this:

![screenshot](doc/woodchuck.gif)

# Installation

giphycat requires either Python 2.7 or Python 3.5+ (and possibly earlier versions of Python 3, although they haven't been tested). Use pip to install it:

`$ pip install giphycat`

# Usage

When run with no arguments, `giphycat` fetches a random image from Giphy and displays it in the terminal:

`$ giphycat`

![sunglasses](doc/sunglasses.gif)

Any other arguments are treated as a search phrase, and `giphycat` will return one of the images for that phrase at random:

`$ giphycat boston terrier`

![boston_terrier](doc/boston_terrier.gif)

`$ giphycat creqcrqwrceqwrceqwrq`

`Unable to find any GIFs for 'creqcrqwrceqwrceqwrq'`

# Copyright

giphycat is ©2016 by Kirk Strauser .

# License

giphycat is distributable under the terms of the MIT License.