[ANN] git JSONRPC web service and matching pyjamas front-end

Luke Kenneth Casson Leighton lkcl at lkcl.net
Wed Aug 31 22:00:50 BST 2011


as more than just a proof-of-concept to get pyjamas out of "a nice
toy, doesn't do much, great demos, shame about real life" mode, i've
created yet another git repository browser.  this one, thanks to
pyjamas, obviously runs as both a desktop application and also as a
web application - same source code.

pyjamasgitweb is actually two independent happily small projects.  the
first is simply a JSONRPC-based git web server (in python, using
python-git) and the second is a matching front-end.

the front-end is happily bare but functional.  a demo is here (please
be nice to it) where you will see immediately a total lack of colour
or even borders:
http://pyjs.org/pygit

if anyone wants the source code, or to help contribute, it's at:
  git clone gitolite at pyjs.org:pyjamasgitweb

to start the server, read the README, install the dependencies, then do:

$ cd jsonservice
$ python srv.py {path to top level of repository} &
$ cd ../pyjamas
$ ./build.sh # requires symlink ~/bin/pyjsbuild to sandbox
$ firefox http://127.0.0.1:8000/outputJSONRPCService.html &
$ python JSONRPCService.py # for the desktop version

obviously, if you just want to write your own JSONRPC client, you
don't need pyjamas...

l.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


More information about the git-announce mailing list