public
Description: Javascript Rack Adapter
Homepage: http://github.com/JackDanger/jack
Clone URL: git://github.com/JackDanger/jack.git
JackDanger (author)
Fri Mar 20 21:02:59 -0700 2009
commit  e57297bd42980f2fd4814a9e82fe9ba4220044a5
tree    f840b7aa5bbb1a8dabcc1da38167a1daf2641ae4
parent  41fbce86d1f5e649df75ee4413280607f9338584
jack /
name age message
file .gitignore Wed Jan 28 17:22:06 -0800 2009 Packaging Fixes [technomancy]
file Manifest.txt Fri Mar 20 21:02:43 -0700 2009 fixing Manifest [JackDanger]
file README.markdown Fri Mar 06 23:13:47 -0800 2009 updating README [JackDanger]
file Rakefile Fri Mar 20 20:59:04 -0700 2009 removing minitest dependency [JackDanger]
directory bin/ Wed Feb 18 17:49:48 -0800 2009 updating usage not with right executable name [JackDanger]
file jack.gemspec Loading commit data...
directory lib/ Fri Mar 20 20:59:23 -0700 2009 bumping version. Lots of new code. [JackDanger]
directory samples/ Thu Mar 12 09:36:02 -0700 2009 Adding more complicated View sample [cohitre]
directory test/ Thu Mar 12 09:34:59 -0700 2009 not running "ruin everything" mem leak test ru... [JackDanger]
README.markdown

Jack

Rack + Javascript = Jack

Write your web apps in the same powerful language on both ends.

Does it work?

Yes, thanks entirely to the hard work of Christian Neukirchen for Rack and John Barnette, Aaron Patterson, Yehuda Katz, and Matthew Draper for their work on Johnson.

Why would I need this?

Because this is kickass, that's why:

function(env){
  return [200, {'Content-Type': 'text/html'}, "you're looking at: "+env['PATH_INFO']];
};

How do I try it painlessly?

$ sudo gem install jbarnette-johnson --source=http://gems.github.com
$ git clone git://github.com/JackDanger/jack.git # or one of the forks
$ cd jack && rake install_gem
  [...]
$ samples/hello.js &
$ curl http://localhost:1337

First version (and idea) by Jack Danger Canty, this version by Phil Hagelberg.