Capture HTTP requests and pretty print them on a web page.
I was too lazy to pipe socat into my nearest pastebin and keep track of the URLs so I wrote an app to do it for me. But mostly just to give me an excuse to tinker.
- Heroku (barely)
My intention when I started this was to whip up something I could run on Heroku for $0 using their available add-ons. There are a couple of Heroku-isms baked into the code but I'll refactor those.
$ git clone git://github.com/coyled/caphttp.git $ heroku create --stack cedar $ heroku addons:add mongolab:starter # currently free; please verify $ heroku addons:add redistogo:nano # currently free; please verify $ heroku addons:add pubnub:minimal # currently free; please verify $ heroku config:add PUBNUB_PUB_KEY=<your_pub_key> # see Heroku app resource page $ heroku config:add PUBNUB_SUB_KEY=<your_sub_key> # see Heroku app resource page $ heroku config:add PUBNUB_SEC_KEY=<your_sec_key> # see Heroku app resource page $ git push heroku master