https://github.com/hackafro/giphy-chat
Add gifs using command during chat
https://github.com/hackafro/giphy-chat
Last synced: 11 months ago
JSON representation
Add gifs using command during chat
- Host: GitHub
- URL: https://github.com/hackafro/giphy-chat
- Owner: HackAfro
- Created: 2018-05-02T16:57:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-10T10:11:16.000Z (over 7 years ago)
- Last Synced: 2025-04-09T00:38:08.128Z (about 1 year ago)
- Language: TypeScript
- Size: 194 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Giphy Chat
Get a gif when the `giphy` command is sent as a suffix for ensuing message
## Getting Started
- Clone the repository
- cd into `giphy-chat`
- Create a file called `env` and update it like so
```
PUSHER_APP_ID=APP_ID
PUSHER_KEY=PUSHER_KEY
PUSHER_SECRET=PUSHER_SECRET
GIPHY_KEY=KEY
```
- Visit [https://developers.giphy.com/dashboard/](Giphy's) developer's portal and get a `client_key`.
- Visit [https://dashboard.pusher.com/](Pusher's) dashboard and create a channels app. Copy your `app_id`, `pusher_key` and `pusher_secret`.
- Replace the placeholder values above with your respective keys
- Run `npm install && npm start`
## How to use
To send a gif, start your message with the word `giphy`.