PeerTube


PeerTube is a free and open-source, decentralized, federated video platform powered by ActivityPub and WebTorrent, that uses peer-to-peer technology to reduce load on individual servers when viewing videos.
Started in 2015 by a programmer known as Chocobozzz, development of PeerTube is now supported by the French non-profit Framasoft. The aim is to provide an alternative to centralized platforms such as YouTube, Vimeo, and Dailymotion.

Operation

Each PeerTube instance provides a website to browse and watch videos, and is by default independent from others in terms of appearance, features and rules.
Several instances, with common rules can form federation, where they share their videos, even though each video is stored only by the instance that published it. Federations are independent from each other.
Videos are distributed on a peer-to-peer basis. Users connected to the platform act as relay points that send pieces of video to other users.

Origins and history

PeerTube was created by a web developer known as Chocobozzz as a peer-to-peer alternative to YouTube, utilizing the WebTorrent protocol to share videos. He was contacted in 2017 by Framasoft, which had a campaign called Contributopia, the goal of which is to create alternatives to centralized platforms. In order to support him and his work, notably on improving the design and usability, Framasoft hired the developer.
In 2018, Framasoft launched a crowdfunding on which raised €53,100 — more than double the initial goal of €20,000.
A first beta of PeerTube was released in March 2018 and the first stable version in October 2018. In June 2018, only a few months after the first beta, 113 instances are publicly available on the web that together host more than videos.
In June 2018, as a result of its videos disappearing amid changes regarding the monetization of YouTube channels, the Blender Foundation began experimenting with hosting a PeerTube instance to distribute copies of the foundation's videos.

Technology

PeerTube uses WebTorrent technology. Each server hosts a torrent tracker and each web browser viewing a video also shares it. This allows to share the load between the server itself and the clients as well as the bandwidth used through P2P technology.
The system works via a federation of instances run by independent entities. Each PeerTube server can host any number of videos by itself, and can additionally federate with other servers to let users watch their videos in the same user interface. This federation permits collectively hosting a large number of videos in a unified platform, without having to build an infrastructure comparable to that of the web giants. Each server is operated by and stays under the sole administration of a distinct entity.
PeerTube uses the ActivityPub protocol in order to allow decentralization and compatibility with other fediverse services, which can prevent vendor lock-in and makes it more resilient against censorship.
The software relies on the PostgreSQL DBMS and is integrated in popular video platforms like Reddit and Kodi.