Jump to content

WebTorrent

From Wikipedia, the free encyclopedia
WebTorrent
Original author(s)Feross Aboukhadijeh
Developer(s)WebTorrent
Initial release22 October 2013; 11 years ago (2013-10-22)
Repositorygithub.com/webtorrent/webtorrent
Written inJavaScript
Operating systemCross-platform
Available inJavaScript
TypeCommunications protocol, distributed file system, content delivery network
LicenseMIT[1]
WebsiteWebTorrent.io

WebTorrent is a peer-to-peer (P2P) streaming torrent client written in JavaScript, from the same author, Feross Aboukhadijeh, of YouTube Instant, and the team at WebTorrent and on GitHub, for use in web browsers, as well as a WebTorrent Desktop stand alone version able to bridge WebTorrent and BitTorrent serverless networks.

History

[edit]

Before creating WebTorrent, the developers first created PeerCDN, a peer-to-peer content delivery network which was bought by Yahoo! in 2013.

The idea behind WebTorrent is to make a BitTorrent-like protocol that works on the web browser, maintaining as much compatibility with BitTorrent as possible.[2] Any web browser should be able to connect to a peer-to-peer swarm, fetch content, verify that it is correct, and display it to the user – all as much as possible without centralized servers relying on a network entirely of people's browsers.[3] WebTorrent uses the same protocol as BitTorrent but uses a different transport layer. WebTorrent primarily relies on WebRTC connections, while BitTorrent uses TCP connections and UDP datagrams directly.[3]

WebTorrent Desktop

[edit]

The WebTorrent Desktop bridges the two networks of WebRTC-based WebTorrent and TCP/UDP-based BitTorrent simultaneously. The BitTorrent client Vuze (formerly Azureus) less gracefully but adequately functionally incorporated WebTorrent adding simultaneous network bridging to their software. The developers used Electron that makes desktop apps using JavaScript with access to all the APIs from Chrome and Node.[3]

Functionality

[edit]

Online video is the core focus as that is where WebTorrent is most useful. It is less suited for smaller files or data sets but is ideal for larger files.[3]

File availability, as with BitTorrents, is dependent on torrent seeding. If only a few users are sharing a file, then an HTTP server that provides webseeding would be the fallback. There is no sharing without webseeding. However, this could have some positive implications. Rather than using a middleman upload site to share a large private file with another person, with WebTorrent you may directly connect without leaving traces somewhere or potentially being archived on some upload site. You simply drag and drop your file to create a magnet link that you can share with your friend. Connections are already encrypted, but you may add extra layers of encryption with keys to send another way. RAM limits may be managed with IndexedDB.[3]

The client prioritizes downloading pieces chronologically, so that the file is able to be streamed uninterrupted even before the download is complete.[4]

Adoption

[edit]

WebTorrent uses widely supported open web standards like WebRTC and therefore works in any modern browser, including Google Chrome, Firefox, and Opera for Desktop and Android, Microsoft Edge and Safari.[5][better source needed]

BitChute

[edit]

Launched in 2017,[6] BitChute is a video hosting service that used WebTorrent P2P technology.[7][8] It claimed in order to ease bandwidth issues of centralized streaming.[6] According to Fredrick Brennan, there is little evidence BitChute actually uses peer-to-peer technology.[9] By April 2021, the option to host videos using WebTorrent on BitChute "appears to have been deprecated", according to Ars Technica.[10]

Brave

[edit]

Brave web browser bundles WebTorrent into the native executables and integrates WebTorrent into its UI.[11]

See also

[edit]

References

[edit]
  1. ^ "Webtorrent/Webtorrent". GitHub. 2 June 2021.
  2. ^ Ernesto (2018-01-04). "WebTorrent Desktop Hits a Million Downloads". TorrentFreak.com. TorrentFreak. Retrieved 2018-11-03.
  3. ^ a b c d e Heavybit (2017-07-06). "Demuxed - Ep. #5, WebTorrent: Bringing BitTorrent to the Web". YouTube. Heavybit. Retrieved 2018-11-03. @4:35+
  4. ^ a b "WebTorrent support - arvidn/libtorrent". GitHub. 2020-07-01.
  5. ^ "WebTorrent FAQ". webtorrent.io. Retrieved 2022-03-12.
  6. ^ a b Trujillo, Milo; Gruppi, Maurício; Buntain, Cody; Horne, Benjamin D. (2020-07-13). "What is BitChute?". Proceedings of the 31st ACM Conference on Hypertext and Social Media. HT '20. New York, NY, USA: ACM. pp. 139–140. doi:10.1145/3372923.3404833. ISBN 978-1-4503-7098-1. S2CID 220434725.
  7. ^ "BitChute is a BitTorrent-Powered YouTube Alternative". TorrentFreak. 2017-01-29. Retrieved 2017-12-10.
  8. ^ Beer, Doron. "iTWire - BitChute: the first serious YouTube competitor?". www.itwire.com. Retrieved 2017-12-10.
  9. ^ "Bitchute claims to be a decentralized platform—that's not true". The Daily Dot. 2019-11-27. Retrieved 2020-12-19.
  10. ^ a b Chant, Tim De (29 April 2021). "Conspiracy theorist said death threats were "jokes"—but jury didn't buy it". Ars Technica. Retrieved 18 May 2021.
  11. ^ "What extensions are built into Brave?". Brave Help Center. Retrieved 2023-07-27.
  12. ^ "PeerTube v6 is out, and powered by your ideas !". Framablog. Framasoft. 23 October 2023. Retrieved 23 June 2024. We needed to settle a technical debt: v6 removes support for WebTorrent to focus on HLS (with WebRTC P2P).
[edit]