Project

retrobot

0.04
No commit activity in last 3 years
No release in over 3 years
Bot for twitter, which tweets a word that you've tweeted just 1 year ago
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

= 2.99

Runtime

 Project Readme

Build Status

retrobot

Retrobot is a twitter-bot engine that working at mirakui_retro.

Retrobot tweets a word that you've tweeted just 1 year ago!

Requirements

Installation

Rubygems command

$ git clone https://github.com/mirakui/retrobot.git
$ cd retrobot
$ bundle install

Using bundler

This way may be useful for deploying using capistrano or heroku.

(This way separates repository by your deployment and application itself)

$ bundle init
$ echo 'gem "retrobot"' >> Gemfile
$ bundle install

Configuration

$ bundle exec get-twitter-oauth-token
(follow shown instruction to earn required credentials)

$ unzip ~/tweets.zip -d tweets
$ cp retrobot.example.yml retrobot.yml
$ vi retrobot.yml
(write your oauth credentials)

Detail

Config file is set to ./retrobot.yml from Dir.pwd in default. You can give another file by using --config command line option.

  • consumer_key, consumer_secret: Your OAuth consumer key/secret given from Twitter.
  • access_token, access_secret: Your OAuth access key/secret of your Twitter account where you want to run retrobot.
  • tweets_csv: Path to your tweets.csv (default to ./tweets/tweets.csv in pwd)

Running retrobot

$ bin/retrobot
(or, )
$ bin/retrobot -c /path/to/retrobot.yml

or you can run it as a daemon as follows:

$ bin/retrobotctl [start|stop] -- -c /path/to/retrobot.yml

License

Copyright (c) 2016 Issei Naruta. Retrobot is released under the MIT License.