Gaal Yahas (gaal) wrote in lj_clients,
Gaal Yahas

  • Mood:
  • Music:

Mock server

I use the following trick for hacking logjam. evan suggested that I share.

Sometimes (you have a modem but you're offline; the servers are sucking; you're in early development and are sending lots of complete cruft) it's nice to have a nearby LJ server under your control. You could, of course, install a real one, but that's pretty heavy.

As a completely low-tech alternative (you only need Apache), try flat, the mock LJ server. It's a CGI you point your client to (your client can be pointed to alternative servers, right?), and it sends trivial canned responses to login and other protocol requests.

It's totally simple now, and only does the two protocol modes I needed at the moment. But I suppose I'll be adding stuff to this occasionally, and it's very easy to add more things yourself, so try it out occasionally.

  • 302: lj_dev

    In the interests of consolidating all LiveJournal development-related discussion, we're going to be closing down this community. The same…

  • Plain text to LJ

    I have an old blog from xanga that's in html/plain text and I want to move it over here. Which client would be the best to do this? I also want to…

  • ljKlient 0.2.0 Preview Release 1

    Today marks another milestone in the development of ljKlient — as the first preview of the 0.2 series is released.  Please go to the project…

  • Post a new comment


    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened