Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gjbianco/hubot-simple-gif
Single command script to search for gifs
https://github.com/gjbianco/hubot-simple-gif
Last synced: about 1 month ago
JSON representation
Single command script to search for gifs
- Host: GitHub
- URL: https://github.com/gjbianco/hubot-simple-gif
- Owner: gjbianco
- License: mit
- Created: 2018-06-29T22:49:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T03:01:39.000Z (about 2 years ago)
- Last Synced: 2024-12-09T12:57:38.250Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 839 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple GIF
[![npm version](https://badge.fury.io/js/hubot-simple-gif.svg)](https://badge.fury.io/js/hubot-simple-gif) [![Codeship Status for gjbianco/hubot-simple-gif](https://app.codeship.com/projects/ee6fd190-7f24-0137-eb96-1ec00ef98275/status?branch=master)](https://app.codeship.com/projects/351834)
A very basic giphy Hubot script. Provides one command to search for a gif.
## Configuration
Environment variables:
- GIPHY_API_TOKEN
## Commands
`!gif `
Searches giphy for and returns a gif in the top 5 results.
Gifs are randomly selected from within the top 5 results with the following weights:
1. 50%
2. 25%
3. 12%
4. 12%
5. 1%