12/12/2023

Mobile App, redesign, new dev, promotion... let’s build a bright future for PeerTube!

Developing an ethical and emancipating alternative to YouTube, Twitch or Vimeo without Surveillance Capitalism’s means is a huge undertaking. Especially for a small French not-for-profit that already manages several projects to promote digital commons.

🦆 VS 😈: Let's take back some ground from the tech giants!

Thanks to your donations to our not-for-profit, Framasoft is taking action to advance the ethical, user-friendly web. Find a summary of our progress in 2023 on our Support Framasoft page.

➡️ Read the series of articles from this campaign (Nov. - Dec. 2023)

We (Bonjour! We are Framasoft!) have been developing PeerTube for six years. Two weeks after releasing the sixth version of the software, let’s take a step back on six years of work, examine the huge opportunity that the present times hold for PeerTube, and look towards what we plan to do next year to prepare for its success... if you give us the means to get there!

Click to support Framasoft and push back against the Yetube – Illustration CC-By David Revoy
Click to support Framasoft and push back against the Yetube – Illustration CC-By David Revoy

Not a rival, just an alternative

The realization that led us to develop PeerTube is that no one can rival YouTube or Twitch. You would need Google’s money, Amazon servers’ farms... Above all, you would need the greed to exploit millions of creators and videomakers, groom them into formatting their content to your needs, and feed them the crumbs of the wealth you gain by farming their audience into data livestock.

Monopolistic centralized video platforms can only be sustained by surveillance capitalism.

We wanted small groups such as institutions, educators, communities, artists, citizens, etc. to be able to afford to emancipate themselves from Big Tech’s platforms, without getting lost in the world wide web. We needed to develop a tool to democratize videohosting, so it had to be designed with radically different values in mind.

And that is what we did. We build PeerTube to empower people, not databases or shareholders.

Today, PeerTube is:

  • a Free-Libre software (transparency, protection against monopoly)
  • you can host on your server (self-hosting, autonomy, empowerment)
  • to create your video and livestream platform, with your own rules (community building, self-management)
  • that lets you federate (or not!) to other PeerTube platforms through ActivityPub protocol (federation, network, outreach)
  • that adds (optional) peer-to-peer streaming to classic streaming so it can withstand affluence (resilience, sharing, decentralization)
  • where more powerful servers can help less fortunate ones with redundancy (solidarity, resilience)
  • that can store videos externally with S3 storage (adaptability, cost-efficiency)
  • that can deport CPU-hungry tasks such as video or live transcoding to a dedicated server (efficiency, resilience, sustainability)

So no: PeerTube is not, and will not be a rival to YouTube or Twitch. PeerTube is powered by other values that those coded into Google’s and Amazon’s ecosystems. PeerTube is an alternative, and that’s exactly why this is so exciting.

Click to support Sepia – illustration David Revoy – licence: CC-By 4.0
Click to support Sepia – illustration David Revoy – licence: CC-By 4.0

PeerTube is a software: 6 years of developments

In the last six years, with more than 275 000 lines of code, we got:

  • From a POC to a fully operative federated video platform with p2p broadcasting, complete with subtitles, redundancy, video import, search tools and localization (PeerTube v1, oct. 2018)
  • Notifications, playlists, a plugin system, moderation tools, federation tools, a better video player, a presentation website and an instances index (PeerTube v2, nov. 2019)
  • Federated research tool (and a search engine https://sepiasearch.org), more moderation tools, lots of code improvement, UX revamping, and last but not least: p2p livestream (PeerTube v3, Jan. 2021)
  • Improved transcoding, channels and instances homepage customization, improved search, an even better video player, filtering videos on pages, advanced administration and moderation tools, new video management tool, and a big code cleaning session (PeerTube v4, Dec. 2021)
  • A video editing tool, improved video statistics and metrics display, replay feature for permanent livestreams, latency settings for lives, an improved video player (for mobile displays), a more powerful plugin system, more customization options, more video filtering options, a new and user friendly feedback tool and a renewed presentation website (PeerTube v5, Dec. 2022)
  • Account request moderation, « back to live » button, remote transcoding (to deport CPU hungry task on a dedicated server). storyboard (previews in the progress bar), video chapters, improved accessibility, upload a new version of a video, and password-protected videos. (PeerTube v6, Nov. 2023)

And that is just when you only consider the software development part of PeerTube. In order to support and promote this software, we had to build a whole ecosystem.

PeerTube is also an ecosystem

PeerTube, nowadays, is also a coding community. On the project forge (online space to contribute on developments), we’ve had more than 400 contributors, 4,300 issues (features and support requests) closed over 6 years and 500 still open, and 12,400 contributions integrated upstream.

As not anyone can familiarize themselves with more than 275 000 lines of code, an easy way to contribute to PeerTube is by developing plugins: there are hundreds of them! Among them, there are the live chat (to get a chat during livestreams), plugins to authenticate against external authentication platforms, annotations to add in the video player, a transcription plugin to automatically create subtitles for your videos or plugins to add monetization to PeerTube videos.

Contributors also helped by translating PeerTube into more than 36 languages (join them here), by providing answers on our forum, by updating our official documentation, or by sharing ideas on our Let’s Improve PeerTube feedback tool.

There are now more than a thousand PeerTube platforms all over the world (that we know of ^^), hosting almost a million videos. We created an instances index that feeds content to SepiaSearch, our search engine for PeerTube videos, channels and playlists. We moderate it according to our terms and conditions, but anyone is free to use the code we develop to create their own index and search engine.

Fortunately, others are working towards promoting and moderating PeerTube content, by creating directories [FR], recommendations threads, moderation tools, Firefox extensions, and all kinds of amazing content.

We promote PeerTube with an official website Joinpeertube.org, where the latest news are shared on the blog and the newsletter. There is also a mastodon account (and an -almost abandoned- account on Twitter). We also spend lots of hours talking to medias, researchers, innovators, communities, contributors, etc.

Fighting dragons with toothpicks

So, how can we estimate the cost of those 6 years of work? Should we just consider development time and the management of the development community (issues, code review, support)?

Should we also count the work done on blogposts, illustrations and promotion material, establishing roadmaps, working with designers, exchanging experience with researchers, videomakers, and amazing projects, some of which we supported with funds? What about the time for moderating our search engine or cleaning after spammers on our feedback tool?

Even though we cannot pinpoint the exact budget Framasoft spent on PeerTube since 2017, our conservative estimate would be around 500 000 €. Over six years. As we got two grants from the European commission (through the NGI0 Search & Discovery and Entrust programs) totaling 132 000 €, it means that 73,6 % of PeerTube budget came from donations.

Now let’s overestimate the cost of PeerTube to 600 000 € over 6 years, to make sure we covered every expense.

Even then, PeerTube total cost would represent 22 millionth (0.0022 %) of YouTube’s ad revenues last year. Yes, we did the math.

(source – 29.243 B USD // 632,853 USD)

We are – figuratively – fighting dragons with toothpicks. That’s why we think that PeerTube cannot and will not rival YouTube nor Twitch (and even less TikTok that presents a whole other experience).

But, as an alternative, PeerTube is already successful.

Click to support Sepia against the Videoraptor – illustration David Revoy – licence: CC-By 4.0
Click to support Sepia against the Videoraptor – illustration David Revoy – licence: CC-By 4.0

A success in our eyes

Today, we know of more than 1000 instances (servers on which PeerTube is installed and running), sharing almost a million videos.

As it is not limited by the captology mechanics of an ad-and-attention-based model, PeerTube offers features not available from tech giants:

  • compatibility with other social tools via ActivityPub (Imagine you could tweet a comment to a YouTube video: with Mastodon and PeerTube, you can.)
  • share a video from a start timecode to a stop timecode (YouTube has caught up with us, since)
  • untempered chronological access to your suscriptions feed (no need to « click the bell » in addition to subscribing)
  • password-protected videos (unavailable in YouTube, paid in Vimeo)
  • replace a video by an updated version

We intended to make PeerTube specifically for people that need (and want) to share their videos outside of the surveillance capitalism model. Obviously we all know (and like) some YouTubers and Twitch-streamers, but they are the visible part of the iceberg of online video sharing.

Institutions, Educators, Independent medias, Citizens, and even creators should have the freedom to share videos online without contributing to a company’s monopoly, having to accept forced advertisement, or sacrificing on their audience’s data and privacy. The great news is, some of them have already found such freedom, and it makes us proud:

We want to build on the recognition PeerTube is getting, that’s why we have planned a lot of work for 2024!

PeerTube’s roadmap for v7, in 2024

The features we have planned for the next year of development on PeerTube all have the same goal: facilite adoption by improving ease-of-use in several ways. As for version 6, most of those features has been chosen from the ideas you shared and voted for on our feedback tool.

We plan to:

  • Add a data export/import system (with or without video files), so users can easily change their instance.
  • Get a full accessibility audit, to facilitate use for people with specific needs, and complete the work done this year (see version 6 release). If we have time left on integrating the report’s recommandations, we will see if and how we could add speech-to-text transcription
  • Add a comment moderation tool usable for both instance administrators and video uploaders.
  • Create a new moderation tool to sort content according to preset keywords lists ( « far-right dogwhistling words in German », « queerphobic idioms in English », etc). This tool will present corresponding content to instance administrators and moderators, that will then determine if it fits their moderation policy.
  • (Technical) separation of audio and video streams. Such improvement will unlock the possibility, in the future, to develop and get multi-audio track videos (e.g. multiple langages), or multi-videos track with the same audio stream (e.g. multiple angles)
  • Add a new « audio-only » resolution (in the « 720p », « 1080p », etc. menu) for our HLS player. It will enable users to only get the audio track streamed to them, improving sustainability when they only want to listen to a video and look at other tabs.
  • Rethink the sensitive content characterization. At the moment, you can only tag videos as « Safe For Work » / « Not Safe For Work ». But « sensitive content » can imply lots of cases: violence, nudity, strong langage, etc. We will work with designers to think about the appropriate way to characterize and treat such cases.
  • Revamp the video management space. We have added lots of new features along the years (live and replay, studio editor, etc.)... it’s great, but tabs and menus accumulated. We will work with designers to rethink it from the ground up and make it easy-to-use.
  • Get a complete review and implement a redesign of the experience and interface of PeerTube. Even though we’ve had lots of help along the way, PeerTube has not benefited of guidance in design from the get-go. We want to think this work as a reboot, where everything (even the orange?) is on the table, if it helps with adoption and ease of use.

Hep us push back against the Videoraptor- Illustration CC-By David Revoy
Hep us push back against the Videoraptor- Illustration CC-By David Revoy

Doubling the dev team for resilience...

OK, when you go from one to two developers, « doubling » is easier... but it was still a big deal to us.

First, because Framasoft is a not-for-profit funded mainly by donations. So far, we’ve had the honor and privilege to get enough support to fund our expenses, the main being our 10 employees. But donation-based economics models are, by definition, highly unpredictable. That is especially true in an economy where inflation, energy costs, etc. make most of our supporters rethink their budget.

Another reason lies within our core value: we believe in decentralization and networks of small actors (over growing into giants and monopolies). We also believe that prioritizing humans and care implies to stay in a small team configuration, where we truly know each other.

And we think that the way we applied those values into our not-for-profit is key to the efficiency, the creativity and the talents expressed by our members (both volunteers and employees). That’s why we worked on limiting Framasoft’s growth, and had the symbolic limit of « ten employees tops ».

During 2022 and 2023, there were lots of discussions on this topic within Framasoft. On one hand, we can’t keep on developing PeerTube with only one developer (even though someone as talented as Chocobozzz), who could win the lottery, leave, or just change carriers. On the other hand, if we hired a new developer, what would be their profile? How can we make sure they would fit in? Can we secure a long lasting job for them?

In late 2022, Chocobozzz asked us to post an internship offer. It was both to test if, after 5 years coding solo on PeerTube, teamwork came back easily (it did) ; but also to train someone on PeerTube’s code core, see how it can be apprehended by newcomers, and how to improve its documentation.

Wicklow joined us for an internship between February and August 2023, and produced the « password protected video features » released in version 6 of PeerTube. We didn’t plan on hiring him: we had, then, other profiles in mind, and thought we wouldn’t be able to start a hiring process before 2024. We specifically told him so, as not to give him false hope... But as we benefited from a grant extension from NGI0 program, we also realized that he was a perfect fit in the project, for the team and in our not-for-profit.

Long story short: we hired Wicklow in September 2023, just as he graduated, on a one-year contract (that we hope to secure with your help!).

...and to create an iOS/Android mobile app!

This new hire has two goals. First and foremost, we want another developer to become familiar with PeerTube’s core code, and lessen the « bus factor » . Wicklow should also become gradually able to help Chocobozzz in managing the code community.

As the community grows (and we are very thankful), so does the managing workload: answering to issues and support requests on our forum, reviewing code contributions, etc. Even though being present for the community is important, it’s taking up to half of Chocobozzz’s time, and that means even less time to develop new features.

The second and main goal for Wicklow in 2024 would be, with the help of designers, to create and publish an official PeerTube mobile app. Mobile viewing has become the main way to watch videos. Even though there are already mobile apps that can play videos on PeerTube, we feel that an official app could help with PeerTube’s adoption and attractiveness.

For 2024, the app would be limited to finding and watching videos. We want users to be able to use a federated search engine, watch videos and livestreams, log in to their account on their PeerTube instance, access their notifications, subscriptions, playlists, etc. If successful, this first version of the app could be extended to other use-cases and features in the future.

Our plan is to publish this app both on iOS (pending Apple’s review, that can be tricky) and Android... and, as an extended goal (so « if all goes well »), on Android TV as well.

Sepia, PeerTube’s mascot, strong from your support – illustration David Revoy – licence: CC-By 4.0
Sepia, PeerTube’s mascot, strong from your support – illustration David Revoy – licence: CC-By 4.0

Promoting the PeerTube Ecosystem

PeerTube is more than code, and we want to shed a light on the incredible community that is thriving around this project.

We often see amazing plugins, interesting instances and channels, new initiatives and experimentations... that we would like to share. But we seldom have and take time to do so.

In the meantime, we also witness many people wondering if PeerTube allows livestream (it does!) if there is a chat for lives (yes: it’s a great plugin!), or if there are websites to find content on PeerTube (yes again!)

We plan to work on promoting PeerTube’s ecosystem, through the blog and newsletter on our website JoinPeerTube, our Mastodon account, and by working on a showcase Peer.tube instance.

To kick off this work, we will go live and answer all your questions about PeerTube during a livestream hosted by Laurens from the Fediverse Report blog and newsletter, on our Peer.Tube channel! You can already go on Mastodon and ask your questions with the #PeerTubeAMA hashtag.

This AMA (« Ask Me Anything ») will take place tomorrow, Dec 13th, from 6 to 8pm (CET), on this link.

Click on the image to get to the livestream
Click on the image to get to the livestream

(and if all goes well, we’ll publish the replay on the same channel)

Funded by you... and Europa!

As we stated sooner in this (long) blogpost, we were fortunate enough to get grants from the European Commission program NGI, through the NLnet foundation (many thanks to them!). The previous grants helped us fund a quarter of our six years of work on PeerTube. We are glad to announce that we got another grant for 2024, that will cover planned development costs.

It means that, as it was for 75 % of the work until now, funding the rest of our plans relies on donations. Communicating about PeerTube and its ecosystem, sharing experience with diverse actors, design costs, community support and management, etc. All those costs will be, as usual, funded by... some of you!

Our current donation campaign will determine Framasoft budget for 2024, and from its success we will know if we can secure a stable job for our second developer, while keep on all the other projects and actions that we take on.

Once again this year we need you, your support, your sharing, to help us regain ground on the toxic GAFAM web and multiply ethical digital spaces.

So we’ve asked David Revoy to help us present this on our « Support Framasoft » page, which we invite you to visit (because it’s beautiful) and above all to share as widely as possible:

If we are to balance our budget for 2024, we have three weeks to raise €138,659: we can’t do it without your help!