Gifme is a super-simple Ruby and JS app for grabbing, previewing, and linking to individual files in a directory of images. Namely, animated gifs.
Now also a Slack app!
Why would you do this
I wanted to be able to search my gif library and do so in a way more fancy/interesting than CMD+F. I also wanted previews that were bandwidth-friendly, and (eventually) a tagging system with both global and local tags.
I then wanted to make use of the app to basically use as a replacement for Slack’s Giphy integration. Giphy integration is neat, but searching my own gif library from the comfort of a Slack channel is neater.
How did you do this
Take a look through the code and find out! But the TL;DR is this:
- All routes except for
- There is a symlink to a directory of images (gifs) in
- This is where you'd put (or symlink) your images/gifs if you wanted to run it yourself
- I'm using Passenger to run the Rack app on my Apache server