This project is a fully functional, minimalist, ad hoc, end-to-end encrypted web group chat. It uses websocket for all message delivery which is more reliable than WebRTC.
At times, there's a need for private, anonymous group chats. Many existing applications with end-to-end encryption are overly complex. Conversely, simpler applications lack both end-to-end encryption and group functionality. Hence, I invested a few days to develop one myself. It primarily serves as a proof of concept.
The backend is implemented using WebSockets written in Golang. I made minimal modifications based on https://github.com/madeindra/golang-websocket
On the client side, I opted for handwritten, plain JavaScript, avoiding the use of complex frameworks.
A live demo is at https://privapps.github.io/gchat/
For a more completed robusted solution, I would recommand to use Ergo as backend and Kiwi as front end. A low end 100 MB RAM server can handle thousands of users.
If you are a big fan of building up a robust websocket chat solution, take a look at this tutorial