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
yalh76 791d2c9bad
Merge pull request #160 from YunoHost-Apps/testing
Removing some package_check upgrade
2020-03-22 23:13:26 +01:00
conf Upgrade to 2.1.1 2020-02-27 19:39:06 +01:00
scripts Applying example_ynh 2020-02-23 19:42:08 +01:00
.travis.yml Adding automations 2019-05-22 17:55:10 +02:00
check_process Removing some package_check upgrade 2020-03-21 14:46:28 +01:00
LICENSE commits to make the app in working state 2017-12-11 09:58:25 +05:30
manifest.json Upgrade to 2.1.1 2020-02-27 19:39:06 +01:00
pull_request_template.md Update pull_request_template.md 2019-06-13 23:52:30 +02:00
README.md Upgrade to 2.1.1 2020-02-27 19:39:06 +01:00

PeerTube app for YunoHost

Integration level
Install PeerTube with YunoHost

Overview

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.

Shipped version: 2.1.1

Important points to read before installing

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

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

  3. Admin username is : root.

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

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

  6. 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
    
  7. This app is multi-instance (you can have more then one PeerTube instance running on a YunoHost server)

  8. If you are hosted on OVH virtual machine or experiencing gyp ERR! configure error, please switch to ovh_fix

Screenshots

Demo

Want to see in action?

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

Documentation

YunoHost specific features

Supported architectures

  • x86-64b - Build Status
  • ARMv8-A - Build Status

Developers info

Please do 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