PeerTube

Last updated
PeerTube
Developer(s) Framasoft
Initial release11 October 2018;
6 years ago
 (2018-10-11)
Stable release
7.0.0 [1]   OOjs UI icon edit-ltr-progressive.svg / 17 December 2024;
2 days ago
 (17 December 2024)
Repository github.com/Chocobozzz/PeerTube
Written in TypeScript, HTML, CSS, SQL
Operating system Unix-like
Platform Web
Size 2.49 MB (tar.xz), 30.70 MB (zip)
Available in28 languages [2]
License AGPLv3+ [3]
Website joinpeertube.org OOjs UI icon edit-ltr-progressive.svg

PeerTube is a free and open-source, decentralized, ActivityPub federated video platform. It can use peer-to-peer technology to reduce load on individual servers when videos get popular.

Contents

Started in 2017 by a programmer known as Chocobozzz, development of PeerTube is now supported by the French non-profit Framasoft. [4] The aim is to provide an alternative to centralized platforms such as YouTube, Vimeo, and Dailymotion.

As an ActivityPub platform, it is part of the federated network known as the Fediverse.

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 (e.g. allowing for similar content, requiring registration) can form federations, where they follow one's videos, even though each video is stored only by the instance that published it. [5] Federations are independent from each other [6] [7] and asymmetrical: one instance can follow another to display their videos without them having to do the same. Instances' administrators can each choose to mirror individual videos or whole friend instances, creating an incentive to build communities of shared bandwidth.

Videos are made available via HTTP to download, but playback favors a peer-to-peer playback using HLS and WebRTC P2P. [8] Users connected to the platform act as relay points that send pieces of video to other users, [9] lessening the bandwidth of each to the server and thus allowing smaller hardware to operate at a lower cost.

Origins and history

Sepia, PeerTube's mascot Sepia.svg
Sepia, PeerTube's mascot

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. [10] He was contacted in 2017 by Framasoft, which had a campaign called Contributopia, [11] 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 KissKissBankBank which raised €53,100 — more than double the initial goal of €20,000. [12] [4]

The first beta of PeerTube was released in March 2018 [13] and the first stable version in October 2018. In June 2018, only a few months after the first beta, 113 instances [14] are publicly available on the web that together host more than 10,000 videos. [15] [16]

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

In May 2020, Framasoft published a roadmap of the software for the later half of the year and created a fundraising campaign requiring €60,000 for aiding the development. [18] Five months later (in October 2020), PeerTube announced that they reached their fundraising goal of €60,000 after a €10,000 donation from Debian. [19] [20] Throughout the later half of 2020, PeerTube has added features such as global search, improved playlists, and more moderation tools.

End 2020, the meta-search engine Sepia Search was launched by Framasoft, allowing a global search on all PeerTube instances at once. To-date (2021) Sepia Search totalises close to 800 individual instances.

In January 2021, Framasoft announced the release of PeerTube v3.0 with the help of the successful fundraising campaign. [21] The release highlighted peer-to-peer live streaming as the major feature of the release.

On April, the 28th of 2022, the European Data Protection Supervisor (EDPS) launched the official ActivityPub video platform EU Video of the EU institutions, bodies and agencies (EUIs), based on PeerTube. [22]

Technology

Video introducing PeerTube

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. [17] [23]

The software relies on the PostgreSQL DBMS.

Unofficial PeerTube video playback integrations exist for popular platforms like Reddit [24] and Kodi. [25]

See also

Related Research Articles

<span class="mw-page-title-main">Peer-to-peer</span> Type of decentralized and distributed network architecture

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, forming a peer-to-peer network of nodes. In addition, a personal area network (PAN) is also in nature a type of decentralized peer-to-peer network typically between two devices.

Uploading refers to transmitting data from one computer system to another through means of a network. Common methods of uploading include: uploading via web browsers, FTP clients, and terminals (SCP/SFTP). Uploading can be used in the context of clients that send files to a central server. While uploading can also be defined in the context of sending files between distributed clients, such as with a peer-to-peer (P2P) file-sharing protocol like BitTorrent, the term file sharing is more often used in this case. Moving files within a computer system, as opposed to over a network, is called file copying.

<span class="mw-page-title-main">Distributed hash table</span> Decentralized distributed system with lookup service

A distributed hash table (DHT) is a distributed system that provides a lookup service similar to a hash table. Key–value pairs are stored in a DHT, and any participating node can efficiently retrieve the value associated with a given key. The main advantage of a DHT is that nodes can be added or removed with minimum work around re-distributing keys. Keys are unique identifiers which map to particular values, which in turn can be anything from addresses, to documents, to arbitrary data. Responsibility for maintaining the mapping from keys to values is distributed among the nodes, in such a way that a change in the set of participants causes a minimal amount of disruption. This allows a DHT to scale to extremely large numbers of nodes and to handle continual node arrivals, departures, and failures.

BitTorrent, also referred to simply as torrent, is a communication protocol for peer-to-peer file sharing (P2P), which enables users to distribute data and electronic files over the Internet in a decentralized manner. The protocol is developed and maintained by Rainberry, Inc., and was first released in 2001.

An anonymous P2P communication system is a peer-to-peer distributed application in which the nodes, which are used to share resources, or participants are anonymous or pseudonymous. Anonymity of participants is usually achieved by special routing overlay networks that hide the physical location of each node from other participants.

<span class="mw-page-title-main">Darknet</span> Private network where connections are made only between trusted peers

A darknet or dark net is an overlay network within the Internet that can only be accessed with specific software, configurations, or authorization, and often uses a unique customized communication protocol. Two typical darknet types are social networks, and anonymity proxy networks such as Tor via an anonymized series of connections.

BitTorrent is a proprietary adware BitTorrent client developed by Bram Cohen and Rainberry, Inc. used for uploading and downloading files via the BitTorrent protocol. BitTorrent was the first client written for the protocol. It is often nicknamed Mainline by developers denoting its official origins. Since version 6.0 the BitTorrent client has been a rebranded version of μTorrent. As a result, it is no longer open source. It is currently available for Microsoft Windows, Mac, Linux, iOS and Android. There are currently two versions of the software, "BitTorrent Classic" which inherits the historical version numbering, and "BitTorrent Web", which uses its own version numbering.

<span class="mw-page-title-main">P2PTV</span> Video distribution method

P2PTV refers to peer-to-peer (P2P) software applications designed to redistribute video streams in real time on a P2P network; the distributed video streams are typically TV channels from all over the world but may also come from other sources. The draw to these applications is significant because they have the potential to make any TV channel globally available by any individual feeding the stream into the network where each peer joining to watch the video is a relay to other peer viewers, allowing a scalable distribution among a large audience with no incremental cost for the source.

<span class="mw-page-title-main">Tribler</span> Peer-to-peer filesharing software and protocol

Tribler is an open source decentralized BitTorrent client which allows anonymous peer-to-peer by default. Tribler is based on the BitTorrent protocol and uses an overlay network for content searching. Due to this overlay network, Tribler does not require an external website or indexing service to discover content. The user interface of Tribler is very basic and focused on ease of use instead of diversity of features. Tribler is available for Linux, Windows, and OS X.

In the BitTorrent file distribution system, a torrent file or meta-info file is a computer file that contains metadata about files and folders to be distributed, and usually also a list of the network locations of trackers, which are computers that help participants in the system find each other and form efficient distribution groups called swarms. Torrent files are normally named with the extension .torrent.

Distributed social network projects generally develop software, protocols, or both.

<span class="mw-page-title-main">Twister (software)</span> Decentralized microblogging software

Twister is a decentralized and experimental peer-to-peer microblogging program which uses end-to-end encryption to safeguard communications. Based on BitTorrent and Bitcoin-like protocols, it has been likened to a distributed version of Twitter.

<span class="mw-page-title-main">InterPlanetary File System</span> Content-addressable, peer-to-peer hypermedia distribution protocol

The InterPlanetary File System (IPFS) is a protocol, hypermedia and file sharing peer-to-peer network for storing and sharing data in a distributed hash table. By using content addressing, IPFS uniquely identifies each file in a global namespace that connects IPFS hosts, creating a resilient system of file storage and sharing.

<span class="mw-page-title-main">ZeroNet</span> Peer to peer web hosting

ZeroNet is a decentralized web-like network of peer-to-peer users, created by Tamas Kocsis in 2015, programming for the network was based in Budapest, Hungary; is built in Python; and is fully open source. Instead of having an IP address, sites are identified by a public key. The private key allows the owner of a site to sign and publish changes, which propagate through the network. Sites can be accessed through an ordinary web browser when using the ZeroNet application, which acts as a local webhost for such pages. In addition to using bitcoin cryptography, ZeroNet uses trackers from the BitTorrent network to negotiate connections between peers. ZeroNet is not anonymous by default, but it supports routing traffic through the Tor network.

<span class="mw-page-title-main">Framasoft</span> French free software organisation

Framasoft is an education-oriented social network created in November 2001 by Alexis Kauffmann, Paul Lunetta, and Georges Silva. Since 2014, it has been supported by a nonprofit organization of the same name based in Lyon, France. Mainly focused on free software valorisation, it is divided into three main branches of activity based upon a collaborative model: promotion, dissemination, and development of free software, enrichment of the free culture movement, and online services.

<span class="mw-page-title-main">WebTorrent</span> Peer-to-peer web-based torrent client

WebTorrent is a peer-to-peer (P2P) streaming torrent client written in JavaScript, from the same author, Feross Aboukhadijeh, of 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.

<span class="mw-page-title-main">Fediverse</span> Network of federated social media platforms

The Fediverse is a collection of social networking services that can communicate with each other using a common protocol. Users of different websites can send and receive status updates, multimedia files and other data across the network. The term Fediverse is a portmanteau of "federation" and "universe".

<span class="mw-page-title-main">Pixelfed</span> Open source photo-sharing platform

Pixelfed is a free and open-source image sharing social network service. The platform uses a decentralized architecture which is roughly comparable to e-mail providers, meaning user data is not stored on one central server. It uses the ActivityPub protocol, allowing users to interact with other social networks within the protocol, such as Mastodon, PeerTube, and Friendica. Pixelfed and other platforms utilizing this protocol are considered to be part of the Fediverse.

<span class="mw-page-title-main">Sepia Search</span> Search engine for PeerTube videos

Sepia Search is a video search engine for PeerTube. It is developed by the French non-profit organisation Framasoft.

<span class="mw-page-title-main">Mobilizon</span> Open source event planning software

Mobilizon is an open source software for event planning and group management, launched in October 2020 by Framasoft to offer a free alternative to the platforms of GAFAM. Mobilizon gained much visibility in hacker circles relatively fast, but also soon within cultural scene in Europe and more recently in the mainstream IT media.

References

  1. . 17 December 2024 https://github.com/Chocobozzz/PeerTube/releases/tag/v7.0.0 . Retrieved 18 December 2024.{{cite web}}: Missing or empty |title= (help)
  2. "Framasoft's Weblate PeerTube Project". weblate.framasoft.org. Archived from the original on 2021-01-22. Retrieved 2021-02-07.
  3. "Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.: Chocobozzz/PeerTube". June 30, 2019. Archived from the original on January 7, 2021. Retrieved June 19, 2018 via GitHub.
  4. 1 2 Framasoft, Association (2018-10-15). "PeerTube 1.0: the free/libre and federated video platform". Framablog. Archived from the original on 2018-10-17. Retrieved 2019-05-23.
  5. Kwet, Michael. "To fix social media, we need to introduce digital socialism". www.aljazeera.com. Archived from the original on 2022-04-07. Retrieved 2022-04-28.
  6. Noisette, Thierry (2018-07-23). "PeerTube : l'hébergement libre de vidéos est sur les rails". ZDNet France (in French). Archived from the original on 2019-05-31. Retrieved 2019-06-25.
  7. Lion, Bastien (2018-07-09). "PeerTube, le " YouTube décentralisé ", réussit son financement participatif". Le Monde (in French). Archived from the original on 2021-03-06. Retrieved 2019-06-25.
  8. Pouhiou, Pouhiou (2023-10-23). "03 Campagne 2023 EN - PTv6". Framablog. Retrieved 2024-12-08.
  9. Verge, Pauline (2018-03-30). "PeerTube, une tentative d'alternative française et décentralisée à YouTube". Le Figaro (in French). Archived from the original on 2018-03-30. Retrieved 2019-06-25.
  10. "PeerTube, une tentative d'alternative française et décentralisée à YouTube". FIGARO. March 30, 2018. Archived from the original on March 30, 2018. Retrieved June 21, 2018.
  11. Framasoft, Association (October 9, 2017). "Contributopia : dégoogliser ne suffit pas". Framablog. Archived from the original on July 9, 2018. Retrieved June 20, 2018.
  12. KissKissBankBank. "PeerTube, a free and federated video platform". KissKissBankBank. Archived from the original on 2018-06-24. Retrieved 2019-05-23.
  13. "PeerTube : le " YouTube décentralisé " passe en bêta publique". www.nextinpact.com. March 27, 2018. Archived from the original on June 21, 2018. Retrieved June 21, 2018.
  14. "Après YouTube… PeerTube ? Déjà des centaines d'instances !". www.linformaticien.com. Archived from the original on 2018-06-21. Retrieved 2018-06-21.
  15. "PeerTube instances". instances.joinpeertube.org. Archived from the original on 2018-05-28. Retrieved 2019-05-23.
  16. "PeerTube(LIVE)". peertube.live. Archived from the original on 2019-03-29. Retrieved 2019-05-23.
  17. 1 2 Foundation, Blender. "YouTube Blocks Blender Videos Worldwide". blender.org. Archived from the original on 2018-06-24. Retrieved 2018-06-21.
  18. "Our plans for PeerTube v3 : progressive fundraising, live streaming coming next fall". Framablog. 26 May 2020. Archived from the original on 2021-01-10. Retrieved 2021-01-10.
  19. "PeerTube (@peertube@framapiaf.org)". Framapiaf (in French). Archived from the original on 2020-10-26. Retrieved 2020-10-24.
  20. "Debian donation for PeerTube development - Bits from the Debian Project". Debian Project. October 21, 2020. Archived from the original on 2020-10-27. Retrieved 2020-10-31.
  21. "PeerTube v3: it's a live, a liiiiive!". Framablog. 7 January 2021. Archived from the original on 2021-01-10. Retrieved 2021-01-10.
  22. EDPS launches pilot phase of two social media platforms Archived 2022-05-22 at the Wayback Machine (press release).
  23. "PeerTube: A 'Censorship' Resistent(sic) YouTube Alternative". TorrentFreak. 2018-06-23. Archived from the original on 2018-07-04. Retrieved 2019-05-23.
  24. "Add peertube by aliceinwire · Pull Request #5065 · honestbleeps/Reddit-Enhancement-Suite". GitHub. Archived from the original on 2020-11-12. Retrieved 2019-05-23.
  25. "Cyrille Bollu / plugin.video.peertube". GitLab. Archived from the original on 2019-10-04. Retrieved 2019-05-23.