This Mattermost plugin adds Giphy Integration by creating a /gif
slash command (no webhooks required).
- Mattermost 4.6 (to allow plugins to create slash commands)
If your Mattermost server is a linux amd64
, you can download the release package and go to the next step.
- Have a Go environnement setup
- Download this repository
- Edit the target OS and architecture of the Mattermost server in the
Makefile
- Use the command
make dist
to generate the packageplugin.tar.gz
- Use the
System Console > Plugins Management > Management
page to upload the.tar.gz
- Once the plugin is successfully installed, go to the new
System Console > Plugins > Giphy
page, which contains settings for- rating
- language
- display size
- Activate the plugin in the
System Console > Plugins Management > Management
page
The /gif cute doggo
command will make a post with a GIF from Giphy that matches the 'cute doggo' query. The GIF will be posted using the user's avatar and name.
- Adding a preview mode to mimick the Slack Giphy integration
- Automatic package building for linux x64 install for new release
- Add configuration for command trigger ?
- Better testing