WebTorrent


WebTorrent is a peer-to-peer streaming torrent client written 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. 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.
Before WebTorrent the developers first tried PeerCDN 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. WebTorrent primarily relies on WebRTC connections, while BitTorrent uses TCP connections and UDP datagrams directly.

WebTorrent Desktop

The WebTorrent Desktop bridges the two networks of WebRTC-based WebTorrent and TCP/UDP-based BitTorrent simultaneously. The BitTorrent client Vuze 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.

Functionality

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.
File availability, as with BitTorrents, is dependent on torrent seeding. If few users are sharing a file a HTTP server providing webseeding would be the fall back. 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 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.

Adoption

BitChute

is a video hosting service that uses WebTorrent P2P technology in order to diffuse, redistribute, and ease bandwidth and issues of centralized streaming 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.

Brave

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

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.

Instant.io

People may try out the WebTorrent magnets at .

Reception