Skip to content
AI Bot that posts to social media regularly
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



Bot that posts to social media regularly by picking up random images from your imgur album & analyzing it's contents


Uses groovy, Google TensorFlow Inception


After my last debacle at attempting to find a social media person who could make few posts on my twitter, facebook & instagram daily I decided to write my own Social Media Manager Bot.


  • Populate the with your personal access code/token for imgur & buffer
  • Setup tensor flow with inception at the directory you specify in the properties file
  • Run the app by groovy
 groovy src/main/groovy/BufferSocialMedia.groovy


Checkout the posting on our social media accounts to see it in action



Free Software, Hell Yeah!

Sample Outputs

Our automated postings are on






Detailed Blog at :

A breakdown of what this bot does:

  • Get imgur album and list the images via imgur api

  • select a random image from the album

  • if image has title & description set then use that for posting text

  • If there is no title & description then

     a) download the image
     b) pass the image to TensorFlow inception to guess the contents of the image
     c) create hashtags out of the top three Inception guesses
  • Subscribe to Buffer (shout out to for such an awesome app)

  • Create social profiles on Buffer where I wanted the post to appear (I ended up creating twitter, facebook, linkedin, Google+ & Instagram)

  • For each social profile get the image link, the post text (which could be the image title on imgur or guessed by inception) and post it to Buffer using Buffer api.

  • Setup this program on crontab

  • Make sure the amount of times the crontab runs is less than or equal to the amount of posting times on buffer (else the queue buffer keeps filling up on Buffer)

You can’t perform that action at this time.