1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
peertube_ynh/README.md

80 lines
4.4 KiB
Markdown
Raw Normal View History

2021-10-23 17:05:22 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2020-09-11 14:20:57 +02:00
# PeerTube for YunoHost
2018-03-23 20:23:12 +01:00
2020-06-01 03:40:44 +02:00
[![Integration level](https://dash.yunohost.org/integration/peertube.svg)](https://dash.yunohost.org/appci/app/peertube) ![](https://ci-apps.yunohost.org/ci/badges/peertube.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/peertube.maintain.svg)
2021-01-08 12:03:34 +01:00
[![Install PeerTube with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=peertube)
2018-05-08 00:50:15 +02:00
2020-09-24 14:10:56 +02:00
*[Lire ce readme en français.](./README_fr.md)*
2021-10-23 17:05:22 +02:00
> *This package allows you to install PeerTube quickly and simply on a YunoHost server.
2020-06-01 03:40:44 +02:00
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
2019-04-03 00:42:22 +02:00
## Overview
2021-10-23 17:05:22 +02:00
Video streaming platform using P2P directly in the web browser, connected to a federated network
2021-11-29 15:43:13 +01:00
**Shipped version:** 3.4.1~ynh2
2021-10-23 17:05:22 +02:00
**Demo:** http://peertube.cpy.re
## Screenshots
![](./doc/screenshots/screenshot1.png)
## Disclaimers / important information
### Why PeerTube?
We can't build a FOSS video streaming alternatives to YouTube, Dailymotion, Vimeo... with a centralized software. One organization alone cannot have enough money to pay bandwidth and video storage of its server.
2020-09-11 14:20:57 +02:00
So we need to have a decentralized network of servers seeding videos (as [Hubzilla YunoHost](https://github.com/YunoHost-Apps/hubzilla_ynh), [Friendica YunoHost](https://github.com/YunoHost-Apps/friendica_ynh),[Mastodon YunoHost](https://github.com/YunoHost-Apps/mastodon_ynh)), [Diaspora](https://github.com/diaspora/diaspora) ([Diaspora YunoHost](https://github.com/YunoHost-Apps/diaspora_ynh)),[Funkwhale](https://funkwhale.audio) ([Funkwhale YunoHost](https://github.com/YunoHost-Apps/funkwhale_ynh)).
2018-06-27 13:21:09 +02:00
But it's not enough because one video could become famous and overload the server.
It's the reason why we need to use a P2P protocol to limit the server load.
Thanks to [WebTorrent](https://github.com/feross/webtorrent), we can make P2P (thus BitTorrent) inside the web browser, as of today.
### Why is that cool?
2018-06-27 13:21:09 +02:00
Servers are run independently by different people and organizations. They can apply wildly different moderation policies, so you can find or make one that fits your taste perfectly.
2021-10-23 17:05:22 +02:00
By watching a video, you help the hosting provider to broadcast it by becoming a broadcaster of the video yourself. Each instance doesn't need much money to broadcast the videos of its users.
2019-07-14 18:42:44 +02:00
2021-10-23 17:05:22 +02:00
* Any known limitations, constrains or stuff not working, such as (but not limited to):
* Require **dedicated domain** like **peertube.domain.tld**.
* Admin username is: **root**.
* **Admin password and LDAP configuration** will be sent to the email address given at the time of the installation.
* URL can not be changed once selected. Choose the domain wisely.
* You need more then **1 GB** of RAM. If you don't have it, please create a **swap memory**.
2018-06-27 13:21:09 +02:00
$ dd if=/dev/zero of=/swapfile bs=1024 count=1048576
$ mkswap /swapfile
$ swapon /swapfile
$ echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
2020-09-24 14:10:56 +02:00
2021-10-23 17:05:22 +02:00
* This app is **multi-instance** (you can have more then one PeerTube instance running on a YunoHost server)
* **If you are hosted on OVH virtual machine or experiencing `gyp ERR! configure error`, please switch to [ovh_fix](https://github.com/YunoHost-Apps/peertube_ynh/tree/ovh_fix)**
* LDAP auth is supported, LDAP configuration will be sent to the email address given at the time of the installation.
* HTTP auth is not supported
2019-06-23 16:09:48 +02:00
2021-10-23 17:05:22 +02:00
## Documentation and resources
2021-10-23 17:05:22 +02:00
* Official app website: https://joinpeertube.org/fr/
* Official admin documentation: https://docs.joinpeertube.org/
* Upstream app code repository: https://github.com/Chocobozzz/PeerTube/
* YunoHost documentation for this app: https://yunohost.org/app_peertube
* Report a bug: https://github.com/YunoHost-Apps/peertube_ynh/issues
2019-04-03 00:42:22 +02:00
2020-09-11 14:20:57 +02:00
## Developer info
2019-04-03 00:42:22 +02:00
2020-06-01 03:40:44 +02:00
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/peertube_ynh/tree/testing).
2019-04-03 00:42:22 +02:00
To try the testing branch, please proceed like that.
```
sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh/tree/testing --debug
or
sudo yunohost app upgrade peertube -u https://github.com/YunoHost-Apps/peertube_ynh/tree/testing --debug
```
2021-10-23 17:05:22 +02:00
**More info regarding app packaging:** https://yunohost.org/packaging_apps