DOMAIN: 'https://lbry.projectsegfau.lt' PORT: '3550' FIBER_PREFORK: false # Optional: Set address to bind to, example: 127.0.0.1 ADDRESS: '' # Running a custom API server is not recommended and is not suitable for a public instance API_URL: 'https://api.na-backend.odysee.com/api/v1/proxy' # Block access to claims in case of DMCA BLOCKED_CLAIMS: - claimId # AUTH_TOKEN and HMAC_KEY is automatically generated AUTH_TOKEN: '{{librarian_auth_token}}' HMAC_KEY: '{{librarian_hmac_key}}' # Create IMAGE_CACHE_DIR before enabling image caching IMAGE_CACHE: false IMAGE_CACHE_DIR: '/var/cache/librarian' IMAGE_CACHE_CLEANUP_INTERVAL: 24h # The next 2 options will proxy video data through the instance. # This will cause increased bandwidth usage. # ENABLE_STREAM_PROXY proxies videos and ENABLE_LIVESTREAM enables livestreams. ENABLE_STREAM_PROXY: true ENABLE_LIVESTREAM: true # Set custom SponsorBlock URL (with https://github.com/mchangrh/sb-mirror or other) SPONSORBLOCK_URL: 'https://sponsor.ajay.app' # Advanced: Custom video streaming endpoint VIDEO_STREAMING_URL: 'https://proxy.lbry.projectsegfau.lt/stream' # Rewrite links to other frontends. example: https://yt.domain.tld FRONTEND: youtube: 'https://invidious.projectsegfau.lt' twitter: 'https://nitter.projectsegfau.lt' imgur: 'https://rimgo.projectsegfau.lt' instagram: '' tiktok: '' reddit: 'https://libreddit.projectsegfau.lt' # Default instance settings DEFAULT_SETTINGS: theme: 'dark' # system, light, dark relatedVideos: true nsfw: false autoplay: false speed: '1' # 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2, 4 quality: '0' # 0 - Auto, 144 - 144p, 360 - 360p, 720 - 720p, 1080 - 1080p sponsorblock: sponsor: true selfpromo: true interaction: true intro: false outro: false preview: false filler_tangent: false # Instance privacy: This is required to get your instance listed. For more info, # See: https://codeberg.org/librarian/librarian/wiki/Instance-privacy INSTANCE_PRIVACY: # This is the default if you are using NGINX and have not disabled data collection. # Read https://codeberg.org/librarian/librarian/wiki/Instance-privacy DATA_NOT_COLLECTED: true DATA_COLLECTED_IP: true DATA_COLLECTED_URL: true DATA_COLLECTED_DEVICE: true DATA_COLLECTED_DIAGNOSTIC_ONLY: false {% if inventory_hostname == 'eu' %} INSTANCE_COUNTRY: "Luxembourg" INSTANCE_PROVIDER: "BuyVM" {% else if inventory_hostname == 'us' %} INSTANCE_COUNTRY: "United States" INSTANCE_PROVIDER: "Digital Ocean" {% else if inventory_hostname == 'in' %} INSTANCE_COUNTRY: "India" INSTANCE_PROVIDER: "Bharti Airtel" {% endif %} # Cloudflare use is discouraged. You can set this to false if it is not proxied (gray cloud icon) INSTANCE_CLOUDFLARE: false # Optional: Explain your usage of data (if collected) and how it is stored. MESSAGE: "" # Link to your privacy policy, leave blank if you don't have one. PRIVACY_POLICY: "https://projectsegfau.lt/legal/privacy-policy"