Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banyan/markov-2ch-bot
https://github.com/banyan/markov-2ch-bot
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/banyan/markov-2ch-bot
- Owner: banyan
- Created: 2011-07-31T12:03:10.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-07-31T12:46:17.000Z (over 13 years ago)
- Last Synced: 2024-12-21T00:27:11.237Z (about 2 months ago)
- Language: Ruby
- Homepage: http://twitter.com/#!/markov2chbot
- Size: 97.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Marcov-2ch-bot
=====================================Description
-----------Marcov-2ch-bot is a tiny Twitter Bot was made by way of trial Markov algorithm.
Installation
------------### Dependency Mecab (Ubuntu 10.10)
$ sudo apt-get install mecab libmecab-dev mecab-ipadic
$ sudo /usr/lib/mecab/mecab-dict-index -d /usr/share/mecab/dic/ipadic -o /var/lib/mecab/dic/ipadic -f euc-jp -t utf-8 -p$ wget http://sourceforge.net/projects/mecab/files/mecab-ruby/0.97/mecab-ruby-0.97.tar.gz
$ tar xof mecab-ruby-0.97.tar.gz
$ cd mecab-ruby-0.97/
$ ruby extconf.rb
$ make
$ make install### Ruby
$ rvm use 1.9.2
$ rvm gemset create markov-2ch-bot
$ gem install bundle
$ bundleUsage
------------1. Pass arguments --env [development|production]
2. Configure Twitter OAuth information in config/bot.yaml
3. Set cron0,30 * * * * /bin/bash -l -c 'cd /path/to/markov-2ch-bot/bin && ruby bot.rb -c markov_tweet -e production'