Live data from Hacker News

Show HN: HTML5 clone of OS X AirDrop – Easy P2P file transfers in a browser

sharedrop.io

41–50 of 71 posts

Re: Show HN: HTML5 clone of OS X AirDrop – Easy P2P file transfers in a browser

#42

This is really amazing! I had a bit of trouble on my first attempt because I was connected to a VPN, so ShareDrop was considering me to be in the 10.* range (my local IP address on the VPN) while my coworker on the same router showed up in the 192.* range. I was able to send him a file, but he obviously couldn't send me one back because he wasn't connected to the same VPN. Once I disconnected from the VPN then ShareD…

I believe it is the public IP address and not the local IP address that brings everyone to the same page.

Re: Show HN: HTML5 clone of OS X AirDrop – Easy P2P file transfers in a browser

#43
post #22

Earlier quoted context omitted.

Hopefully, we'll add sending files between networks pretty soon as well. However, it's already possible with similar WebRTC based services like https://www.sharefest.me/ or https://rtccopy.com/ .

Thanks! Ironically, most of my file emailing does in fact take place within the same network.

Why no use of SMB networks? Always puzzled me.

Re: Show HN: HTML5 clone of OS X AirDrop – Easy P2P file transfers in a browser

#44

This is really amazing! I had a bit of trouble on my first attempt because I was connected to a VPN, so ShareDrop was considering me to be in the 10.* range (my local IP address on the VPN) while my coworker on the same router showed up in the 192.* range. I was able to send him a file, but he obviously couldn't send me one back because he wasn't connected to the same VPN. Once I disconnected from the VPN then ShareD…

Does this mean that any JavaScript code can determine the client's local IP addresses? Then it can be used for identification, I think browsers should let the users white-list the sites which are allowed to use WebRTC.

Re: Show HN: HTML5 clone of OS X AirDrop – Easy P2P file transfers in a browser

#45

This is really amazing! I had a bit of trouble on my first attempt because I was connected to a VPN, so ShareDrop was considering me to be in the 10.* range (my local IP address on the VPN) while my coworker on the same router showed up in the 192.* range. I was able to send him a file, but he obviously couldn't send me one back because he wasn't connected to the same VPN. Once I disconnected from the VPN then ShareD…

Does this mean that any JavaScript code can determine the client's local IP addresses? Then it can be used for identification, I think browsers should let the users white-list the sites which are allowed to use WebRTC.

It seems so. I was a bit surprised myself, but this data is taken from the info that browsers send to each other to determine the best path for P2P connection. The actual code for determining local IP is taken from http://net.ipcalf.com.

Re: Show HN: HTML5 clone of OS X AirDrop – Easy P2P file transfers in a browser

#47
post #12
post #6

It sounded interesting until: Allow www.sharedrop.io to run "Adobe Flash"? Then: We're really sorry, but your browser is not supported. Please use the latest Chrome for Desktop or Android or Opera. Firefox support is coming soon! So basically, this is a webkit app, not a HTML5 app?

No idea why it asked for Flash. At this moment the app works only in Chrome and Opera, because Firefox doesn't support HTML5 FileSystem API. There's a polyfill for that, but we had some issues with it, so we've decided to release it anyway. We'll continue working on Firefox support. The whole source code is available on GitHub ( https://github.com/cowbell/sharedrop ), so anyone can help.

This reminds me of how awfully behind IE is in HTML5 development. If even Firefox doesn't have this feature, IE might not get it for at least another 2 years. I don't think Microsoft has even announced support for WebRTC in any future IE version yet.

Re: Show HN: HTML5 clone of OS X AirDrop – Easy P2P file transfers in a browser

#48
post #4
post #3

Cool, but one major advantage to airdrop is that it doesn't require a local network at all, so you can airdrop even without any wifi AP in range.

Sure, we mention it even in the README ( https://github.com/cowbell/sharedrop/blob/master/README.md ). There's probably a workaround if you have a phone with internet access - you could create a local WiFi network on it and connect to ShareDrop through it. Haven't tried it though.

And one advantage to this is that it anything that can view a web page can reach it. I don't have to ask my grandma to install an app on her phone to get a picture on her desktop computer from me : )
Post reply on HN