https://github.com/vmchale/markov-bot
Make a twitter bot from any corpus of text you desire
https://github.com/vmchale/markov-bot
Last synced: 5 months ago
JSON representation
Make a twitter bot from any corpus of text you desire
- Host: GitHub
- URL: https://github.com/vmchale/markov-bot
- Owner: vmchale
- License: bsd-3-clause
- Archived: true
- Created: 2017-03-10T21:54:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T00:09:49.000Z (almost 9 years ago)
- Last Synced: 2024-08-10T11:29:35.109Z (almost 2 years ago)
- Language: Python
- Size: 128 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Trump Markov Chain Twitter Bot
Written in python with the aid of markovify and python-twitter.
## Install
`python setup.py install`
## Use
Put your API keys in a file (e.g. .api-keys-trump) like so:
```
api-key: API_KEY
api-sec: API_SECRET_KEY
tok: TOKEN
tok-sec: SECRET_TOKEN
```
Then run:
```
python bin/markovbot.py PATH_TO_API_KEYS --text PATH_TO_CORPUS.txt
```
to send one tweet at a time.