This is a test app for Coub API (coub.com/dev/docs) described in this tutorial: medium.com/@igorgl/coub-api-tutorial-ff0e9c6bb67c In Russian: medium.com/@igorgl/туториал-по-coub-api-6bf7988d2c9d
You need to register your application on coub.com/dev/applications to use it and add Application ID and Secret to COUB_KEY and COUB_SECRET enviromental variables (or put it into config/initializers/ominauth.rb).
This app requires ffmpeg with freetype support, on Mac you can install it via Homebrew:
brew install ffmpeg --with-freetype
Feel free to fork and clone and do whatever you want with this code.