R Interface to the Giphy API

An interface to the 'API' of 'Giphy', a popular index-based search engine for 'GIFs' and animated stickers (see < http://giphy.com/faq> and < https://github.com/Giphy/GiphyAPI> for more information about 'Giphy' and its 'API') . This package also provides a 'RStudio Addin', which can help users easily search and download 'GIFs' and insert them to a 'rmarkdown' presentation.

CRAN_version CRAN_download

Want to add some GIFs to your awesome rmarkdown presentation?



I guess this is one of the least productive R packages in our community...

No more to say. Enjoy more GIFs in your Rmarkdown documents.



# For dev version


If you are using a recent version of RStudio (v0.99.878 or later), you should be able to find an "Addins" dropdown menu on the toolbar. This package comes with a RStudio Addin called "Add GIFs", which has a user friendly interface you can use to browse, download or insert GIFs or links to a rmarkdown document.

For useRs who are not using RStudio, I'm planning to include a stand-alone shiny app that can be run directly in the console in the next release.


I'm currently using the public beta key for the Giphy API. They say there is a rate limit. I will request a Production key if needed.

Also, I noticed that after GIPHY made some API change recently (the link is no longer point directly to a .gif file but a web page), GIF images can't be seen correctly on some old versions of RStudio. You might need to update your RStudio version if it occurs to you.


giphyr 0.1.1

  • Added a stand alone add_gifs() function to start the addin outside of RStudio.

  • Add dplyr to imports to accommodate incoming purrr release.

giphyr 0.1.0

  • Initial Release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.0 by Hao Zhu, a year ago


Report a bug at https://github.com/haozhu233/giphyr/issues

Browse source code at https://github.com/cran/giphyr

Authors: Hao Zhu [aut, cre]

Documentation:   PDF Manual  

Task views: Web Technologies and Services

MIT + file LICENSE license

Imports httr, shiny, miniUI, tibble, rstudioapi, utils, dplyr, purrr

See at CRAN