/twitter-meme-bot

Twitter bot who posts memes from reddit

Primary LanguageGoOtherNOASSERTION

Twitter Meme Bot

This is a twitter bot made in Golang, It's goal is to look up images on Reddit and posts them on Twitter

Features

  • Light weight
  • Easily customizable
  • Duplicate Image hash checking
  • Tweet scheduling

Usage

In general there isn't much you have to do to run this bot besides configuring it once. But there is a Tweet scheduling feature and if you want to access that you can do so on the /schedule route

Installation

I use dep to manage my dependencies so make sure you have that installed before proceeding.

  • Create a twitter application at apps.twitter.com
  • And create a Reddit app at reddit.com
  • After installing dep copy the contents of .env.example into your own .env and fill it out with your credentials.
  • Now that your credentials are in place you can execute the 2 commands below and your bot should be up and running.
$ go build main.go
$ ./main
  • you may be prompted to install db drivers like mysql and postgres. just run go get 'required_package' and you're good to go.

Dependencies

The bot uses the following dependencies:

License

WTFPL License