Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think Bittorrent could be made usable for 1:1 transfers. The building blocks are there. But you'd have to streamline the process and build a client optimized for that case instead of the more common usage. The main missing piece would be a standardized encryption format. That doesn't really need protocol changes, just a storage-level convention how the data is encrypted before turning it into a torrent.


I'm not sure I see the point though?

For 1-to-1 transfers, Magic Wormhole is the system to beat, and I struggle to imagine how it could be improved.

https://github.com/magic-wormhole/magic-wormhole


I really wish magic wormhole worked conveniently on windows without obliging me to install python and pip and such. It's my go-to when sftp isn't an option, but for sftp not to be an option almost always means that one of the computers I'm trying to transfer between is a windows box.


Magic Wormhole has a good implementation in Go. It has windows binary.

https://github.com/psanford/wormhole-william

Windows binary: https://github.com/psanford/wormhole-william/releases/downlo...

There's GUI: https://github.com/Jacalz/wormhole-gui

Android app too: https://github.com/psanford/wormhole-william-mobile

The author is on HN as psanford


oh fantastic! thanks


That's reasonable, it's a great candidate for a rewrite in Go.



Wormhole requirement: "the URL of a publicly-available Rendezvous Server"

This means its not a self-sovereign system, like Bittorrent, GIT, and Bitcoin. Its no different then a central Napster server, the one that got dragged into court on November 1999. Scientists are still working on creating self-sovereign peer-to-peer systems. Its hard, but we're going to solve it in coming years.

Scientific community: "International Workshop series on Distributed Infrastructure for Common Good", https://dicg2020.github.io/ (disclaimer: involved scientist)


First time I hear about Magic Whatever™. Any modern download tool needs to be embedded into browsers and mobile OSes for it to have any chance these days.

I haven't seen any regular user use a separate download tool or a download manager for a decade or more.

Except for BitTorrent clients, but those aren't targeted at 1:1, of course :-)


What do you mean, could be? https://instant.io/ is just one of many webtorrent sites that do this. It's a wonderful use of bittorrent.


Webtorrent is not fully decentralized since webrtc needs signalling servers for each session (you can't even store credentials in a cache and reuse them later) and it doesn't have a DHT since UDP isn't available in browsers.

It's not the same as bittorrent proper.


Agreed, but I don't think there's a lot of motivation to do so. At that point, BitTorrent is just DCC in a new fur coat. As stated earlier, BT is most appropriately used in a setting where you want to download a single file from multiple sources, distributing the workload between them and your network. This results in faster downloads, and does so in a way that is decentralized (for the most part) and scalable by design.

So while it could be done, the question is really "should it be done"? I'd love to be able to send a file over the internet easily without using some centralized service, but if there's only 2 people that are meant to have the file, does the overhead of BitTorrent make any sense?


Isn't this basically Resilio's Sync ? I've been using it for years on smartphone backups that otherwise wouldn't be able to hold a sustained transfer.


Yes, me too. It also have 1:1 functions for sending a file easily or sync a folder between all your oomputers and phones.


We already have SFTP for this.


sftp doesn't do nat hole punching, does it?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: