public
Description: Publish your web app in the ether using Bonjour.
Homepage:
Clone URL: git://github.com/lachie/appjour.git
Click here to lend your support to: appjour and make a donation at www.pledgie.com !
lachie (author)
Mon Jun 23 04:27:30 -0700 2008
commit  7a12df3c7f82ecfb8b50e0e22226b0630512b453
tree    5702abdbd2377854f040ecfb6913e766538fa944
parent  ab1b9eaf41253aa9e6d68e74cebce03b7a64c19a
name age message
file .gitignore Loading commit data...
file README.rdoc
file Rakefile
file appjour.gemspec
directory bin/
directory lib/
README.rdoc

Appjour

Publish your app in the ether using Bonjour.

Installation

  sudo gem install dnssd
  sudo gem install lachie-appjour --source=http://gems.github.com

Usage

  rincewind$ appjour leet_merb 4000
  Publishing leet_merb on 4000
  Announcing leet_merb...

  death$ appjour leet_merb
  # ... leet_merb pops up in web browser ...

  death$ appjour
  Searching for servers (3 seconds)
  found web app called 'leet_merb'

  # use the username if only the port is specified
  rincewind$ appjour 4001
  Publishing lachie on 4001
  Announcing lachie...

Port guessing

In the initialization phase of your app put:

  Appjour.publish('leet rails')

Appjour will endeavour to extract the port number from your app.

It can currently discover mongrel’s port.

TODO

  • make useable as Rails or Merb plugin for automatic publishing of apps