Jump to content

WebTorrent

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 128.12.245.4 (talk) at 07:39, 4 May 2019 (feross is the author of webtorrent). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WebTorrent
Original author(s)Feross Aboukhadijeh
Developer(s)WebTorrent
Initial release22 October 2013; 11 years ago (2013-10-22)
Stable release
0.102.4 / 30 August 2018; 6 years ago (2018-08-30)
Repositorygithub.com/webtorrent/webtorrent
Written inJavaScript
Operating systemweb browsers
FreeBSD, Linux, macOS, Windows
Available inJavaScript
Typecommunications protocol, distributed file system, content delivery network
WebsiteWebTorrent.io

WebTorrent is a peer-to-peer (P2P) streaming torrent client written completely in JavaScript by Feross Aboukhadijeh (who also created 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

The idea behind WebTorrent is to make BitTorrent work on the web in a browser.[1] 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.[2]

Before WebTorrent the developers first tried Peer-CBN (content delivery network) as a start up that sold to Yahoo in 2013. A goal of WebTorrent is to maintain compatibility with BitTorrent as much as possible. WebTorrent uses the same protocol as BitTorrent but uses a different transport. BitTorrent uses TCP connections and UDP packets that currently don't work on the web for security reasons, while WebTorrent uses WebRTC facilitating peer-to-peer connectivity and functions on the web as the only option to avoid using servers (i.e. web sockets and middlemen servers, etc.).[2] There are also hybrid application combinations with HTTP URLs where a server is accessed by the first peer, starting the sharing process, crossing over from server-based to P2P-based content.

WebTorrent Desktop

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.[2]

Functionality

Online video is the core focus as that is where WebTorrent is most useful. If not combined with HTTP in a hybrid approach then P2P alone has a higher latency up front as peers must be found. It is less suited for smaller files or data sets but is ideal for larger files.[2]

File availability, like with BitTorrents is dependent on torrent seeding. If few users are sharing a file an HTTP server providing webseeding would be the fall back. There is no sharing without webseeding. This is not necessarily a bad thing. 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 you may 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 IndexDB.[2]

Adoption

BitChute

BitChute is a video hosting service that uses WebTorrent P2P technology[3][4] in order to diffuse, redistribute, and ease bandwidth and issues of centralized streaming[citation needed] and to make it much more difficult for governments and corporations to censor, disrupt, and/or block access to videos after they are uploaded and sharing.[citation needed]

Brave

Brave web browser and PopChest are "open source supporters" of WebTorrent, as displayed on WebTorrent's homepage.[5]

Safari

The Safari web browser is incorporating WebRTC and data channel support, as it is going to be in iOS 11, however, it will be requesting permissions from users for access to webcams according to rumours.[2]

Instant.io

You may try out the WebTorrent magnets at Instant.io.

Reception

See also

References

  1. ^ Ernesto (2018-01-04). "WebTorrent Desktop Hits a Million Downloads". TorrentFreak.com. TorrentFreak. Retrieved 2018-11-03.
  2. ^ a b c d e f Heavybit (2017-07-06). "Demuxed - Ep. #5, WebTorrent: Bringing BitTorrent to the Web". YouTube. Heavybit. Retrieved 2018-11-03. @4:35+
  3. ^ "BitChute is a BitTorrent-Powered YouTube Alternative". TorrentFreak. 2017-01-29. Retrieved 2017-12-10. {{cite news}}: Cite has empty unknown parameter: |dead-url= (help)
  4. ^ Beer, Doron. "iTWire - BitChute: the first serious YouTube competitor?". www.itwire.com. Retrieved 2017-12-10.
  5. ^ "WebTorrent". WebTorrent.com. Retrieved 2018-11-03.