views:

798

answers:

5

Does anyone know of a Jabber library for Lua? I've found the 'Lua Messaging Library' for AIM, although I can't find a download for it, it appears to be abandoned.

Something like that for Lua would be helpful.

Thanks

RyanE

+1  A: 

Verse.

Verse is a Jabber/XMPP library for Lua. It is based on the C version of the strophe library.

One handy feature of verse is that only the core protocol is implemented by default. Extensions to the protocol (either XEPs, or custom-made protocols) can be 'described', and then used by any verse application. It is the developer's intention to include support for as many XEPs as possible with verse, any number of which can be optionally loaded by the application when initialising the library.

Kind Regards

marcospereira
A: 

I'm sorry I didn't state this originally, I meant a 'pure Lua' library.

I'm familiar with Verse, but don't have the option of building my own Lua distribution for this particular application.

RyanE
Hi RyanE! You may want to consider editing your own message for clarification instead of writing answers; it's well-intended, but editing the question will help you, the answerers, and future google-nauts... This will also guarantee that all your enhancements to your original question will be seen at the top. Cya!
gimpf
A: 

There is Prosody which is a LUA XMPP server: it may give you a head-start.

Jonathan C Dickinson
+4  A: 

As a bit of a follow-up, I'm the author of both Prosody and Verse. I'm in the process of updating Verse to use the new code developed for Prosody, and as such Verse will become a "pure Lua" XMPP library descended from it.

It will of course need to depend on the usual LuaSocket, LuaExpat, etc. but no generated bindings will be involved as is currently the case.

MattJ
A: 

Yep, similar needs here: I want to do XMPP messaging with the VideoLan (VLC) software, which has LUA built-in... http://jpeg.dinauz.org/blog/index.php?post/2010/01/30/Extensions-in-VLC&pub=1#pr ... so I look forward to the updated Verse work!

Dan Brickley