Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infoforcefeed/oleg_dbooks
Marketing bot for OlegDB.
https://github.com/infoforcefeed/oleg_dbooks
Last synced: about 2 months ago
JSON representation
Marketing bot for OlegDB.
- Host: GitHub
- URL: https://github.com/infoforcefeed/oleg_dbooks
- Owner: infoforcefeed
- Created: 2014-04-19T05:17:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-04T20:44:47.000Z (over 10 years ago)
- Last Synced: 2024-03-25T21:52:28.776Z (10 months ago)
- Language: Python
- Size: 4.41 MB
- Stars: 1
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Twitter markov thing for OlegDB.
Generating Corpus
-----------------I scraped all of the feeds I wanted by hand with chrome and just saved them in a
file. Then:````
./prepare_html.sh
./prepare_step2.py && wc -l prepared3.txt && cat prepared3.txt | sort | uniq > prepared4.txt
cp prepared4.txt redone_final.txt
`````hashtags.txt` was generated with the following:
```bash
grep -o '#\w\+' prepared2.html | sort | uniq -c | sort -g -r > hashtags.txt
````Running
-------You'll need to put your sick twitter creds in `local_settings.py`. Then you can
just run `main.py` and it'll tweet for you. If you just want to see some example
output, set `debug=True` in `main.py` and it'll print what it wants to tweet.What is it?
-----------This is a twitter bot designed to market OlegDB in the best way we know how: By
generating markov text from the tweets of other database projects! You can see
the corpus in `redone_final.txt`.