Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Send cat factz to your friends every hour using the Twilio API. (developed for the programming competition)

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 .idea
Octocat-spinner-32 .sass-cache
Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 log
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .DS_Store
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 crontab.txt

Cat Factz

Written by Mark Percival (@mdp) and Jim Jones (@aantix)

Send fun cat factz every hour for your friends using the Twillio API. App written for the Ballmer Peak-A-Thon (5/12/2012) programming contest.


  • Update the config/initializers/twilio.rb file with your own Twilio API key.

  • To record the SMS messages that users respond back with :

- If you're running locally, setup a localtunnel with localtunnel -k ~/.ssh/ 3000 - Config Twilio to post back to the URL provided by localtunnel (e.g.

  • Setup the cron process (to send the repeat cat factz).

*/60 * * * * cd /Users/aantix/dev/cat_factz && bundle exec rails runner -e development “User.cron_send_facts” 2>&1 >> /tmp/cat_factz.log


Something went wrong with that request. Please try again.