Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.33 KB

README.md

File metadata and controls

29 lines (24 loc) · 1.33 KB

mattermost-plugin-giphy

This Mattermost plugin adds Giphy Integration by creating a /gif slash command (no webhooks required).

Requirements

  • Mattermost 4.6 (to allow plugins to create slash commands)

Compilation & Packaging

If your Mattermost server is a linux amd64, you can download the release package and go to the next step.

  1. Have a Go environnement setup
  2. Download this repository
  3. Edit the target OS and architecture of the Mattermost server in the Makefile
  4. Use the command make dist to generate the package plugin.tar.gz

Setup

  1. Use the System Console > Plugins Management > Management page to upload the .tar.gz
  2. Once the plugin is successfully installed, go to the new System Console > Plugins > Giphy page, which contains settings for
    • rating
    • language
    • display size
  3. Activate the plugin in the System Console > Plugins Management > Management page

Usage

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.

What's next?

  • 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