PeerTube/README.md

203 lines
9.9 KiB
Markdown
Raw Permalink Normal View History

2016-07-21 08:24:18 +00:00
<h1 align="center">
2018-10-02 13:13:17 +00:00
<a href="https://joinpeertube.org">
<img src="https://joinpeertube.org/img/brand.png" alt="PeerTube">
</a>
2016-07-21 08:24:18 +00:00
</h1>
2015-06-09 15:41:40 +00:00
2018-10-02 13:13:17 +00:00
<p align=center>
<strong><a href="https://joinpeertube.org">Website</a></strong>
2021-05-11 12:23:49 +00:00
| <strong><a href="https://joinpeertube.org/instances">Join an instance</a></strong>
2021-11-25 14:04:58 +00:00
| <strong><a href="https://github.com/Chocobozzz/PeerTube/blob/develop/README.md#package-create-your-own-instance">Create an instance</a></strong>
| <strong><a href="https://github.com/Chocobozzz/PeerTube/blob/develop/README.md#contact">Chat with us</a></strong>
| <strong><a href="https://framasoft.org/en/#soutenir">Donate</a></strong>
2018-10-02 13:13:17 +00:00
</p>
<p align="center">
Be part of a network of multiple small federated, interoperable video hosting providers. Follow video creators and create videos. No vendor lock-in. All on a platform that is community-owned and ad-free.
</p>
2018-12-13 16:12:39 +00:00
<p align="center">
<strong>Developed with &#10084; by <a href="https://framasoft.org">Framasoft</a></strong>
</p>
<p align="center">
<a href="https://framasoft.org">
<img width="150px" src="https://lutim.cpy.re/FeRgHH8r.png" alt="Framasoft logo"/>
2018-12-13 16:12:39 +00:00
</a>
</p>
2016-07-21 08:24:18 +00:00
<p align="center">
<strong>Client</strong>
2016-04-30 06:56:21 +00:00
2016-07-21 08:24:18 +00:00
<br />
2015-06-09 15:41:40 +00:00
2021-09-02 06:57:59 +00:00
<a href="https://automate.browserstack.com/public-build/ZEZqamJQUXFQd1l3cFp3QmxLSVVwdjBGZjNGc3J2M09INFpka296em9VYz0tLUowWVdoemxkY1hBOU9aZzNlY1htZ3c9PQ==--68e0184ce76481d36559d681d9cddc68235ff536">
<img src="https://automate.browserstack.com/badge.svg?badge_key=ZEZqamJQUXFQd1l3cFp3QmxLSVVwdjBGZjNGc3J2M09INFpka296em9VYz0tLUowWVdoemxkY1hBOU9aZzNlY1htZ3c9PQ==--68e0184ce76481d36559d681d9cddc68235ff536"/>
2018-05-17 14:33:20 +00:00
</a>
refresh nginx config and optimize delivery (#3313) refactors the Nginx configuration for the following points: - update tls version to include 1.3 by default. so far it was not included by default to make room for previous versions of Nginx, but since 2018 Debian stable has included Nginx in version 1.14.1, and tls 1.3 is available since Nginx 1.13.0. - clearly indicate that new minimum required version. - update outdated ssl_ciphers to remove cipher required to support android 4.4, since that version is unsupported since March 2020. - reordered configuration in sections for easier maintenance: performance optimizations are separated from the vital application/websocket parts. - move parts that always require manual configuration at the top: peertube host and server name, use server_name - move peertube host to a more flexible upstream block: it allows to configure it in one place instead of 3, and is future-proof regarding load-balancing. - simplified port 80 block: Let’s Encrypt supports 301 redirects. - group certificate-related config together. - remove reslover config: it defaults to /etc/resolv.conf which is more than enough. - align values with their neighbors for easier reading - always specify units - always specify default values when they differ from the values set - use ’m’ for minutes, ’M’ for megabytes - add consensual optimizations wrt file serving: - add timeout optimizations - add file descriptor cache optimizations - enable sendfile with chunk size > rate limit - enable threading - tcp optimizations - point to further, more system-specific optimizations in the section description - CDN configuration reduced to one line change
2020-11-16 18:16:49 +00:00
<a href="https://weblate.framasoft.org/projects/peertube/angular/">
<img src="https://weblate.framasoft.org/widgets/peertube/-/angular/svg-badge.svg"/>
</a>
2016-07-21 08:24:18 +00:00
</p>
<p align="center">
<strong>Server</strong>
<br />
<a href="https://github.com/Chocobozzz/PeerTube/actions?query=workflow%3A%22Test+Suite%22+branch%3Adevelop">
<img alt="test suite status" src="https://github.com/Chocobozzz/PeerTube/workflows/Test%20Suite/badge.svg" />
2016-07-21 08:24:18 +00:00
</a>
<a href="https://standardjs.com/">
2016-07-21 09:56:38 +00:00
<img src="https://img.shields.io/badge/code%20style-standard-brightgreen.svg" alt="JavaScript Style Guide" />
2016-07-21 08:24:18 +00:00
</a>
</p>
2016-05-11 18:01:01 +00:00
2016-07-21 09:56:38 +00:00
<br />
<p align="center">
2018-10-12 08:14:03 +00:00
<a href="https://framatube.org/videos/watch/217eefeb-883d-45be-b7fc-a788ad8507d3">
<img src="https://lutim.cpy.re/9CLXh0Ys.png" alt="screenshot" />
2016-07-21 09:56:38 +00:00
</a>
</p>
Introduction
----------------------------------------------------------------
2020-04-14 13:01:40 +00:00
PeerTube is a free, decentralized and federated video platform developed as an alternative to other platforms that centralize our data and attention, such as YouTube, Dailymotion or Vimeo. :clapper:
2021-05-11 12:23:49 +00:00
To learn more:
* This [two-minute video](https://framatube.org/videos/watch/217eefeb-883d-45be-b7fc-a788ad8507d3) (hosted on PeerTube) explaining what PeerTube is and how it works
* PeerTube's project homepage, [joinpeertube.org](https://joinpeertube.org)
* Demonstration instances:
2021-05-11 12:23:49 +00:00
* [peertube.cpy.re](https://peertube.cpy.re) (stable)
* [peertube2.cpy.re](https://peertube2.cpy.re) (Nightly)
* [peertube3.cpy.re](https://peertube3.cpy.re) (RC)
* This [video](https://peertube.cpy.re/videos/watch/da2b08d4-a242-4170-b32a-4ec8cbdca701) demonstrating the communication between PeerTube and [Mastodon](https://github.com/tootsuite/mastodon) (a decentralized Twitter alternative)
2018-10-02 23:35:41 +00:00
:sparkles: Features
2018-10-02 13:13:17 +00:00
----------------------------------------------------------------
2021-05-11 12:23:49 +00:00
<p align=center>
<strong><a href="https://joinpeertube.org/faq#what-are-the-peertube-features-for-viewers">All features for viewers</a></strong>
| <strong><a href="https://joinpeertube.org/faq#what-are-the-peertube-features-for-content-creators">All features for content creators</a></strong>
| <strong><a href="https://joinpeertube.org/faq#what-are-the-peertube-features-for-administrators">All features for administrators</a></strong>
</p>
2018-10-02 23:35:41 +00:00
<img src="https://lutim.cpy.re/AHbctLjn.png" align="left" height="300px"/>
<h3 align="left">Video streaming, even in live!</h3>
2018-10-02 23:35:41 +00:00
<p align="left">
Just upload your videos, and be sure they will stream anywhere. Add a description, some tags and your video will be discoverable by the entire video fediverse, not just your instance. You can even embed a player on your favorite website!
</p>
<p align="left">
You are used to hosting live events? We got you covered too! Start livestreaming from your favorite client, and even host permanent streams!
</p>
2018-10-02 23:35:41 +00:00
---
<img src="https://lutim.cpy.re/cxWccUK7.png" align="right" height="200px"/>
<h3 align="right">Keep in touch with video creators</h3>
<p align="right">
Follow your favorite channels from PeerTube or really any other place. No need to have an account on the instance you watched a video to follow its author, you can do all of that from the Fediverse (Mastodon, Pleroma, and plenty others), or just with good ol' RSS.
2018-10-02 23:35:41 +00:00
</p>
---
<img src="https://lutim.cpy.re/K07EhFbt.png" align="left" height="200px"/>
<h3 align="left">An interface to call home</h3>
<p align="left">
Be it as a user or an instance administrator, you can decide what your experience will be like. Don't like the colors? They are easy to change. Don't want to list videos of an instance but let your users subscribe to them? Don't like the regular web client? All of that can be changed, and much more. No UX dark pattern, no mining your data, no video recommendation bullshit™.
</p>
---
<h3 align="right">Communities that help each other</h3>
<p align="right">
In addition to visitors using P2P with WebRTC to share the load among them, instances can help each other by caching one another's videos. This way even small instances have a way to show content to a wider audience, as they will be shouldered by friend instances (more about that in our <a href="https://docs.joinpeertube.org/contribute/architecture#redundancy-between-instances">redundancy guide</a>).
2018-10-02 23:35:41 +00:00
</p>
<p align="right">
2023-02-22 13:40:56 +00:00
Content creators can get help from their viewers in the simplest way possible: a support button showing a message linking to their donation accounts or really anything else. No more pay-per-view and advertisements that hurt visitors and alter creativity (more about that in our <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/FAQ.md">FAQ</a>).
2018-10-02 23:35:41 +00:00
</p>
2021-05-11 12:23:49 +00:00
:raised_hands: Contributing
----------------------------------------------------------------
You don't need to be a programmer to help!
You can give us your feedback, report bugs, help us translate PeerTube, write documentation, and more. Check out the [contributing
2019-11-13 08:12:09 +00:00
guide](https://github.com/Chocobozzz/PeerTube/blob/develop/.github/CONTRIBUTING.md) to know how, it takes less than 2 minutes to get started. :wink:
You can also join the cheerful bunch that makes our community:
* Chat<a name="contact"></a>:
* Matrix (bridged on IRC and [Discord](https://discord.gg/wj8DDUT)) : **[#peertube:matrix.org](https://matrix.to/#/#peertube:matrix.org)**
* IRC : **[#peertube on irc.libera.chat:6697](https://web.libera.chat/#peertube)**
* Forum:
* Framacolibri: [https://framacolibri.org/c/peertube](https://framacolibri.org/c/peertube)
2020-05-12 10:07:54 +00:00
Feel free to reach out if you have any questions or ideas! :speech_balloon:
2018-10-02 13:13:17 +00:00
:package: Create your own instance
----------------------------------------------------------------
2021-05-02 19:15:48 +00:00
See the [production guide](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md), which is the recommended way to install or upgrade PeerTube. For hardware requirements, see [Should I have a big server to run PeerTube?](https://joinpeertube.org/faq#should-i-have-a-big-server-to-run-peertube) in the FAQ.
2023-02-22 15:15:14 +00:00
See the [community packages](https://docs.joinpeertube.org/install/unofficial), which cover various platforms (including [YunoHost](https://install-app.yunohost.org/?app=peertube) and [Docker](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/docker.md)).
2018-10-02 13:13:17 +00:00
:book: Documentation
----------------------------------------------------------------
2016-07-22 09:45:48 +00:00
2021-05-02 19:15:48 +00:00
If you have a question, please try to find the answer in the [FAQ](https://joinpeertube.org/faq) first.
2018-10-02 13:13:17 +00:00
### User documentation
2016-07-22 09:45:48 +00:00
2023-02-22 15:15:14 +00:00
See the [user documentation](https://docs.joinpeertube.org/use/setup-account).
2018-01-24 11:02:38 +00:00
2018-10-02 13:13:17 +00:00
### Admin documentation
2018-04-17 09:11:25 +00:00
2019-11-13 08:14:14 +00:00
See [how to create your own instance](https://github.com/Chocobozzz/PeerTube/blob/develop/README.md#package-create-your-own-instance).
2018-01-24 11:02:38 +00:00
2023-02-22 15:15:14 +00:00
See the more general [admin documentation](https://docs.joinpeertube.org/admin/following-instances).
2018-01-24 11:02:38 +00:00
2020-04-14 12:36:23 +00:00
### Tools documentation
2023-02-22 15:15:14 +00:00
Learn how to import/upload videos from CLI or admin your PeerTube instance with the [tools documentation](https://docs.joinpeertube.org/maintain/tools).
2018-10-02 13:13:17 +00:00
### Technical documentation
2018-03-07 10:36:42 +00:00
2023-02-22 15:15:14 +00:00
See the [architecture blueprint](https://docs.joinpeertube.org/contribute/architecture) for a more detailed explanation of the architectural choices.
2015-06-09 15:41:40 +00:00
See our REST API documentation:
* OpenAPI 3.0.0 schema: [/support/doc/api/openapi.yaml](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/api/openapi.yaml)
2023-04-21 13:03:36 +00:00
* Spec explorer: [docs.joinpeertube.org/api-rest-reference.html](https://docs.joinpeertube.org/api-rest-reference.html)
2018-03-22 07:55:40 +00:00
2023-02-22 15:15:14 +00:00
See our [ActivityPub documentation](https://docs.joinpeertube.org/api/activitypub).
2018-10-02 13:13:17 +00:00
2018-03-22 07:55:40 +00:00
## License
2022-04-08 09:19:43 +00:00
### Logo
[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/), by [Framasoft](https://framasoft.org)
### Code
2024-02-16 07:58:29 +00:00
Copyright (C) 2015-2024 PeerTube Contributors (see [CREDITS.md](/CREDITS.md))
2018-03-22 07:55:40 +00:00
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
2020-05-12 10:07:54 +00:00
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
2018-03-22 07:55:40 +00:00
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.