Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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 the usage would be: 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 be not 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?

share|improve this question
2  
I'm pretty sure you can do this with irssi or xchat. –  slm Jun 30 '14 at 3: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 3: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 8: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 8:19
    
See 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 8:23

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.