1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
Federated (ActivityPub) video streaming platform using P2P for YunoHost
Find a file
2023-03-27 19:11:55 +02:00
.github [autopatch] Upgrade auto-updater 2023-02-23 23:38:57 +01:00
conf Upgrade to v5.1.0 2023-03-22 06:07:30 +00:00
doc Add files via upload 2022-12-19 17:59:57 +01:00
scripts Update scripts/upgrade 2022-12-21 22:00:36 +01:00
check_process Update check_process 2022-08-01 19:51:33 +02:00
LICENSE commits to make the app in working state 2017-12-11 09:58:25 +05:30
manifest.json Upgrade to v5.1.0 2023-03-22 06:07:30 +00:00
README.md Auto-update README 2023-03-22 06:07:38 +00:00
README_fr.md Auto-update README 2023-03-22 06:07:38 +00:00

PeerTube for YunoHost

Integration level Working status Maintenance status

Install PeerTube with YunoHost

Lire ce readme en français.

This package allows you to install PeerTube quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser, using WebTorrent.

Shipped version: 5.1.0~ynh1

Demo: http://peertube.cpy.re

Screenshots

Screenshot of PeerTube

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.

So we need to have a decentralized network of servers seeding videos (as Hubzilla YunoHost, Friendica YunoHost,Mastodon YunoHost), Diaspora (Diaspora YunoHost),Funkwhale (Funkwhale YunoHost). 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, we can make P2P (thus BitTorrent) inside the web browser, as of today.

Why is that cool?

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.

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.

IMPORTANT POINT TO READ BEFORE INSTALLING

  • 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.

      $ dd if=/dev/zero of=/swapfile bs=1024 count=1048576
      $ mkswap /swapfile
      $ swapon /swapfile
      $ echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
    
  • 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

  • HTTP auth is not supported

  • Do not modify the /var/www/<app>/conf/production.yaml file, because it will be overridden in the next upgrade. Please instead either change them though the web interface or create a /var/www/<app>/conf/local.yaml file, assign it the same owner, group and rights than for conf/production.yaml and fill there your specific settings.

    • Note: when the same option have different values in production.yaml and local.yaml files, only the value in local.yaml is taken into account.

PLUGINS

  • LDAP auth is supported, LDAP configuration will be sent to the email address given at the time of the installation.
  • PeerTube plugin livechat is installed with Prosody. To enable, just select «Prosody server controlled by Peertube» as chat mode in the plugin configutation of the PeerTube admin page
  • During install, because of Prosody, Metronome is disabled

Documentation and resources

Developer info

Please send your pull request to the testing branch.

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

More info regarding app packaging: https://yunohost.org/packaging_apps