public
Description: Sinatra website for displaying tweets and a script to retweet replies to a main twitter feed
Homepage: http://encourage.ruzuku.com
Clone URL: git://github.com/mmzyk/getencouraged.git
name age message
file LICENSE.txt Mon May 18 13:01:54 -0700 2009 Added License [mmzyk]
file README.markdown Sun Oct 04 15:54:54 -0700 2009 Updated once again the readme formatting [mmzyk]
file blacklist.rb Sat May 16 17:26:15 -0700 2009 Initial Github commit [mmzyk]
file config.app.sample Sun Oct 04 15:01:03 -0700 2009 Simple cosmetic modifications and adding more t... [mmzyk]
file configuration.rb Sun Oct 04 15:01:03 -0700 2009 Simple cosmetic modifications and adding more t... [mmzyk]
file getencouraged.rb Sat May 16 17:26:15 -0700 2009 Initial Github commit [mmzyk]
directory public/ Sat May 16 17:26:15 -0700 2009 Initial Github commit [mmzyk]
file repost_file.rb Sun Oct 11 21:34:15 -0700 2009 Fixed typo in repost_file.rb [mmzyk]
file repost_mongo.rb Sat Oct 10 19:50:31 -0700 2009 Rename repost.rb to repost_mongo.rb to indicate... [mmzyk]
directory test/ Sun Oct 11 21:25:41 -0700 2009 slightly modified a test [mmzyk]
directory views/ Sun Oct 04 15:01:03 -0700 2009 Simple cosmetic modifications and adding more t... [mmzyk]
README.markdown

getencouraged

getencouraged is a simple twitter application that looks for @replies to an account and then retweets then from the account. It also has a front end to display @replies sent to an account.

Set up

Rename the config.app.sample file to config.app and fill in the needed parameters.

username: the username of the account that should retweet the @replies sent to it

password: the password for the account

testing: if analytics code is placed in index.erb, this option can be used to turn it on or off for testing purposes

number_to_tweet: this is the number of @replies that should be retweeted each time the script is run. The default is -1, which retweets all @replies.

Once the config.app is in place, use a cron job to run the repost script at a set interval and on that interval the @replies will be retweeted.

The front end can be deployed and run with the Sinatra framework. To do that, ensure you have Sinatra loaded and run getencouraged.rb. You will likely want to modify the look and feel of the front end to fit your needs.

Dependencies

twitter gem

For testing:

mocha

rcov

For the front end:

Sinatra

License

Creative Commons Attribution 3.0

See LICENSE.txt for further details

Extraneous

Have fun!