2

I am looking for a chat application, which would have the ability to interact with a shell script. I need this for a home project.

An example of usage: A client sends a chat message to a server. It analyzes the incoming message and takes an action in the form of executing a (bash) script.

Initially the idea came from this wonderful article.

My case is similar, but I will not be using a modem, rather gnokii or Gammu/Wammu with a mobile phone.

For the server I am using Debian Wheezy.

The clients should be able to use Windows, Linux (Debian in most cases) and Android.

Therefore ideally this system would use Skype - both for the chatting and for voice calls.

However, Microsoft has decided to drop the support on Skype APIs and that would make the job harder. I am also not very experienced with Delphi and Python, as there seem to be some APIs and libraries for those languages. I have some background in C, bash and Perl.

So, I considered using a bot in Skype like sevabot, but have not tried that yet. In addition, it is not very sure for how long Skype will have the existing APIs.

Another very nice option seems to be LinPhone with all the above features available. I would need to figure out a bit deeper the interaction with linphonec and linphonecsh, but this software seems to be quite nice.

Other ideas that came are using Pidgin or any other chat client that could fulfill the above requirements.

Another option would be if I could get this idea realized in the form of a webpage. I have an Apache webserver on the Debian machine, which is running a small Wordpress site. But I think such a setup will be harder to do and not so efficient.

And finally, maybe one of the easiest options would be to use e-mail for such a communication. However, this would be not so streamlined and efficient.

I would appreciate all the ideas you may have.

Which is the most efficient, fast and long-lasting manner to accomplish this goal?

ndandanov
  • 21
  • 2
  • 2
    I'm pretty sure you can do this with irssi or xchat. – slm Jun 30 '14 at 03:14
  • I hate to close this but in its current form it seems to be too opinionated. Try and whittle it down and make it more specific. – slm Jun 30 '14 at 03:49
  • 1
    I don't see why this question has been closed. It seems like a reasonable question, and the question is adequately summed up by the first sentence - "I am looking for a chat application, which would have the ability to interact with a shell script.", and then "A client sends a chat message to a server. It analyzes the incoming message and takes an action in the form of executing a (bash) script.". It is a bit chatty, but I think that is harmless. Perhaps the poster could tighten it up a bit to focus it more on what he wants, but even in its current form I think it is ok. – Faheem Mitha Jun 30 '14 at 08:16
  • @slm perhaps give some direction to the poster as to what you specifically object to wrt the current wording of the question? – Faheem Mitha Jun 30 '14 at 08:19
  • See http://juerd.nl/site.plp/irssiscripttut for example. I'm not sure if irssi can do what you want, but is certainly has some support for scripting. – Faheem Mitha Jun 30 '14 at 08:23

0 Answers0