All Projects → karan → What-Would-I-Tweet

karan / What-Would-I-Tweet

Licence: MIT license
Automatically generates tweets for you! It trains a Markov bot based on bigram probabilities derived from your tweet history.

Programming Languages

CSS
56736 projects
python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

What would I tweet

What would I tweet automatically generates tweets for you! It trains a Markov bot based on bigram probabilities derived from your tweet history.

The app is built using:

  • Python (Flask) in the backend. It provides a RESTful interface for generating tweets for a username. See the end-point.
  • AngularJS provides the client side manipulations and real-time interaction.

Usage

Get your app_key and app_secret from Twitter Dev Center.

Create environment variables.

$ export APP_KEY=xxxxxxxxxxxxxx
$ export APP_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxx

Run the script:

$ python gen.py

Or if you have heroku toolkit:

$ foreman start

Open localhost:5000 in your browser.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].