Summary | Discourse Gifs adds a button to the composer that allows you to search for gifs and easily add the best one to your post. | |
Repository Link | https://github.com/discourse/discourse-gifs | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
After searching you get an infinite scrolling wall of related gifs:
Clicking one one inserts it on your current composer, which looks like:
This is heavily based on a old fork of ReplyGif: Adding reaction GIF easily, so thanks to @cpradio.
The big differences are:
-
It can use animated webp instead of gifs, so it’s a lot more efficient for bandwidth.
-
It is a theme-component, so it is way easier to install and update.
-
It offers the choice of Giphy API or the Tenor API.
-
Infinite Scrolling for results
-
Resulting gifs are downloaded to Discourse using our native bitrot protection. You can disable this behavior using existing settings if space is a concern.
-
No need to fiddle with nginx to setup a proxy for HTTPS
Obtaining a Giphy API Key
For the component to work you need to visit Dashboard | GIPHY Developers and click like:
Fill up the form and the API key will be show as:
Obtaining a Tenor API key
Get that key at the official Tenor site: GIF API - Better, Faster & Free | Get Your GIFs with Tenor
After that visit the theme-component page in Discourse and fill up the settings, e.g: