?

Log in

No account? Create an account
algae: a livejournal client for aim. - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

algae: a livejournal client for aim. [Feb. 15th, 2005|03:20 pm]
LiveJournal Client Discussions

lj_clients

[lifftchi]
Using off-the-shelf perl modules, i've thrown together an lj client for aim. It acts as an aim bot and posts any messages it gets to an lj account. All the requirements are stated at the top. To run it, copy it over to your web server, set some variables within the file to appropriate values, and execute. Make sure you have the required perl modules (listed at the top.)

Get the script at http://iannet.net/lj/algae.pl . The test journal is noisetube.

Note that perl is not my native language. The code, put baldly, sucks, and there isn't very much functionality. This is just a proof-of-concept. I plan on adding error handling, more generalised image support, an external config file. . . stuff like that. I also want it to say meaningful things to the user.

Of course, I'd rather not have to turn it into an actual program at all. It sounds like work. If anyone's written a better aim->lj bridge, I would love to hear about it. My web searches didn't turn up anything.
linkReply

Comments:
[User Picture]From: lifftchi
2005-02-16 06:00 am (UTC)
Mine really isn't very interesting. There's a perl module that you basically tell, "start an aim bot" and another perl module to which you say "log in." Perl module for markov chains, perl module for http. . .

It's like programming with tinkertoys.

Also, I failed to operate your journal. White on white?
(Reply) (Parent) (Thread)
[User Picture]From: ibneko
2005-02-17 10:53 pm (UTC)
Yep~ mine's something like that as well. Good stuff, perl.

Huh. Which journal? The one here? An external css should load and keep it from being white on white... Meh, I should get a paid account and change over to S2 at some point. Might not work in all browsers, 'cause it's an old style that I hacked together a long time ago.
(Reply) (Parent) (Thread)