WebTorrent is a
peer-to-peer
Peer-to-peer (P2P) computing or networking is a distributed application architecture that partitions tasks or workloads between peers. Peers are equally privileged, equipotent participants in the network. They are said to form a peer-to-peer ...
(P2P)
streaming
Streaming media is multimedia that is delivered and consumed in a continuous manner from a source, with little or no intermediate storage in network elements. ''Streaming'' refers to the delivery method of content, rather than the content i ...
torrent client written in
JavaScript
JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of Website, websites use JavaScript on the Client (computing), client side ...
, from the same author, Feross Aboukhadijeh, of
YouTube Instant
YouTube Instant is a real-time search engine built and launched in September 2010 by nineteen-year-old college student and Facebook-software-engineer intern Feross Aboukhadijeh of Stanford University that allows its users to search the YouTube v ...
, and the team at WebTorrent and on
GitHub
GitHub, Inc. () is an Internet hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, software feature requests, task management, co ...
, for use in
web browser
A web browser is application software for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's screen. Browsers are used on ...
s, as well as a
WebTorrent Desktop stand alone version able to bridge WebTorrent and
BitTorrent serverless networks.
History
Before creating WebTorrent, the developers first created PeerCDN, a peer-to-peer
content delivery network
A content delivery network, or content distribution network (CDN), is a geographically distributed network of proxy servers and their data centers. The goal is to provide high availability and performance by distributing the service spatially r ...
which was bought by
Yahoo!
Yahoo! (, styled yahoo''!'' in its logo) is an American web services provider. It is headquartered in Sunnyvale, California and operated by the namesake company Yahoo! Inc. (2017–present), Yahoo Inc., which is 90% owned by investment funds ma ...
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. Any
web browser
A web browser is application software for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's screen. Browsers are used on ...
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.
[ @4:35+] WebTorrent uses the same
protocol as BitTorrent but uses a different
transport layer
In computer networking, the transport layer is a conceptual division of methods in the layered architecture of protocols in the network stack in the Internet protocol suite and the OSI model. The protocols of this layer provide end-to-end ...
. WebTorrent primarily relies on
WebRTC
WebRTC (Web Real-Time Communication) is a free and open-source project providing web browsers and mobile applications with real-time communication (RTC) via application programming interfaces (APIs). It allows audio and video communication to ...
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
Vuze (previously Azureus) is a BitTorrent client used to transfer files via the BitTorrent protocol. Vuze is written in Java, and uses the Azureus Engine. In addition to downloading data linked to .torrent files, Azureus allows users to view, p ...
(formerly
Azureus) less gracefully but adequately functionally incorporated WebTorrent adding simultaneous network bridging to their software. The developers used
Electron
The electron (, or in nuclear reactions) is a subatomic particle with a negative one elementary electric charge. Electrons belong to the first generation of the lepton particle family,
and are generally thought to be elementary partic ...
that makes desktop apps using JavaScript with access to all the
APIs from
Chrome
Chrome may refer to:
Materials
* Chrome plating, a process of surfacing with chromium
* Chrome alum, a chemical used in mordanting and photographic film
Computing
* Google Chrome, a web browser developed by Google
** ChromeOS, a Google Chrome- ...
and
Node
In general, a node is a localized swelling (a "knot") or a point of intersection (a vertex).
Node may refer to:
In mathematics
* Vertex (graph theory), a vertex in a mathematical graph
* Vertex (geometry), a point where two or more curves, line ...
.
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 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
The Indexed Database API (commonly referred to as IndexedDB) is a JavaScript application programming interface (API) provided by web browsers for managing a NoSQL database of JSON objects. It is a standard maintained by the World Wide Web Consort ...
.
Adoption
WebTorrent uses widely supported open web standards like WebRTC and therefore works in any modern browser, including
Google Chrome
Google Chrome is a cross-platform web browser developed by Google. It was first released in 2008 for Microsoft Windows, built with free software components from Apple WebKit and Mozilla Firefox. Versions were later released for Linux, macO ...
,
Firefox
Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web pages, which implements current and ...
, and
Opera
Opera is a form of theatre in which music is a fundamental component and dramatic roles are taken by singers. Such a "work" (the literal translation of the Italian word "opera") is typically a collaboration between a composer and a libre ...
for Desktop and Android,
Microsoft Edge
Microsoft Edge is a proprietary, cross-platform web browser created by Microsoft. It was first released in 2015 as part of Windows 10 and Xbox One and later ported to other platforms as a fork of Google's Chromium open-source project: Android ...
and
Safari
A safari (; ) is an overland journey to observe wild animals, especially in eastern or southern Africa. The so-called "Big Five" game animals of Africa – lion, leopard, rhinoceros, elephant, and Cape buffalo – particularly form an importa ...
.
BitChute
Launched in 2017,
BitChute
BitChute is an alt-tech video hosting service launched by Ray Vahey in January 2017. It describes itself as offering freedom of expression, while the service is known for hosting far-right individuals, conspiracy theorists, and hate speech. S ...
is a
video hosting service
An online video platform (OVP), provided by a video hosting service, enables users to upload, convert, store and play back video content on the Internet, often via a structured, large-scale system that may generate revenue. Users will generally u ...
that used WebTorrent P2P technology.
It claimed in order to ease bandwidth issues of centralized streaming.
According to
Fredrick Brennan, there is little evidence BitChute actually uses peer-to-peer technology. By April 2021, the option to host videos using WebTorrent on BitChute "appears to have been deprecated", according to ''
Ars Technica
''Ars Technica'' is a website covering news and opinions in technology, science, politics, and society, created by Ken Fisher and Jon Stokes in 1998. It publishes news, reviews, and guides on issues such as computer hardware and software, sc ...
''.
Brave
Brave
Brave most commonly refers to:
*Brave, an adjective for one who possesses courage
*Braves (Native Americans), a EuroAmerican stereotype for Native American warriors
Brave(s) or The Brave(s) may also refer to:
Film and television
* ''Brave'' (199 ...
web browser bundles WebTorrent into the native executables and integrates WebTorrent into its UI.
See also
*
BitChute
BitChute is an alt-tech video hosting service launched by Ray Vahey in January 2017. It describes itself as offering freedom of expression, while the service is known for hosting far-right individuals, conspiracy theorists, and hate speech. S ...
, formerly used WebTorrent
*
PeerTube
PeerTube is a free and open-source, decentralized, ActivityPub federated video platform powered by WebTorrent, that uses peer-to-peer technology to reduce load on individual servers when viewing videos.
Started in 2017 by a programmer known as ...
, uses WebTorrent
*
libtorrent, implements WebTorrent
*
Comparison of BitTorrent clients
*
InterPlanetary File System
*
List of video hosting services
Online video platforms allow users to upload, share videos or live stream their own videos to the Internet. These can either be for the general public to watch, or particular users on a shared network. The most popular video hosting website is Y ...
**
DailyMotion
Dailymotion is a French video-sharing technology platform owned by Vivendi. North American launch partners included Vice Media, Bloomberg and Hearst Digital Media. It is among the earliest known platforms to support HD ( 720p) resolution v ...
**
Vidme
Vidme was a video hosting service that launched to the public in 2014. It described itself as a hybrid between video hosting website YouTube and social news site Reddit.
History
The company was founded in 2014 by Warren Shaeffer and Alex Benzer i ...
**
Vimeo
Vimeo, Inc. () is an American video hosting, sharing, and services platform provider headquartered in New York City. Vimeo focuses on the delivery of high-definition video across a range of devices. Vimeo's business model is through software a ...
**
YouTube
YouTube is a global online video sharing and social media platform headquartered in San Bruno, California. It was launched on February 14, 2005, by Steve Chen, Chad Hurley, and Jawed Karim. It is owned by Google, and is the second most ...
*
YouTube Instant
YouTube Instant is a real-time search engine built and launched in September 2010 by nineteen-year-old college student and Facebook-software-engineer intern Feross Aboukhadijeh of Stanford University that allows its users to search the YouTube v ...
References
External links
*
WebTorrent.ioInstant.iofor WebTorrent magnets.
''Demuxed - Ep. #5, WebTorrent: Bringing BitTorrent to the Web''on
YouTube
YouTube is a global online video sharing and social media platform headquartered in San Bruno, California. It was launched on February 14, 2005, by Steve Chen, Chad Hurley, and Jawed Karim. It is owned by Google, and is the second most ...
, 2017-07-06, is an audio interview (not video) that starts as an excellent introduction to WebTorrent, drifts into past projects for context, then gets very technical about hacking streams, before concluding on vacuum frying banana chips.
{{DEFAULTSORT:WebTorrent
2013 establishments in California
Anonymity networks
Application layer protocols
BitTorrent
Computer-related introductions in 2013
Distributed data storage
Distributed file systems
File sharing software
File transfer protocols
Free network-related software
Internet privacy software
Internet properties established in 2013
Internet protocols
Network protocols
Peer-to-peer software
Video hosting