I've been writing a game in python that runs communicates through telnet. So far I have just been using telnet to communicate with it for testing and debug purposes however I would like to write a web based client to make usage easier. I'm not too familiar with javascript but have found that using websockets on my test page and passing it through websockify to my server does what I need. However it seems a little awkward to forward everything through websockify first and was wondering if there is any way to do a more direct connection. I was looking at socket.io however as far as I can tell this would require going through node.js and if thats the case I might as well use websockify. I don't think there is any way of doing exactly what I want but I figured I'd ask and see if someone knows something I don't.