WebTorrent

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
WebTorrent
The WebTorrent logo is a red heart over a dark grey background with a red border hexagon.
The WebTorrent logo.
Original author(s)Feross Aboukhadijeh, John Hiesey, etc
Developer(s)WebTorrent
Initial release22 October 2013; 5 years ago (2013-10-22)
Stable release
0.102.4 / 30 August 2018; 3 months 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), John Hiesey, 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]

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's 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 (ie. web sockets and middlemen servers, etc).[2] There are also interesting 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[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.[2]

Functionality[edit]

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's 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[edit]

BitChute[edit]

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[edit]

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

Safari[edit]

The Safari web browser is incorporating WebRTC and data channel support, as it's going to be in iOS 11, however for some reason they're requesting permissions from users for access to web-cams, according to rumours.[2]

Instant.io[edit]

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

Reception[edit]

See also[edit]

References[edit]

  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.
  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.

External links[edit]