Skip to content

defunkt/burn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Burn

Burn is a Sinatra app that listens for POSTs and forwards the messages it receives to Campfire.

  1. Make a campfire.yml.
  2. Put it in the same directory as burn.rb.
  3. Run it: $ ruby burn.rb.
  4. Hit it: curl -F message='Hi mom!' http://localhost:4567

You can hit it from Ruby easily, too:

require 'net/http'
Net::HTTP.post_form(URI.parse("http://localhost:4949/"), 'message' => "Hi dad!")

Chris Wanstrath // chris@ozmm.org

About

Sinatra => Campfire

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published