Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Quickily turn your Heroku app in and out of SOPA protest mode.
Ruby
Branch: master
Pull request Compare This branch is 1 commit behind pedro:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
init.rb

README.md

Heroku SOPA

Quickily turn your Heroku app in and out of SOPA protest mode.

Internally it uses the Custom Error Pages add-on to make your app render a 503 response containing a protest instead of your regular HTML.

Keep in mind it will override any existing MAINTENANCE_PAGE_URL on the app.

Usage

$ heroku plugins:install git@github.com:pedro/heroku-sopa.git
heroku-sopa installed

$ heroku sopa:on
SOPA protest is now enabled

$ heroku sopa:off
SOPA protest disabled

About

Written by Pedro Belo. Thanks Caley Woods for the idea!

Something went wrong with that request. Please try again.