ReadMe for TIL-bot
About:
TIL-Bot is an automated bot that scrapes data from reddit's Today-I-Learned sub and posts them to Instagram.
Technical How-to:
I used Python's PRAW module, which is Python Wrapper for Reddit API. You can perform GET, POST, UPDATE, DELETE using this.
Secondly, I used Pythonic OpenCV to turn this data into a picture.
Lastly, I used Instagram API to upload a new Image every 6 hours to the page.
This script was NOT an API and was running on an Amazon EC2 instance. It was one long script with multiple dependencies.
Due to this we eventually ran out of space on our Instance and had to stop.
Future work
Feel free to pull this repo and work more on it.
As of now, I plan to add the following features-
-
Turn this into an API, run a script to call API every 24 hours.
-
Use GANs to make new abstract backgrounds.
Feel free to mail me at [email protected]
Developed by CleanPegasus and Abhinavmir. Follow @todayilearnedbot on Instagram.