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

  • Thread starter Luke Kenneth Casson Leighton
  • Start date
L

Luke Kenneth Casson Leighton

as more than just a proof-of-concept but to get pyjamas out of looking
like "a nice toy, doesn't do much, great demos, shame about real
life", 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 (e-mail address removed):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

l.
 
C

CM

as more than just a proof-of-concept but to get pyjamas out of looking
like "a nice toy, doesn't do much, great demos, shame about real
life", 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

When I load that page all I see is what appears to be the barest of a
web page with some text and links, but no widgets. If may be
generated with pyjamas but I'm not sure how this fulfills your wish to
do something that does more than "doesn't do much". I would expect a
demo to at least have some typical GUI features on it--or am I
completely missing the point of what you're doing?

Che
 
M

Martin P. Hellwig

If may be
generated with pyjamas but I'm not sure how this fulfills your wish to
do something that does more than "doesn't do much". I would expect a
demo to at least have some typical GUI features on it--or am I
completely missing the point of what you're doing?
I think lkcl wanted to demonstrate that it is more than '"a nice toy"'
and that there is an actual real world application for it.
I am not sure why he seems to have the urge to do that as for me I am
already convinced about its usability.
 
C

CM

If may be
generated with pyjamas but I'm not sure how this fulfills your wish to
do something that does more than "doesn't do much".  I would expect a
demo to at least have some typical GUI features on it--or am I
completely missing the point of what you're doing?

I think lkcl wanted to demonstrate that it is more than '"a nice toy"'
and that there is an actual real world application for it.
I am not sure why he seems to have the urge to do that as for me I am
already convinced about its usability.[/QUOTE]

I also already had the impression that pyjamas was a usable and
valuable
thing, but I felt that if he wanted to show an application it should
have
showcased the GUI elements like buttons, dropdowns, lists, etc. to
make
the point about how applications can run either as a desktop GUI app
or
a web based GUI app. What is shown instead looks like it could have
been written w/ just HTML, and has limited interactivity. The pyjamas
examples page shows many nice GUI elements that could make it into a
non-toy demo app, and I expect this will happen soon, but this demo
doesn't
quite do it for me, GUI-wise. I only say this because I think pyjamas
is a great project and I'm looking forward to see more people using
it
for dual (desktop/web) apps.

Che
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top