Coder Social home page Coder Social logo

andrewts129 / donald-trump-bot Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 2.0 63.32 MB

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

Home Page: https://twitter.com/donaldtrumbot

Python 98.89% Dockerfile 1.11%

donald-trump-bot's Introduction

@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

donald-trump-bot's People

Contributors

andrewts129 avatar elgohr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

thejambo covcov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.