Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lua Library for Jabber [closed]

Tags:

lua

xmpp

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.


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.

like image 406
RyanE Avatar asked Dec 31 '22 09:12

RyanE


2 Answers

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.

like image 182
MattJ Avatar answered Jan 11 '23 12:01

MattJ


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

like image 34
marcospereira Avatar answered Jan 11 '23 11:01

marcospereira