Skip to content

Twitter bot that uses President Trump's Twitter account to create Markov chains that resemble his tweeting patterns.

Notifications You must be signed in to change notification settings

andrewts129/donald-trump-bot

Repository files navigation

@DonaldTrumBot

Twitter bot that uses President Trump's Twitter account to create Markov chains that imitate him. Account can be found running live here.

This program currently runs on my DigitalOcean box:

  • Every night at midnight, it downloads new tweets from trumptwitterarchive.com and uses them to train the Markov chain model.
  • Every ten minutes, the tweeting script is run. Most of the time, the script will terminate without doing anything. However, there is a small random chance that it will create a tweet using the model and post it to Twitter. It's configured to post about 2.5 times a day, on average.

TODO:

  • Add more logging
  • Experiment with using a neural network model instead
  • Find ways to reduce memory usage further so it runs better on cheap cloud hosts

About

Twitter bot that uses President Trump's Twitter account to create Markov chains that resemble his tweeting patterns.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published