https://github.com/tomcasavant/giphymaubot
Generates a gif given a search term, a plugin for Maubot for matrix.
https://github.com/tomcasavant/giphymaubot
giphy maubot
Last synced: 3 months ago
JSON representation
Generates a gif given a search term, a plugin for Maubot for matrix.
- Host: GitHub
- URL: https://github.com/tomcasavant/giphymaubot
- Owner: TomCasavant
- License: mit
- Created: 2019-04-05T23:48:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-29T03:44:54.000Z (4 months ago)
- Last Synced: 2025-07-13T11:49:52.986Z (4 months ago)
- Topics: giphy, maubot
- Language: Python
- Size: 23.4 KB
- Stars: 21
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Giphy Maubot
A simple [maubot](https://github.com/maubot/maubot) that generates a random gif given a search term.
## Setup
1. Get API key from [giphy](https://developers.giphy.com/docs/) and [tenor](https://tenor.com/gifapi)
2. Fill in `giphy_api_key` and `tenor_api_key` field in base-config.yaml config file or in online maubot config editor
3. It is no longer possible to register new keys for Tenor API v1 (https://tenor.com/developer/keyregistration). Select your tenor API version (v1 or v2)
4. Decide what (giphy) endpoint to get random gifs from (e.g. trending, random) in config file
5. Choose a response type:
- `message` will send a regular message to the room
- `reply` will send a quoted reply message to the room
- `upload` will actually upload the GIF as an image to the room
## Usage
`!gif word` - Bot replies with a link to a gif given the search term
`!gif` - Bot replies with a link to a random gif
Also, `!giphy`, `!g` and `!tenor` may be used.