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 !
name age message
file .gitignore Tue Jun 17 05:03:31 -0700 2008 tweaked help text, still not working [lachie]
file README.rdoc Fri Jun 20 06:15:38 -0700 2008 made appjour guess ports from within a rails app [lachie]
file Rakefile Fri Jun 20 19:10:38 -0700 2008 This is the correct way to install local gems. ... [tapajos]
file appjour.gemspec Tue Jun 17 18:11:25 -0700 2008 bumped version to get gem to build [lachie]
directory bin/ Tue Jun 17 05:03:31 -0700 2008 tweaked help text, still not working [lachie]
directory lib/ Mon Jun 23 04:27:30 -0700 2008 added configurable sleep flag on publish [lachie]
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