News for hackers. Stuff that matters.
Re:Building a BitTorrent client from the ground up in Go by giancarlostoro on Saturday January 04, 2020 @07:27PM (#21958706)
WebTorrent should just work on a browser, no special client necessary. This will allow projects like PeerTube to create websites where the primary content is decentralized by viewers kind of thing.
Re:Building a BitTorrent client from the ground up in Go by lossolo on Saturday January 04, 2020 @07:51PM (#21958819)
This will be hard to do relying only on WebTorrent browser based client, because if no one is watching particular video, there will be no seeds.

You close browser = close WebTorrent = you stop seeding

You stop watching video = you stop seeding it

Long and large video file? = if most people watch at half of video, then data from beginning is already out of the buffer = no seed for first half of video.

To this day there is still no support for WebTorrent in other popular Bittorrent clients so they can't connect to each other. But there is some movement in libtorrent library so we will see.

Re:Building a BitTorrent client from the ground up in Go by ficklepickle on Saturday January 04, 2020 @10:36PM (#21959458)
That makes sense. I was wondering how browsers were communicating with UDP peers... Turns out they aren't!

A quick glance at the webtorrent readme says it uses UDP on node.

There is a webtorrent desktop app in beta that does both.[0]

Here's hoping it makes it to libtorrent. Even then, I'd imagine it would take quite a while to make it into the clients running on seedboxes, desktops, etc.

Re:Building a BitTorrent client from the ground up in Go by jekrb on Saturday January 04, 2020 @08:55PM (#21959067)
Brave Browser has WebTorrent built in. Just paste a magnet link into the URL bar and it will start downloading/seeding.
Re:Building a BitTorrent client from the ground up in Go by ignoramous on Sunday January 05, 2020 @06:32AM (#21960808)
Alternatively, one could use https://instant.io from any browser to seed or download. Makes for a good alternative to https://send.firefox.com for really large files.
Re:Building a BitTorrent client from the ground up in Go by noisem4ker on Sunday January 05, 2020 @09:01AM (#21961260)
Opera supported proper torrents back in its Presto days.
Re:Building a BitTorrent client from the ground up in Go by bl4ckm0r3 on Saturday January 04, 2020 @07:42PM (#21958785)
instant.io and webtor.io are two great examples of in-browser webtorrent streaming/dowmload sites!