This is a simple twitter bot that occasionally 'aleinfies' tweets from a transit system. It was built with the TTC in mind but can easily be expanded to other services and accounts.
On the surface, it appears to reiterate the same tweets as a source account, in our case, the TTC's TTCnotices account. However, occasionally it will change the cause of a delay or problem to something more alien or conspiracy related.
As an example
- 511 Bathurst route turning back northbound via King, Spadina, Queen due to a collision on Bathurst at Front. #TTC
- 511 Bathurst route turning back northbound via King, Spadina, Queen due to aliens.#TTC
Python 2.7 python-twitter (and its dependencies) - http://code.google.com/p/python-twitter/
Git clone and run once and close it. It will create a setup.ini file. Update this file with your twitter api and oauth keys. Modify the ttc_twitter.py file to change constants as needed.
- Changes around intallation / setup process. It is clunky and ugly, I know.
- Fix tweeting replies
- Fix calculation of odds (it's not mathematically ideal right now, resulting in less than the prescribed chance)
- Moar testing
- GUI interface
- Service abilities
Who knows? This has barely been tested and there are many potential issues For example, replies are not filtered out, which is probably not ideal. Feel free to submit enhancements, bug reports, complaints, and love letters.