Project

lita-giphy

0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Giphy gif search handler for Lita
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
~> 3.0.0.beta1

Runtime

>= 2.0
 Project Readme

lita-giphy

lita-giphy is a handler for Lita that adds gif-searching functionality backed by Giphy.

Make gif searching fun again. 🎉

Installation

Add lita-giphy to your Lita instance's Gemfile:

gem "lita-giphy"

Configuration

Required attributes

  • api_key - Your Giphy API key. You can either email the devs for a personal API key, or you can use the default public beta key-- dc6zaTOxFJmzC.

Optional attributes

  • rating - allows you to set the rating of the gifs that are found

Example

Lita.configure do |config|
  config.handlers.giphy.api_key = "dc6zaTOxFJmzC"
  config.handlers.giphy.rating = 'g'
end

Usage

Lita: giphy swanson dance
Lita: gif me emo spiderman
Lita: animate me joffrey slap