sumitHello I need to create a local xmpp server using node
MattJI think node-xmpp has some server stuff in it?
MattJBut it's not complete server
sumithttps://www.npmjs.com/package/node-xmpp-server I tried this but none of the links are working
MattJFun, it redirected me to a dating website
sumitits working fine over here
sumithttps://github.com/xmppjs/xmpp.js
as u said node-xmpp but it doesnt have anything related to server in there packages
MattJI mean the links to node-xmpp.org
MattJOut of interest, why do you need this?
MattJThere are many server implementations existing already
sumitso basically i am building a multiprotocol server
sumitmqtt
sumitcoap and xmpp
sumitand for this i am using Node-RED
sumithttps://nodered.org/
MattJPossibly you can do the same in other servers, but you could set up Prosody and mod_component, and then use https://github.com/xmppjs/xmpp.js/tree/master/packages/component
sumitnow node red got libraries for coap nd mqtt but not for xmpp
MattJit will be waaaay easier than writing all the XMPP server stuff from scratch
ZashPretty sure I found an XMPP plugin for it, tho it connected as a client
Alexhas left
Danielhas left
sumitMattJ thanks for the link , but I already have coded my client ... jsut want to code a simple server
MattJI just don't see why you would code a server when many exist already
sumiti am coding a server which could process aa mqtt request, an coap request and xmpp requests simulteniously
zinidthis will be quite brutal task
MattJProsody and ejabberd both already support XMPP and MQTT
MattJand I doubt COAP is hard in either of them (they both support HTTP already too)
MattJI mean, do what you want, but it just seems a waste of time unless you're doing it for educational purposes
sumitthis is like a project
MattJat which point you don't want something existing
Zashcoap is http semantics with cbor encoding, no? there's at least two cbor libraries for Lua (I wrote one of them)
zinidZash, yes, kind
zinidkinda
sumiteducational purpose only. this will not be on high level like ejabberd or any other