Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ansible
corpus
scripts
tests
trumporate
.gitignore
.travis.yml
LICENSE
Makefile
README.md
requirements-dev.txt
requirements-test.txt

README.md

Trumporate

Build status

Post random rants by Donald Trump found based on what he has spoken on and around the internet and his speeches. Uses markovipy in the background to generate sentences using Markov chains.

Trumporate Demo

TODO

  • Expose on API endpoint on top of which the UI should be built
  • Push it to ec2 instance on AWS (sorry Digital Ocean)
  • Reproducible infra (ansible)
  • A pretty Logo. Will give back the attribution to you on the website :)
  • Initial UI
  • Shift the frequency generation inside a DB for persistence. The bottleneck as of now Shifted it to a flat file.
  • Mobile friendly UI
  • Share rants on Twitter
  • Domain registration
  • Fix SSL stuff
  • Basic Tests
  • Dockerize the app
  • Setup CI/CD pipeline

Running it

$ git clone git@github.com:/tasdikrahman/trumporate
$ cd trumporate
$ mkvirtualenv trumporate --python=/usr/local/bin/python3
$ pip install -r requirements-dev.txt
$ make run-test-env

Open another tab in your terminal

$ curl -X GET http://localhost:5000/api/v1/trump/rant/
{
  "rant": "Don't want to be embarrassed like Lindsey Graham and all these companies."
}

License

If you're using trumporate, please let me know or make a pull request adding in your name. :)

GPLv3

Donation

If you have found my little bits of software being of any use to you, do consider helping me pay my internet bills :)

PayPal Donate via PayPal!
Gratipay Support via Gratipay
Patreon Support me on Patreon
£ (GBP) Donate via TransferWise!
€ Euros Donate via TransferWise!
₹ (INR) Donate via instamojo