Skip to main content

Logo PeerTube

About

PeerTube is an activityPub-federated video streaming platform using P2P directly in your web browser.

Customization

Use the File manager to edit custom configuration under /app/data/production.yaml.

CLI

The CLI can be accessed using the peertube-cli command. You can view the various commands in the PeerTube docs.

Uploading video

Bash
peertube-cli up --file /tmp/video.wmv --url https://peertube.cloudron.club --username root --password changeme --video-name "sample video"
Uploading Sample video video...
Video Sample video uploaded.

Housekeeping

Not all scripts are exposed via the peertube cli. The app comes with various extra housekeeping scripts which can be run via npm:

gosu cloudron:cloudron npm run prune-storage

To list all available commands run npm run. Run those with caution and ideally create a backup first, some are purging data.

Disable P2P

If playback is slow, it might be a good idea to disable the P2P functionality. For this, use the file File manager to edit /app/data/production.yaml and set tracker to false.

production.yaml
tracker:
# If you disable the tracker, you disable the P2P aspect of PeerTube
enabled: false