From: Mark Doliner <mark@ki...> - 2006-04-23 04:02:40
Cool. I don't know of any examples of a simple stub/console UI. The word
"simple" may have been a bit misleading... writing a basic console UI would
probably be pretty time consuming if you're not already familiar with the Gaim
Adium and Gaim for Qtopia (which is pretty far out of date) are the only two
examples that come to mind, and you'd probably have better luck just looking
at the vanilla Gaim source instead. The Proteus people have written something
called "IM services" which is basically a TCP/IP interface to Gaim. You could
MAYBE look into using that. Although, I could barely find any information
about it. You could always ask them about it, though.
On Fri, 21 Apr 2006 19:09:17 -0400, Jim Spath wrote
> Don't worry, I am not using it to spam people. I use the bot for a
> personal linkdump site I wrote. I send it links w/ descriptions and
> it posts them to a website, like http://sabifoo.com/ if you have
> heard of that. My site is http://imlinkdump.com/ (screenname:
> linkdump). The bot never sends messages on its own, only in
> response to incoming messages.
> Do you know of any examples of a "simple stub/console UI"? I'm not
> terribly proficient in C, although I can hack around a bit, so an
> example would be great. If I could get something like this going I
> would consider even writing a CPAN module to use it, unless you object.
> Thanks again for your help,
> PS - Sorry for the HTML email, I'm using Outlook's web interface
> from home right now :(
> From: Mark Doliner [mailto:mark@...]
> Sent: Fri 4/21/2006 5:17 PM
> To: Jim Spath; gaim-devel@...
> Subject: Re: [Gaim-devel] Using gaim + perl for an IM bot
> On Fri, 21 Apr 2006 16:42:59 -0400, Jim Spath wrote
> > Hi there,
> > I wanted to know if it was feasible to write a command-line Perl app
> > which uses Gaim to send and receive messages. I know that
> > http://www.meebo.com/ uses Gaim in this manner to handle its
> > communications.
> > The reason I ask is that I wrote an IM bot in Perl, using Net::OSCAR,
> > about an year and half ago which I use daily. I'm looking to support
> > more protocols now and Gaim would an excellent substitution for
> > Net::OSCAR.
> > I did a brief overview of the Perl docs you guys have, and wasn't quite
> > sure if I could do what I needed to, since Perl seems to be limited
> > to plugin status in Gaim.
> > I'm happy to dive more in depth with the docs, but it would be nice
> > if you guys could tell me if the idea is feasible or not, and if it
> > is, give me a nudge in the right direction to get started.
> > Thank you for your time and effort,
> > Jim
> If you're restricting yourself to using perl then there is no way to
> avoid having the Gaim buddy list window open, etc. You would
> basically be running a normal Gaim instance and running a perl
> script in the background that IMs people.
> If you wrote a C plugin or TCL script you would be in the same boat.
> The only way to avoid this is to write a simple/stub console "UI"
> using C. Then you could still run a perl script to do whatever in
> the background.
> There is some info on writing perl scripts at
> FYI, if you're writing this because you want to spam people, a word
> of advice: Don't. Because I will kill you. I don't mean this
> figuratively. I mean that I will find out where you live, come to
> your house and kill you.