OSS Tanbou

PeerTube — decentralize video hosting with ActivityPub federation and WebRTC P2P delivery

OSS health 100
About these scores

Discovery score is an unbounded weighted, log-compressed index of stars, watchers, forks, and contributors. Growth momentum is its change over the observed period; OSS health is a 0–100 score from available repository recency, Community Health, and release data.

Stars
15,314
Primary language
TypeScript
License
AGPL-3.0
Repository last updated
Sep 15, 2026

Overview

PeerTube is a decentralized video hosting and streaming platform developed by Framasoft. Independent operators run their own instances while federating through ActivityPub, with VOD, live streaming, embeddable players, RSS, and follows from the wider Fediverse. WebRTC P2P between viewers and redundancy between instances can distribute delivery load. The latest stable release is v8.3.0, published September 15, 2026.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Federate independent instances with ActivityPub and extend channels into the wider Fediverse

PeerTube is not one central service: independent video hosting providers interoperate as a federation. Published videos can carry descriptions and tags and become discoverable across the video fediverse, not only on the origin instance.

Viewers can follow channels from PeerTube as well as ActivityPub-compatible services such as Mastodon or Pleroma. RSS provides another subscription path, so discovery and following are not locked to one website.

Sources: [2]

Cover VOD, live streaming, embeds, and APIs in one video-publishing platform

Alongside normal video uploads, PeerTube supports live and permanent streams and embeddable players. Administrators can customize the interface and decide how content from other instances is listed or subscribed to.

For integrations, the project publishes an OpenAPI schema for its REST API and ActivityPub documentation, giving custom clients and operational tooling stable extension surfaces.

Sources: [2]

Use WebRTC P2P and inter-instance caching to spread delivery load beyond the origin

Viewers can exchange video data through WebRTC P2P, reducing the bandwidth concentrated on the server during concurrent viewing. Friendly instances can also cache one another's videos as a redundancy mechanism.

Neither mechanism eliminates origin infrastructure or storage. Effectiveness depends on peer participation, NAT and network conditions, and redundancy configuration, so bandwidth and storage still need to be sized for expected viewers and bitrates.

Sources: [2][4]

For communities, education, and independent media that want local governance plus federation

PeerTube fits teams that want to operate a video service per organization or community while still connecting discovery and subscriptions to other PeerTube instances and the Fediverse. It is especially relevant when operators want control over publishing policy, interface, and federation boundaries rather than dependence on one advertising platform or vendor.

Video self-hosting is infrastructure-heavy: plan for FFmpeg, PostgreSQL, Redis, Nginx, storage, and bandwidth

The v8.3.0 dependency guide requires Node.js 22 LTS, pnpm 10+, PostgreSQL 14+, Redis 6.2+, FFmpeg 4.3+, and related system software. The production guide explicitly advises against production deployment behind a low-bandwidth connection.

Transcoding consumes CPU while video media, thumbnails, torrents/HLS, and caches consume storage. A public deployment also needs TLS, reverse proxying, backups, monitoring, SMTP, and capacity management as part of normal video-service operations.

Sources: [5][4]

Upgrading to v8.3.0 requires a manual post-start migration in addition to database migrations

The v8.3.0 release notes warn that startup migrations can take several minutes on databases with many local or federated videos, so operators should plan a short period of downtime.

After the database migration completes and PeerTube is running, an 8.3-specific migration script must also be executed manually. Backups and upgrade rehearsal matter, and plugins or clients that use changed APIs should be included in regression testing.

Sources: [3]

Federation expands reach but also requires explicit inter-instance and moderation policy

Administrators can tune whether videos from another instance are listed while still allowing users to subscribe to them. A decentralized topology does not remove governance work: operators still decide which instances to federate with and which remote content appears locally.

For public communities, terms of use, abuse handling, remote-content policy, and follow/block rules should be designed alongside the technical federation settings.

Sources: [2]

AGPL-3.0 applies; modified network deployments should review source-availability obligations

PeerTube code is published under GNU Affero General Public License v3.0 or later. The AGPL is designed to preserve source availability when modified software is offered as a network service.

The compliance questions differ between running the unmodified project and operating a public fork with custom changes, so organizations maintaining modified deployments should review the AGPL terms before launch.

Sources: [2][6]

Official sources

  1. [1]Chocobozzz/PeerTube — GitHub repository metadata(2026-09-16)
  2. [2]PeerTube v8.3.0 — README(2026-09-16)
  3. [3]PeerTube v8.3.0 release notes(2026-09-16)
  4. [4]PeerTube v8.3.0 — Production guide(2026-09-16)
  5. [5]PeerTube v8.3.0 — Dependencies(2026-09-16)
  6. [6]PeerTube v8.3.0 — GNU AGPL v3 license(2026-09-16)
Supplemental curator note

PeerTube is easiest to evaluate as three layers rather than as a YouTube clone: an independently operated video server, ActivityPub federation, and P2P-assisted delivery. Start with a public instance to understand federation, then size transcoding, storage, egress, moderation, and upgrades separately for self-hosting.

Try it in 3 steps

  1. 1

    Get the source

    git clone --depth 1 https://github.com/Chocobozzz/PeerTube.git
  2. 2

    Enter the repository

    cd PeerTube
  3. 3

    Check the official steps

    Continue with the commands in the README Installation, Quick Start, or Getting Started section.

    find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Check the official README

Growth

Growth trends · Last 30 days

15,314 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
174
Open PRs
11

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • video
  • decentralized
  • p2p
  • angular
  • activitypub
Stars
15,314
Forks
1,844
Watchers
334
Open issues
679
Primary language
TypeScript
License
AGPL-3.0
Repository last updated
Sep 15, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

PeerTube — ActivityPub Federation, P2P, and Self-Hosted Video | OSS Tanbou