maunium / stickerpicker

A fast and simple Matrix sticker picker widget
GNU Affero General Public License v3.0
328 stars 615 forks source link

Integrated gif search #22

Closed tulir closed 5 months ago

tulir commented 4 years ago

Something like Giphy could be integrated into the sticker picker to provide a better gif sending experience than the bots that can't do previews. Should be optional, since it requires connecting to an external service.

hegdenischay commented 6 months ago

I'm implementing this for myself here: https://github.com/hegdenischay/stickerpicker/tree/gif-search-matrix-widget-api

Not sure how we should go with replacing the hardcoded API key that I have there. I was wondering some kind of config to set the API key like what we have in the config file, but this API key is simply something I got out of a single request and not really identifying information, so should it be disabled if the API key isn't mentioned or simply use the existing API key?

hegdenischay commented 5 months ago

This is how it now looks if no API key was set in the config: image And this is how it looks if an API key was set. image Any help would be very much appreciated.