Live data from Hacker News

Snapdrop – AirDrop equivalent through a web browser using WebRTC

snapdrop.net

131–140 of 155 posts

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#131

Earlier quoted context omitted.

But it's not e2e encrypted.

How could you access end-to-end encrypted cloud storage from multiple devices? It's still encrypted, and in multiple jurisdictions so a legal order in any single jurisdiction only decrypts one layer of encryption. "Telegram is a cloud service. We store messages, photos, videos and documents from your cloud chats on our servers so that you can access your data from any of your devices anytime without having to rely on…

> How could you access end-to-end encrypted cloud storage from multiple devices?

By sharing your key between the devices.

> a legal order in any single jurisdiction only decrypts one layer of encryption

That's good to know, but it's not the cutting edge of security. (For many people it's of course enough)

> They also offer end-to-end encrypted secret chats

Not on desktop and not on GNU/Linux phones (which I use).

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#132
post #55

It's not really an AirDrop equivalent if it requires you to be on the same network. AirDrop is really useful when you're out and about somewhere and you want to send someone a file. In those cases there's possibly not a WiFi available or in the case of visitors to your home; only you are on the network, not your friend. So I would not see the point of using this instead of AirDrop unless you have to send a file to so…

Alas, this is a general issue with WebRTC: Most people are behind NATs[1], and not even STUN[2] can save them. In order for this to support internetwork (heh) transport, you'd need a TURN[3] server that could relay the traffic between the participants. Of course, at that point you're not really Peer2Peer anymore: You have a server between you and that server is going to cost actual money to run. [1] https://en.wikipe…

This made me curious about the state of IPv6 adoption.

About 33% of folks have IPv6 connectivity now, up from 5% in 2015.[1]

The NAT problem isn't going away anytime soon, but it's good to see some progress is finally being made on that front.

[1]: https://www.google.com/intl/en/ipv6/statistics.html#tab=ipv6...

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#133
post #55

It's not really an AirDrop equivalent if it requires you to be on the same network. AirDrop is really useful when you're out and about somewhere and you want to send someone a file. In those cases there's possibly not a WiFi available or in the case of visitors to your home; only you are on the network, not your friend. So I would not see the point of using this instead of AirDrop unless you have to send a file to so…

İ have an Android and a MBP. The number of times where İ think, "why is this so hard to get this file to that computer" is more than I'd like to admit. Cloud drives (iCloud, OneDrive, GDrive) are all too slow on bad WiFi. This should help me.

I think you are looking for https://webwormhole.io/

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#134

Earlier quoted context omitted.

self promo lmao

It looks like MrGilbert has forked [0] just-an-email but it's not actually his project? [0] https://github.com/DanielGilbert/just-an-email

That is correct. Besides reporting a bug, I'm not affiliated with this project. Too bad GP doesn't know much about forking to tell the difference, but is fast enough to blame.

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#135
post #12

Earlier quoted context omitted.

It looks like this one is sending all the traffic through a single nodeJS worker. Not surprising.

It's just the signalling server to exchange ICE candidates. Once the connection has been made between two devices, the traffic is direct...unless they are on two different networks and/or firewalled, then you would need a TURN server to relay traffic through.

Ah, thanks for taking a closer look and commenting

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#136
post #133

Earlier quoted context omitted.

İ have an Android and a MBP. The number of times where İ think, "why is this so hard to get this file to that computer" is more than I'd like to admit. Cloud drives (iCloud, OneDrive, GDrive) are all too slow on bad WiFi. This should help me.

I think you are looking for https://webwormhole.io/

Interesting, what's the performance like?

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#137
post #30

Is there a static, single html version of this? So I can host it on my cheap OpenWRT router with minimal effort.

It's not a SPA that can run without a backend, so no. Most of the clients will need to connect via the backend which is currently run at wss://snapdrop.net/server/webrtc. Without it, they won't be able to penetrate NAT and will be unreachable.

Hmm, I thought WebWTC was p2p?

If a server is needed anyway, could it be implemented in easier, OpenWRT-compatible way?

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#138
post #95
post #76

It is a shame AirDrop is not an standard across all devices. It's almost 2021 and we don't have a universal way to share files in original format. Most ways to transfer between android/iphone/mac/pc are over the internet and compressed. I guess the industry is not interested in collaboration.

Very true. I had high hopes for Google's "nearby share" which was initially announced as a cross-platform networkless way to share files, but these ambitions seem to have been scaled back to "Android to Android only, and it sometimes uses mobile data as a fallback"...

And it is works only with the contacts in a phone. Most of the time I need to send a file from a company device and I have to add me to contacts in the shared testing device to make it work.

Re: Snapdrop – AirDrop equivalent through a web browser using WebRTC

#140
post #30

Is there a static, single html version of this? So I can host it on my cheap OpenWRT router with minimal effort.

I have made a similar application at https://WebDrop.Space

It uses WebTorrent trackers and is easier to setup offline on network.

https://github.com/subins2000/WebDrop

Post reply on HN