Live data from Hacker News

Peer-to-peer file transfers in the browser

github.com

101–110 of 272 posts

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

#101

Earlier quoted context omitted.

Yeah, your can do your dishes with the fire hose too.

People drive one ton pickup trucks to commute to their desk job. Or to get two bags of groceries.

This is true but this sucks.

Modern American SUVs are an abomination too. The American auto industry started pushing them because they're legally classified as "light trucks" which lets them take advantage of certain safety and environmental standard loopholes

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

#102

> 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…

OP can just not use a TURN server, and it won't work for double-NAT traversal. I did this in a side project to avoid the security risk.

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

#103
post #12

Earlier quoted context omitted.

It was solved a decade ago, BitTorrent protocol

I think people mean something seamless like AirDrop is on Apple devides, but some public standard that gets implemented on all platforms like iOS, Android, Windows, macOS and Linux, so all these platforms can just easily send files to each other simply and securely over WiFi.

AirDrop was a huge asset to protestors in Taiwan. It was heavily used for mass demonstrations. Something that works cross-platform could be really great for political movements

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

#104

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

/? inurl:awesome p2p site:github.com: https://google.com/search?q=inurl:awesome+p2p+site:github.co...

Peer-to-peer: https://en.wikipedia.org/wiki/Peer-to-peer

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

#105
post #54

I don't see which use case this is solving that hasn't already been solved by multiple other P2P file sharing browser based software available.

Local First Software benefits heavily from p2p solutions like these that can be integrated into a larger application

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

#106
post #95

Nice project and I always like playing with WebRTC but there is something that has me a little concerned . > Transfers are now directly from the uploader to the downloader's browser (WebRTC without WebTorrent) with faster handshakes. Maybe I'm wrong, but there is a signaling server in the middle somewhere along the chain here no ? unless it's just the same as PeerJS in which you first need the clients ID, but connect…

Yes, this repo is also an api server which stores peer ids here `https://github.com/kern/filepizza/blob/main/src/app/api/crea... ` and here `https://github.com/kern/filepizza/blob/main/src/channel.ts`. Webrtc implementations typically use a server to connect peers. Without, peers need to exchange id’s to connect.

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

#107
post #78

Earlier quoted context omitted.

i like the name. pizza invokes thoughts of sharing anyway

As someone who had the misfortune of moderating a platform with filesharing features, I agree that the name is... really bad. (Cheese) Pizza is slang for CSAM. https://www.urbandictionary.com/define.php?term=Cheese%20piz...

Wow I had no idea. Yeah then this is absolutely the worst possible name they could've picked.

Hopefully this isn't a "they knew what they were doing" situation

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

#108
post #48

These are neat but... it's 2025, and there is still no first class standardized ways to move files over the Internet between PC/mobile/edge devices.

> no first class standardized ways to move files over the Internet between PC/mobile/edge devices FTP? You can open an app on your phone, start an FTP server, use UPnP to poke a hole in the router, show their public IP address, send a text message to your friend with the IP, port, username & password in a single URL, connect, send/receive files.

I meant modern -- you can use FTP over stuff like ZeroTier or Tailscale but otherwise you can't do P2P with it (firewalls, V4 NAT) and it's not secure. TS has some facility for transfer but again-- TS-specific, not available everywhere, not standard, and not suitable for all cases.

I also meant things regular people can easily use and that can be used as conveniently as e.g. Apple's AirDrop (which is nice but only works between Apple stuff).

It's part a UI/UX problem and part a missing standards problem. The latter precedes the former.

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

#109

I love this WebRTC based attempt to send files browser to browser. Too bad I’ve not yet seen it working without hiccups. I’m currently testing keet, which is in beta but promising as well. https://keet.io/

I've also never been able to get these P2P web file transfer tools (FilePizza, ShareDrop) to work without issues. Transfers inevitably fail partway through, especially for large files. This seems to happen even in ideal network conditions such as over a LAN.

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

#110
post #94
post #8

It's so strange that this should have been a solved problem decades ago, but somehow a robust and secure non-commercial solution never gets off the ground. Speaking of which, how is the IPFS project doing these days?

I think it's because of all the NAT, which makes any attempt cumbersome for a lot of people.

If only IPv6 had taken off...
Post reply on HN