Live data from Hacker News

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

sharedrop.io

61–70 of 71 posts

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

#61

I'm getting transfer speeds of ~970KB/s (checking using iStat). Averaging nearly 1MB/s isn't bad, but I'm curious, could this go faster?

Yeah, it probably could. I think that https://www.sharefest.me/ has faster transfer speeds, especially that it allows you to download the same file from more than one peer.

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

#62
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?

Wow, someone is really pushing the boundaries of what is possible on the web and all you care about is old browser support.

That's it guys, lets pack up and go back to getting CSS to center vertically.

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

#63
post #53
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?

I think I've figured out why it asked for Flash. I forgot to remove socket.io related files that we were using before switching to Firebase.

Why did you switch to Firebase?

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

#64

Earlier quoted context omitted.

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.

Because configuring SMB on each machine is hard and takes time.

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

#65
post #22

Holy fucking shit this is the best thing since sliced bread. You don't know how much I hate emailing file attachments.

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/ .

sharefest and rtcopy suffer of complexity suckage, please hurry :)

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

#66
post #53

Earlier quoted context omitted.

I think I've figured out why it asked for Flash. I forgot to remove socket.io related files that we were using before switching to Firebase.

Why did you switch to Firebase?

Originally, we used socket.io for presence management and PeerJS library (http://peerjs.com), which uses its own websocket server, for WebRTC signaling. We had 2 websocket servers and we really wanted to avoid hosting them ourselves, so we considered 3 third-party services - Pusher, PubNub and Firebase.

Pusher has really awkward presence management that requires you to store user state on your own server, if I understood their docs correctly.

PubNub had similar issue as Pusher, though very recently they released a new feature that allows you to broadcast user state changes without having to store it on your own server.

Firebase is in my opinion the easiest one to use, especially for presence management, because it's a real database and not only a messaging service. It's also actually really easy to use for private messaging as well, even though I think it wasn't originally designed for that. We've changed PeerJS library to use Firebase for WebRTC signaling, which is basically a form of private messaging. We've also used Firebase in some of our previous projects - e.g. https://github.com/cowbell/presence-firebase.

If you're interested, you can check out the relevant source code for presence management at https://github.com/cowbell/sharedrop/blob/master/app/scripts... and WebRTC signaling at https://github.com/cowbell/sharedrop/blob/master/app/scripts....

Post reply on HN