Skip to content

martynchamberlin/rss-to-sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSS to SMS

Sometimes you follow a site very closely and want an SMS whenever it publishes something new

Be sure to run bundle install to install the project-specific gems

Delicate environment variables are stored via https://github.com/elabs/econfig. They are:

  • phone
  • twilio_sid
  • twilio_token

Installing pg for postgress on Mac OS X El Capitan required:

sudo ARCHFLAGS="-arch x86_64" gem install pg

For the necessary environment parameters you'll need to define the following:

  • FROM_PHONE
  • TO_PHONE
  • TWILIO_ACCOUNT_SID
  • TWILIO_AUTH_TOKEN
  • RSS_URL

Given how many of these there are, the command for starting the rails server is recommended to be stored in an alias. Also, these environment variables need to be prepended before any rake task that accesses them, too.

About

Ruby on Rails app that sends an SMS whenever a new article is published at a user-specified blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published