How can I add a websocket server to Glitch?


#1

I need a websocket module to run my project properly (preferably the “ws” npm module) and I’d like to know how to get stuff like that working on Glitch. Thank you!

-AC5230

PS. I know this has been asked before but it didn’t provide me useful enough info, reading the answer given. I’d like my case to be settled straight. Again, thanks.


#2

Hi, i setup a websocket server for both old and new browsers in my project masto-count.

You can checkout to see websockets in action if you like it (these even work in ie5)
Note that websockets for old devices are a bit different and require browserchannel.

or else, for the ws package:


#3

Thank you for the material. I’ll see if I can comprehend this somehow.