Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just something I've been curious about. I've been messing a fair bit with some of my own scripts, and in some cases, getting sent an IM would be useful to let me know when a task is done.

So, here's what I need:

  1. the ability to set account information in a text file
  2. It'd be okay if I can designate only a single recipient, or set recipients in the config file
  3. at the very least, jabber support
  4. Be able to be controlled via standard shell commands - for example I should be able to pipe a message output into the program for example

sh|climprog -recipient

should send the output of foo.txt via the I'm programme to a set recipient on the account's contact list.

Anything that fits the bill?

share|improve this question
up vote 2 down vote accepted

I'm thinking bitlbee and ii maybe.

My idea is basically that you have a setup of bitlbee running,which connects to a series of IM services and presents a IRC-server for you to connect to. Then you use ii, which is a fs-based IRC-client, it creates a directory structure with all channels, queries and so on that you are connected to. I haven't used it myself but I'm guessing you get a structure similar to:

  |  (this is the control channel where you communicate with the IM-connections)
  |- #bitlbee.out (this is where you read)
  |- (this is where you write)
  |  (this is the IM-presence you want to communicate with, for example yourself)
  |- nickname.out (when you send commands to your bot they end up here)
  |- (when the bot is saying something to the user it should be append to this file)
  |  (some other user you want to notify about things)
  |- othernick.out

Then you just have a script in whatever language that just reads and writes from those files. echo "Hello World" >> bitlbee/

share|improve this answer
Could you please provide some more information about what these are and how they would be helpful? – nhinkle Apr 17 '11 at 21:24
Thanks for updating your post! It looks much better now :) – nhinkle Apr 17 '11 at 22:26
OOH, inelegant, ugly and hackish - i totally approve. It'll need some setup and testing before i can mark it as the right answer, but for now, +1 for a rather interesting solution. – Journeyman Geek Apr 18 '11 at 5:45
Yeah, it's way too much software... but the good thing is that it all already exists. You basically just have to write the script that does the logic :) – Hobblin Apr 18 '11 at 11:19
well, it does everything i need it to. Who cares how ugly it is ;) – Journeyman Geek Apr 21 '11 at 11:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.