This is a simple implementation on top of StropheRuby ‘github.com/flamontagne/stropheruby/’ to create xmpp bots in a few lines of code.
-
auto accept subscriptions
-
callback for received messages
-
callback for received presences
-
a method to send messages and presences
-
That’s about it
Warning : StropheRuby is quite experimental at the moment. It is definitely NOT ready for production
gem install xmppbot (it will install stropheruby as well)
github.com/flamontagne/xmppbot/wikis/how-to-use-xmppbot
-
Only tested under Debian
-
Does not work under windows
-
No TLS support for now. It will work once TLS with OpenSSL is working in Strophe ‘code.stanziq.com/strophe’
-
Exiting the program can cause segmentation errors (not really problematic)