Element-web: Giphy Integration

Created on 5 Dec 2016  路  5Comments  路  Source: vector-im/element-web

Hi! I'm a long time IRCer and new user to riot/matrix and absolutely love it.

I'd love to see a client integration that has a /giphy command option similar to the popular slack option. The way I was thinking it'd work is the user can input /giphy {search query} and riot will ping the giphy api and post the link to the gif. If the web.

The output would look similar to what is below

<nolski> | /giphy funny cat
<nolski> | http://media2.giphy.com/media/FiGiRei2ICzzG/giphy.gif

Maybe we can even parse for giphy commands and display them inline in the client? I'd be happy to work on this feature but I wanted to see what everyone thought of it before starting.

Most helpful comment

Extra question: as the bot is a user, if you add it to a private conversation, this means the owner of the bot could actually read all these pvt conversations, or not?

All 5 comments

It already exists :) It's !giphy rather than /giphy though, and you
have to add it via 'Manage Integrations' in riot-web in room settings.
It's powered by
https://github.com/matrix-org/go-neb/blob/master/src/github.com/matrix-org/go-neb/services/giphy/giphy.go

Amazing! Thank you :)

Cool, thx! Saw the bot but had to google to find (here) how it works, time for a good FAQ! :)
Two things: 1) only works on mouse-over (why not always?) 2) Would be could ofc if it could now evolve, so that just like in slack you can choose between gifs and it doesn't choose for you.
It's the little things like these that stimulate user adoption.
Thx!

Extra question: as the bot is a user, if you add it to a private conversation, this means the owner of the bot could actually read all these pvt conversations, or not?

@krrisis you can enable auto playing of gifs under your settings. It's called "Autoplay GIFs and videos". I actually prefer them playing on mouse hover so it starts from the beginning.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

richvdh picture richvdh  路  3Comments

arthurlutz picture arthurlutz  路  3Comments

turt2live picture turt2live  路  3Comments

niedzielski picture niedzielski  路  3Comments

bagage picture bagage  路  3Comments