1
0
Derivar 0
Ir para o ficheiro
Simon Vieille f19d361d38 Mise à jour de 'scripts/install' 2019-04-26 17:05:06 +02:00
conf Update app.src 2019-02-18 19:08:09 +01:00
scripts Mise à jour de 'scripts/install' 2019-04-26 17:05:06 +02:00
LICENSE commits to make the app in working state 2017-12-11 09:58:25 +05:30
README.md Merge pull request #77 from liberodark/patch-1 2019-03-08 13:03:11 +05:30
check_process Improve manifest and check_process 2018-03-30 15:38:49 +02:00
manifest.json Update manifest.json 2019-02-18 19:07:04 +01:00

README.md

PeerTube app for YunoHost

Integration level
Install Peertube with YunoHost

Shipped Version: 1.2.1

What is Peertube ?

PeerTube is a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser, using WebTorrent.

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 doesnt need much money to broadcast the videos of its users.

Demonstration

Want to see in action?

  • Here are the list of instances ran by people around the world. Be a part of it.

Installation

Guidelines

  1. Require dedicated domain like peertube.domain.tld.

  2. No LDAP support (blocked until Peertube core upstream implements it)

  3. URL can not be changed once selected. Choose the domain wisely.

  4. You need more then 1GB 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
    
  5. This app is multi-instance (you can have more then one Peertube instance running on a YunoHost server)

Installing guide

  1. App can be installed by YunoHost admin web-interface or by running following command:

     $ sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh
    
  2. Admin username is : root.

  3. Admin password will be sent to the email address given at the time of the installation.

  4. TLS and starttls are disabled for the outgoing mails. If you intent to use email address not hosted on your local server,it's advised to have a proper SMTP configured with tls and starttls settings by editing /var/www/peertube/config/production.yml.

Update Guide

  1. App can be updated by YunoHost admin web-interface or with the following command**:

      $ sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/peertube_ynh peertube
    

Dependencies

  • NodeJS, PostgreSQL.
  • On Debian Jessie,backport is added for the ffmpeg package.

LICENSE

PeerTube is licensed under the GNU Affero General Public License v3.0.