5 ms·
WorldChat.io: Chat with realtime translation
- anonfunction 13y agoSince 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!
- johnernaut 13y agoJavaScript in the body of the message box executes 0.o very cool none-the-less.
- anonfunction 13y agoOnly for you, it gets filtered before going over the wire. Have fun :)
- octatone2 13y agoShould still be sanitizing user input, there's no reason to be passing the message as an html variable in handlebars {{{message}}} :/ You trust your server-side sanitization that much?
- C1D 13y agoIt 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.
- anonfunction 13y agoYa, 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 https://github.com/Mashape/worldchat
- C1D 13y agoI'm going out but when I get home I will see what I can do :) EDIT: I think using websockets + node.js would be a better idea.
- deleted 13y ago[deleted]
- ne0phyte 13y agoahem http://i.imgur.com/3LnvN52.png?1 http://i.imgur.com/3LnvN52.png?1
- anonfunction 13y agoSorry. To be honest I didn't test on mobile and actually built the site using a 24" thunderbolt display, thanks for the heads up!
- shared4you 13y agoI 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?
- ne0phyte 13y agoBoth? It probably means that you write in German and other messages are translated to your language (German). That's the only thing that would make sense.
- anonfunction 13y agoThis is correct. Basically whatever flag you choose is what determines the "From" translation language on your outgoing messages and the "To" language for incoming.
- anonfunction 13y agoSorry 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.
- scottshea 13y agoThis is not a feature request by any means. I suspect that this and autocorrect would combine for some seriously funny international humor.
- octatone2 13y ago{{{message}}} in handlebars means that if someone one gets around your server-side sanitization your client side is wide open to XSS ... also, rate limit the users, this is thing is managing to crash chrome!
- anonfunction 13y agoWorking on it, any tips to keep entity encoding in handlebars without the triple stash?
- canthonytucci 13y agoTIL Frühstücksfleisch is german for "SPAM" good job shutting that fellow down. Very cool little app. edit: well...maybe some kind of rate limit might help.
- obviouslygreen 13y agoI 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.
- anonfunction 13y agoTotally agree, let's make it happen! http://github.com/mashape/worldchat http://github.com/mashape/worldchat
- bryanashley 13y agoI wrote a very similar chat application using google translation, tech demo here: http://speak.ly http://speak.ly
- anonfunction 13y agoWow, yours is way better!
- ecto 13y agoI got through with this ';alert(String.fromCharCode(88,83,83))//\';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//\";alert(String.fromCharCode(88,83,83))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>
- vfl0 13y agoDue 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?
- anonfunction 13y agoAlternate client: http://montanaflynn.me/mashape/world-chat/ http://montanaflynn.me/mashape/world-chat/
- deleted 13y ago[deleted]