OreillyCover Twitter Bot

In succession to those hilarious The Practical Developer Book Covers, the Twitter bot @OreillyCover has been created by @GNUmanth. It allows you to roll your own book covers by just tweeting at it.

Feed the bot tweets using the following format:

@OreillyCover /orly {title};{topText};{author}

Tweeting @OreillyCover /orly Hanging out on Slack;Being unproductive without feeling guilty about it;SlackHQ for example yields this:

OreillyCover_2016-Apr-21

The animals and colors used are randomized per request.

I wonder what the technology stack behind it is. Also: slash command? Where’s that Slack bot implementation?

UPDATE 2016.04.25: The source code of the bot is available on GitHub. It’s a Node script running a Twitter client that listens for tweets and passes on the hard work to a cover generator running on Heroku.

Although the cover bot points to URLs starting with https://orly-appstore.herokuapp.com/generate?…, the cover generator itself can actually be found over at http://dev.to/rlyslack. A Slack integration is provided, and the images (40) + colors (16) can also be customised. The source of the cover generator – written in Python by @AModelEngineer – can also be found over at GitHub.

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.