Follow

Who linked this a few hours ago? github.com/nioc/xmpp-web

I opened the tab but didn't look until now. It's exactly the project I wanted to start writing recently but haven't had the time to get started.

@debacle

What I want to investigate at some point is the idea of setting up a web chat client with a hardcoded login to be used as a tech support channel and such. The user would only be able to chat with a predefined contact our #MUC.

I have no *need* for it right now but it is one of those things that you'd just like to see done.

@mike

@0 @mike

It probably should not be a fixed JID, but a randomly generated one. Otherwise replies by helpdesk go to all open web clients in parallel 🙂 I'm pretty optimistic, that you can do that with #converse and some custom lines of Javascript. Just ask in xmpp:discuss@conference.conversejs.org?join

@debacle @0 this is the use case for anonymous login. You can have a fixed MUC and just allow these user sessions to join without hard coding anything. I'm pretty sure it's not hard to configure Converse for this but I've never actually had a need to do that.

Obviously you wouldn't allow outbound federated use of those sessions or you'd be an unpopular figure very quickly heh.

@mike @0 Btw, you would also like to have XEP-0142: Workgroup Queues then. Can't imagine a helpdesk without such a feature.

@mike @0

You don't want to have different customers in the MUC at the same time, do you? 🙂

Btw. is xmpp-web better than Conversejs or JSXC?

@debacle @0 yo might if you want
a possible peer support chat rather than a one-on-one, but either way is possible.

xmpp-web looks super new. It's not ready for anything. ConverseJS is pretty mature and good for anything, but it really suffers from its design making it look really dated.

@mike

All good points, and 0142 is one #XEP I wasn't aware of, I'll go through that one (bedtime reading 🙂). Aliases is one feature I'd certainly like to see in #XMPP.

If I were to implement this I probably wouldn't use a full-blown chat client, though we do use #conversejs (which I don't agree looks dated btw!) for internal comms. I'd just code a simple form with two text areas and use one of the JavaScript XMPP libraries to talk to the server.

@debacle

@mike @debacle

> It probably should not be a fixed JID, but a randomly generated one. Otherwise replies by helpdesk go to all open web clients in parallel

Not if you direct the response to a specific resource (obviously this account wouldn't use carbons). The resource itself would be session specific though.

@mike @0 Sure, I didn't think about the peer support use case.

@debacle @mike Hello, they do not cover the same needs: Converse.js and JSXC are awesome website components (you can add XMPP chat on an existing website), while xmpp-web is an full app/website (PWA). I aim to add more functions (WebRTC especially) in the future...

@nioc @debacle I agree they don't cover the same needs, which is why your project is great, and necessary.

I only compare it to ConverseJS really since using it in its full-screen mode is the closest we really have to a decent web-based client right now.

Movim is good, but chat isn't its focus really and the social/blogging aspects make it feel very cluttered to me. Compatibility with Movim's WebRTC calling would be an amazing thing to have though.

@mike Please do contribute! Another similar project I discovered about a year back is Opa:
github.com/credija/opa

It's from a Brazilian developer, but he stopped working on it since he took a new job.

A KISS web chat client is really something we urgently need in the #XMPP community!

@stevenroose thanks for the pointer, I missed Opa. I'm more inclined to poke at that one right now, as I intended to MIT license anything I came up with. I'll have a mess around with both over the next couple of weeks though.

@mike Please keep us posted on that (I read #XMPP and #Jabber)! I think it might also be worth it to use #Converse headless mode together with either of the UIs.

Sign in to participate in the conversation
Chinwag Social

Consider this a friendly, local pub. Make yourself at home, bring your friends, have a good time! Meet new people, have a laugh, enjoy the ambience, and the Oxford commas.