Live data from Hacker News

Peer-to-peer file transfers in the browser

github.com

231–240 of 272 posts

Re: Peer-to-peer file transfers in the browser

#231
post #228

Earlier quoted context omitted.

It says that the last commit is from 2 years ago. Is it because it is completed, or because it really is no longer under development?

i'm the author. i keep a close eye on it for any security issues but i'm not adding any new features, hence the lack of commits. i also obviously maintain the instance on https://webwormhole.io/ .

Thanks for maintaining it! You might want to update the CLI instructions to use "go install" as the current command doesn't work.

Re: Peer-to-peer file transfers in the browser

#232

Very nice. It reminds me of a similar all-in-browser file transfer tool I built ages ago called nearshare. This was WAY before webrtc was a thing so my approach was to actually run a web server in the browser via a java applet. :) https://martiansoftware.com/nearshare/

>>The approach was simple, but relied on technologies that are now obsolete. Does obsolete mean deprecated or removed?

First the one, then the other. :)

It used LiveConnect[0] to talk to the UI-less java applet[1] hosting the web server. It was a weird (and therefore kind of fun!) combination.

0: https://en.wikipedia.org/wiki/NPAPI#LiveConnect

1: https://en.wikipedia.org/wiki/Java_applet

Re: Peer-to-peer file transfers in the browser

#233
post #92

Earlier quoted context omitted.

Vivaldi is roughly 1000 times slower. You need a pretty good computer to run that UI. It also lacks extremely basic features Opera had; like working LRU tab switching. I liked the idea, but it's impossible to recommend.

have you tried Otter Browser?

What a blast from the past. 0 comments, 0 points. Opera wasn't very popular in US. https://news.ycombinator.com/item?id=7937436

Re: Peer-to-peer file transfers in the browser

#234
post #123

> Because data is never stored in an intermediary server, the transfer is fast, private, and secure. But WebRTC needs a TURN server for when hole punching/STUN doesn't work when both clients are behind NAT. Data is never stored in an intermediate server, but it can pass through . How is the privacy and security ensured that the TURN server won't/can't read your data? Do you just have to trust them? Or is a form of E2…

WebRTC, in fact, merely passes e2e encrypted packets through the TURN server (which, by the way, is only required if both sides are behind symmetric NAT: the vast majority of NAT doesn't cause this problem, though you might need to do STUN).

> the vast majority of NAT doesn't cause this problem

A WebRTC clients behind an iptables based MASQUERADE NAT will not work without TURN. Which both incredibly common and weird that people designing WebRTC and STUN/TURN/ICE never stopped by netfilter developers to make iptables work out of box with WebRTC.

Re: Peer-to-peer file transfers in the browser

#235
post #18

Earlier quoted context omitted.

There is: https://wormhole.app/ for the browser if one needs it.

Other readers, please do note that (the unfortunately named) wormhole.app is unrelated to the frequently recommended, heavily peer-reviewed and much longer-standing magic-wormhole.

Didn't knew that. Thanks a lot!

Re: Peer-to-peer file transfers in the browser

#237

I keep a long list of browser based and CLI p2p file transfer tools[1]. LimeWire (which now has its crypto currency probably) has been on a rampage recently aquiring some of really good tools including ShareDrop and SnapDrop. https://pairdrop.net/ is the last one standing so far. [1]: https://gist.github.com/SMUsamaShah/fd6e275e44009b72f64d0570...

https://wormhole.app/ has been spared and is pretty good. Encrypted, dl can start before up is finished, decent size limit. Unrelated to the wormhole python cli tool and associated file sharing protocol.

I use https://onionshare.org/. It's not p2p afaik, but dang! that one is easy to work with.

Re: Peer-to-peer file transfers in the browser

#239
post #128

Earlier quoted context omitted.

> Where do you get the FTP client and server from without an Internet connection Until last year, your web browser will usually download files. These days, you have to start an HTTP server. Which is actually easier, because FTP is a messy protocol. > how do you create a network between the two WiFi Direct has been built into phones for at least a decade. > And would you say that this is comparable in terms of complex…

> On the sender side, the "send via" option can appear in the standard sharing app list. Can, but does it? Defaults matter. And how would the receiver be notified that they should download some file via FTP? As long as such a feature does not come preinstalled on smartphones, I'll continue considering this lack of previously commonplace functionality an intentional vendor lock-in.

>how would the receiver be notified that they should download some file via FTP You tell them "hey I want to share a file with you, scan this QR code". The QR code sets up the WiFi Direct connection, the fake portal login should auto-open a "click here to download" button (or redirect to a file, but I don't think that's allowed), and once the file is downloaded you terminate the Wi-Fi Direct connection.

But that presumes phones don't have a method to share files. They have that feature built in. It's called Nearby Share on Android and AirDrop on iOS. Both use some weird pairing mechanism and some form of Wi-Fi Direct to transfer files, but the interface is just a bit more integrated.

When Apple opens up Airdrop or when Google convinces Apple to pre-install Nearby Share, we'll get the universal file transfer we desperately need.

Re: Peer-to-peer file transfers in the browser

#240

Opera browser used to have P2P file transfers as a short lived feature in ~2010, called Unite. I remember it also had skeuomorphic GUI of a 'fridge' where users could put post-it style notes that could be seen by others. One of many everything-and-the-kitchen-sink features Opera Presto had during its heyday. Others included a separate Bittorrent client, desktop widgets that could be moved outside of the browser windo…

I still need mouse gestures in all browsers and extensions are still in comparison hot garbage at it.
Post reply on HN