Inspiration

We wanted to do something for the #hackHarrasment, but would also be fun for people who haven't been harassed.

What it does

The bot sends out encouraging and wholesome messages to users that sign up on the web page. You can also @ mention the bot, and he will get back to you with an encouraging message. When a user signs up, they can choose the frequency at which they get the messages.

How we built it

The backend was build using the Django Python framework, while the front end was basic html and css with a bit of javascript. The bot was built and python and continuously runs on an AWS server alone with the back end server. It utilizes twitter's API in order to update statuses and reply to mentions.

Challenges we ran into

  • Configuring the project to deploy to AWS Elastic Beanstalk was time consuming to say the least. Especially at 3 A.M.
  • Twitter apparently doesn't like it when you follow users repeatedly. Our testing account got it's writing privileges suspended.
  • some API docs were not very good.

Accomplishments that we're proud of

  • Deploying to AWS.
  • actually making something worth demoing. ## What we learned
  • How to deploy to AWS Elastic Beanstalk.
  • How to automate a twitter account.

What's next for WholeGrainTweets

  • Curate messages for users based on which messages they favorite.
  • Allow user submitted messages to the database.
  • Allow users to update the frequency at which they receive messages.
Share this project:

Updates