Sign inSign up

shsu/commute-alert

By shsu

•Updated almost 11 years ago

commute-alert

Image
0

361

shsu/commute-alert repository overview

⁠Commute Alert

Using Twitter streaming API and Pushbullet channels, alert subscribers of any problems along their commute. This app also supports Pushover, but that will require you to buy their clients⁠.

⁠Setup

⁠Deploy

Clone the repo:

git clone https://github.com/shsu/commute-alert
⁠For Local Deployments

Make a copy of the example .env file. Insert your access tokens there:

cp .env.example .env

Assuming you have Ruby 2.1.x and bundler:

bundle install
bundle exec foreman start
⁠For Heroku Deployments

Go to the Heroku dashboard and set the following environment variables:

  • PUSHBULLET_ACCESS_TOKEN
  • TWITTER_ACCESS_TOKEN
  • TWITTER_ACCESS_TOKEN_SECRET
  • TWITTER_CONSUMER_KEY
  • TWITTER_CONSUMER_SECRET
  • PUSHOVER_APP_TOKEN
  • PUSHOVER_USER_KEY

Optionally, you can add Papertrail logging addon⁠ to the app.

Tag summary

Content type

Image

Digest

sha256:fa02ea3c2…

Size

263.6 MB

Last updated

almost 11 years ago

docker pull shsu/commute-alert