Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-gif-me

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-gif-me

Level up your gif collection with chatops.

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

hubot-gif-me

Bring your personal gifs into your favourite chat client.

screen shot 2014-02-19 at 9 35 00 pm

Usage

/gif me
/gif me itworks
/gif list
/gif bomb
/gif bomb 3

Installation

These instructions assume you've deployed Hubot to Heroku. Please make the appropriate adjustments for other hosting solutions.

$ npm install --save hubot-gif-me
$ hk set HUBOT_GIF_INDEX="http://example.com/gif_index.json"
$ vim external-scripts.json # add "hubot-gif-me" to the array

Creating your Index File

The index file is merely a JSON endpoint which returns an array of objects with at least the path attribute. Check out my gif index file. I generated it via a simple call to the jsonify filter in Liquid.

Even though mine is auto-generated, it's totally plausible for you to write you index by hand. It just might suck a little. Judicious use of Jekyll and Liquid will make your life way easier!

Credit

@jglovier had the idea to use GitHub as a gif host. @parkr had the idea to tie this into hubot.

Keywords

FAQs

Package last updated on 29 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc