4 ms·
Check out my weekend project: instant secure password-less chat
- IgorPartola 16y agoThis project was built in about 12 hours total. NAT chat creates chat rooms based on your external IP, so anyone behind your home or office router can join, but nobody from the outside can see what you are talking about. Technology: nginx for serving static files, node.js + socket.io for chat communication. Use case: you want to quickly share a link with someone in your home/office, but don't want to e-mail it to them and don't want to make them sign into an instant messenger, etc. Traffic is encrypted through SSL/TLS and nothing is stored on the server aside from a short buffer that sits in memory.
- SamReidHughes 16y agobut nobody from the outside can see what you are talking about. How do we know you're not piping everything to Israel? Or worse, Google?
- IgorPartola 16y agoHeh, you don't. Never trust anyone on the internet. If you are interested I can throw my code onto github, but that won't convince anyone that I'm not running a modified version. Also, I run this on a virtual server that is across the country from me. I can't see it. I don't know who has access to the physical server. Heck, I don't even trust it THAT much. Your best bet is to use FireGPG while communicating through this thing, which makes the whole thing useless. Then again, you have my word for it: I am not knowingly piping your conversations anywhere. I don't log them. I don't care. I'm not Google and can't possibly make a profit on it.
- kylemathews 16y agoI'd like to see the code.
- IgorPartola 16y agoWill share tonight.
- IgorPartola 16y agoHere it is: http://github.com/ipartola/natchat http://github.com/ipartola/natchat
- zacharypinter 16y agoCool idea. Any chance of adding autogenerated room ids (like http://titanpad.com/yiA0RpN7o9 http://titanpad.com/yiA0RpN7o9) instead of just using external IP's?
- mike-cardwell 16y agoHere, it works fine in Safari, but is completely broken in Firefox 3.6 and IE7. Looks like there is an uncaught security exception in the JS.
- mike-cardwell 16y agoYou're missing a privacy policy and T&C's.
- IgorPartola 16y agoSo I am. But this thing was an exercise in using Node.js, not a way to make a buck, so T&C were not on my initial TODO list. As for privacy, see my original comment: the data is not logged. The rest is up to you.
- mike-cardwell 16y agoT&C's aren't as important, but if people are going to be submitting data to your website, you should have a privacy policy. A comment on a third party forum isn't equivalent.
- IgorPartola 16y agoThat is a good point. I'll add it as soon as I have time.
- ryandvm 16y agoI like it. I'm a big fan of simplicity over features. I had a similar weekend project that I threw together last year to make myself familiar with App Engine. It was similar to yours in that it was unauthenticated AJAX chat, but it relied on obscure URLs instead of grouping by IP address. For instance, to make a spontaneous chat session with Hacker News junkies you'd make up something like: http://www.yakeze.com/chat/HackerNews20101011/ http://www.yakeze.com/chat/HackerNews20101011/
- mike-cardwell 16y agoSounds very much like twich.me, which was also discussed on HN: http://news.ycombinator.com/item?id=1590173 http://news.ycombinator.com/item?id=1590173
- petervandijck 16y agoExcellent, like it a lot.
- IgorPartola 16y agoThank you.
- meatsock 16y agothis will be a good place to hang out & see if the person hacking your home system has funny things to say to ya. the call is coming from inside the chatroom!
- deleted 16y ago[deleted]
- rlpb 16y agoI like the idea. There's also some sort of Zeroconf-based chat in Pidgin/Telepathy/Empathy which serves the same purpose and doesn't rely on you and the Internet for privacy, although it isn't quite as instant as your solution.
- ritonlajoie 16y agoI just saw a guy in the chat, I'm in my office. Does it mean there is someone else that I could know, that is reading HN right now ? (the guy just left..)