Log in

No account? Create an account
July 31st, 2002 - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

July 31st, 2002

Mock server [Jul. 31st, 2002|11:37 pm]
LiveJournal Client Discussions


[mood |Alice]
[music |David Bowie - Pinups]

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.
linkpost comment

[ viewing | July 31st, 2002 ]
[ go | Previous Day|Next Day ]