+ enabled: true
+ threads: 1
+ resolutions: # Only created if the original video has a higher resolution, uses more storage!
+ 240p: false
+ 360p: false
+ 480p: false
+ 720p: false
+ 1080p: false
+
+import:
+ # Add ability for your users to import remote videos (from YouTube, torrent...)
+ videos:
+ http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html
+ enabled: false
+ torrent: # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file)
+ enabled: false
+
+# Instance settings
+instance:
+ name: 'PeerTube'
+ short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.'
+ description: '' # Support markdown
+ terms: '' # Support markdown
+ default_client_route: '/videos/trending'
+ # By default, "do_not_list" or "blur" or "display" NSFW videos
+ # Could be overridden per user with a setting
+ default_nsfw_policy: 'do_not_list'
+ customizations:
+ javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
+ css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime
+ # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:'
+ robots: |
+ User-agent: *
+ Disallow: ''
+ # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.
+ securitytxt:
+ "# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube\nContact: mailto:"
+
+services:
+ # Cards configuration to format video in Twitter
+ twitter:
+ username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published
+ # If true, a video player will be embedded in the Twitter feed on PeerTube video share
+ # If false, we use an image link card that will redirect on your PeerTube instance
+ # Test on https://cards-dev.twitter.com/validator to see if you are whitelisted
+ whitelisted: false