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


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.

[User Picture]From: ibneko
2005-02-16 05:27 am (UTC)
An AIM->LJ bridge? I have, but like most of my little scripty-thingies, I never posted it online, mostly because it was rather proof-of-concept, and no one used it 'cept for me. Plus, I never got to to post to livejournal.com, and only to my own livejournal, and a few other ones. Something about authentication that I never bothered figuring out.

Mmmm, hopefully I'll find time to read yours, but life's busy and time's very precious at the moment, with exams coming up. ^^;; ::apologies::

....wait, no, that's a lie. I did make a post about it, although it would probably have been over at my livejournal installation, now old and abandoned by everyone who used it. But I don't think I left my journal there google-searchable, so that might be the reason why. Maybe. I dunno. Don' t bother searching though, it probably won't be that helpful~
(Reply) (Thread)
[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)