xmpp.js for server components

104 views
Skip to first unread message

Nick Chapman

unread,
Dec 7, 2012, 2:40:53 AM12/7/12
to proso...@googlegroups.com
I'd like to use https://github.com/mwild1/xmppjs to write a server component. Unfortunately, it seems like it's no longer maintained nor working with newer versions of node.js. Does anyone know of a newer, working version or have some pointers for getting it working?

I managed to update a few things to get it to run (like using net instead of tcp), but it starts up and then stops right away:

nchapman$ node examples/echo.js
New connection status: 1
CONNECTED.
SND: <stream:stream xmlns='jabber:component:accept' xmlns:stream='http://etherx.jabber.org/streams' to='echo.localhost'>
nchapman$

Any help would be greatly appreciated!

Thanks,

Nick Chapman

Thomas Jost

unread,
Dec 7, 2012, 3:26:27 AM12/7/12
to proso...@googlegroups.com
Le 7 décembre 2012 à 08:40 CET, Nick Chapman a écrit :
> I'd like to use https://github.com/mwild1/xmppjs to write a server
> component. Unfortunately, it seems like it's no longer maintained nor
> working with newer versions of node.js. Does anyone know of a newer,
> working version or have some pointers for getting it working?

You should have a look at node-xmpp: https://github.com/astro/node-xmpp

We use it for the buddycloud server and it works really well. Tested
against Prosody, ejabberd, OpenFire, and Tigase.

Regards,

--
Thomas/Schnouki

Phil Daws

unread,
Dec 7, 2012, 4:52:25 AM12/7/12
to proso...@googlegroups.com
https://github.com/astro/node-xmpp
--
You received this message because you are subscribed to the Google Groups "prosody-dev" group.
To post to this group, send email to proso...@googlegroups.com.
To unsubscribe from this group, send email to prosody-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/prosody-dev?hl=en.


Nick Chapman

unread,
Dec 8, 2012, 12:37:54 AM12/8/12
to proso...@googlegroups.com
Looks great. Thanks for the recommendation!
Reply all
Reply to author
Forward
0 new messages