Since I made this, I'm glad some people like it (and not surprised some don't) but I'd love to answer some technical questions or hear any bugs / issues / security holes you hackers might have found. Cheers!
It feels like I'm being spammed, there isn't enough time to read the messages and its also getting flooded by people with the usernames flood and flooder.
Ya, I tried to implement rate limiting and failed, this was last night at 3am, so let me try again. If you code you might be able to beat me to it: https://github.com/Mashape/worldchat
I choose the "German" flag. Does it mean that I should type in German or others' messages are translated to German? It's not at all clear from the wording: "Choose your username and language to start chatting with the world"...
What if I want to type in English but read others' messages in German?
This is correct. Basically whatever flag you choose is what determines the "From" translation language on your outgoing messages and the "To" language for incoming.
Sorry to confuse you, the UX is kinda wonky. Whatever flag you choose is what determines your language for both outgoing and incoming messages. So if you choose German, that is what will determine the "From" language to translate on your outgoing messages and the "To" language for incoming.
Don't encode entities on the server side if you are using handlebars, it will do that for you (that's the point of using {{}} it will make all user input "safe").
I built a proof of concept for something like this for someone quite a while ago... what he had that you desperately need is channels. This is entirely useless with any amount of people (particularly when spammers can't be controlled, which is just how the net is). Excellent idea, but it needs some concept of segmentation to be useful.
Due to the massive amounts of spamming going on right now I think there should be some sort of chat room system on there which allows you to create a room and send the link.
Or you could even follow a similar idea to Omegle by pairing two people together but make it so it pairs two people who speak in different languages?
30 comments
[ 5.8 ms ] story [ 78.0 ms ] threadYou trust your server-side sanitization that much?
That's the only thing that would make sense.
also, rate limit the users, this is thing is managing to crash chrome!
good job shutting that fellow down. Very cool little app.
edit:
well...maybe some kind of rate limit might help.
Or you could even follow a similar idea to Omegle by pairing two people together but make it so it pairs two people who speak in different languages?