A static image hosting API for serving hubot images.
Hubopic is a simple sinatra app that serves up any images in the public/images folder as json. It supports the following endpoints:
# List all available albums
GET /
# List all images in an album
GET /:album
# Return a random image from an album
GET /:album/random
# Return a specified count of images
GET /:album/bomb/:count
The corresponding hubot script can be found in /vendor/scripts/hubopic.coffee. It follows the "pugbomb" command conventions.
Hubot Commands
# List available albums
hubopic list
# Returns a random album image
<album> me
# Bomb a room with photos
<album> bomb <count> (optional)
# List album image count
How many <album> are there
Create a folder in public/images and issue a pull request. Actively seeking image albums of puppies, kittens and yummy food. Please use the md5 sum of the image as its name.
