A small reddit bot in Python that uploads HTML5/webm versions of .gifs as a comment on the original post. There are two versions. One uses Imgur, the other uses GfyCat.
PRAW (Python Reddit API Wrapper): https://github.com/praw-dev/praw
PRAW OAuth: https://github.com/avinassh/prawoauth2
GfyCat Python API: https://github.com/nim901/gfycat
Note: These packages can be easily installed using the Pip package manager: https://pip.pypa.io/en/latest/
Make sure to set up settings.py before running!