News for hackers. Stuff that matters.
Re:Ask HN: What is your favorite method of sending large files? by ogisan on Wednesday September 02, 2020 @06:12PM (#24358802)
WebTorrent [1] can be used to run BitTorrent on the web. It's actually integrated into the Brave browser which is a nice feature. Other browsers might catch on soon.

[1] https://webtorrent.io/

Re:Ask HN: What is your favorite method of sending large files? by aeyes on Wednesday September 02, 2020 @06:48PM (#24359111)
Caution: Don't open this page on a metered connection, immediately starts downloading a 130MB movie file.
Re:Ask HN: What is your favorite method of sending large files? by clemParis on Thursday September 03, 2020 @03:40AM (#24361680)
Ouch, I understand that it demoes their solution, but with the autoplay that's very insensitive.
Re:Ask HN: What is your favorite method of sending large files? by mc10 on Wednesday September 02, 2020 @06:36PM (#24359008)
WebTorrent is pretty limited though:

> ... a browser-based WebTorrent client or "web peer" can only connect to other clients that support WebTorrent/WebRTC.

(from https://webtorrent.io/faq)

This essentially splinters the world into the bittorrent and webtorrent halves, which makes it far less useful.

Re:Ask HN: What is your favorite method of sending large files? by 0-_-0 on Wednesday September 02, 2020 @06:51PM (#24359132)
WebTorrent is part of libtorrent now, so should be part of all torrent clients based on it, e.g. qBittorrent:

https://github.com/arvidn/libtorrent/pull/4123

Re:Ask HN: What is your favorite method of sending large files? by capableweb on Wednesday September 02, 2020 @07:57PM (#24359554)
Not quite there yet. Latest release of libtorrent was 1.2.9, seems it's scheduled for "some branch" after 2.0 (https://github.com/arvidn/libtorrent/pull/4123#issuecomment-...). Add in some time for clients to actually start using it as well, which is not guaranteed either.

The DHT remains split for now.

Re:Ask HN: What is your favorite method of sending large files? by Sean-Der on Wednesday September 02, 2020 @11:36PM (#24360591)
If you want a CLI/Desktop WebTorrent client https://github.com/anacrolix/torrent works great.
Re:Ask HN: What is your favorite method of sending large files? by vbezhenar on Wednesday September 02, 2020 @07:16PM (#24359301)
For some reason browser vendors do not allow JavaScript to connect to any port. So there's no other way.