Nikosoft
OpenSource Software

Net::MRIM and PerlMRIM

This simple PERL module, distributed through CPAN, implements a significant subset of the protocol of agent@mail.ru (aka Mail.Ru Instant Messenger, aka MRIM) as a PERL API. The specifications of this protocol were made available by Mail.Ru, and this implementation is based upon them.
You can get the package on its CPAN page. There is a GUI interface to it, implemented in wxPerl.

Currently supported features are:
  • Protocol handling (logging in, out, forced disconnect, ...)
  • Basic messenging (send and read messages)
  • Basic contact list managment (add and remove contacts, deal with authorization)
  • Basic user profile displaying, and user search
  • Basic status managment (set and display online/away)
  • Mail notifications
  • SMS sending (to russian mobile phone numbers only)
It requires Perl 5.8 (or better).

For your convenience, here is PerlMRIM (the GUI, version 0.12) in 2 different packages: PerlMRIM comes localized in English, French and Russian.
If someone could help me (ie. has Xcode) with MacOSX 10.4.x (Tiger) or Leopard on PPC, please drop me a line, as the "glue code" needs to be recompiled. Else, you can attempt to use the Tarball package by launching "wxPerl mrimwx.pl".
If you have comments, bug reports or fixes, or are willing to beta test, don't hesitate to contact me.

screenshot
PerlMRIM main window under MacOSX

Net::MRIM comes with an example script, that can also be used as a very simple MRIM CLI client. It's called (guess) mrim.pl. To use it, you have to:
  1. Download and extract Net-MRIM-[version].tar.gz, extract it, and go to the created directory
  2. As root, execute: perl Makefile.PL; make; make install
  3. Copy "examples/mrim.pl" to a more convenient location
  4. Edit "mrim.pl", and fill the variables $LOGIN and $PASSWORD according to your credentials
  5. Launch it by doing "./mrim.pl" or "perl ./mrim.pl"
Once logged in the CLI version, a short help is available by typing "help". The GUI version should be self-explanatory.
Of course, this MRIM client is very primitive. But it Just Works™, on any operating system (I tested it on Ubuntu, Debian, Mac OSX PPC and MacOSX Intel). The only other option i've heard of for non-windows OS is to use jabber.ru's MRIM transport. So it's up to you: now there's choice ! ;-)

Net::MRIM and PerlMRIM are licensed under GPLv2.