Skip to content
capture HTTP requests and pretty print them http://caphttp.com
Ruby HTML JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.ruby-version
Gemfile
Gemfile.lock
LICENSE.md
Procfile
README.md
config.ru

README.md

caphttp

Capture HTTP requests and pretty print them on a web page.

Why?

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.

Requirements

  • Ruby
  • Heroku (barely)
  • Redis
  • MongoDB
  • PubNub

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.

Installation on Heroku

$ git clone git://github.com/coyled/caphttp.git
$ heroku create --stack cedar-14
$ heroku addons:create mongolab:sandbox             # currently free; please verify
$ heroku addons:create redistogo:nano               # currently free; please verify
$ heroku addons:create pubnub:go-sandbox            # currently free; please verify
$ git push heroku master
Something went wrong with that request. Please try again.