Inspiration

Every time I see a Reddit post, I wonder "What is the context? Why did this man just get punched in the face? What started this fight?" Then I thought to myself, what can I do about it?

What it does

If a user wants to know, they simply ping "u/addContext_bot" and if they do, context will be provided or prompt the user to supply some if there is none.

How we built it

First we started using the PRAW API wrapper for Reddit. We began by pulling information and validating it manually. Then we started responding to our own posts. We managed to get it to respond to a variety of different sources and cases.

Challenges we ran into

Reddit formatting is difficult. We also ran into issues with uploading our DB to mongoDB and found it frustrating to format it correctly.

Accomplishments that we're proud of

We are very proud that we got the functions to work properly. This is the half of us have worked with MongoDB. This is also a very sharp refresher for the praw library in python and working with Reddit's API.

What we learned

We learned about how MongoDB works as well as it's advantages over SQL. We learned about how useful it is and how easy it is to work with.

We also learned about the Reddit API and how to interact with that.

What's next for Reddit Contextualizer

Next we plan on making the bot always online as well as figuring out automatic news stories surrounding the image/gif/video/title. Context is important, especially in these trying times.

Built With

Share this project:

Updates