BetterVideoRss is a PHP script for generating YouTube channel and playlist RSS feeds using YouTube's Data API and RSS feeds.
Show/hide details
version: '3'
services:
app:
image: ghcr.io/verifiedjoseph/better-video-rss:1.8.4
container_name: BetterVideoRss
environment:
BVRSS_YOUTUBE_API_KEY: ''
BVRSS_SELF_URL_PATH: 'https://example.com/'
BVRSS_TIMEZONE: 'Europe/London'
ports:
- '127.0.0.1:8080:8080'
volumes:
- cache:/app/cache
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
volumes:
cache:
Show/hide install details
-
Download the latest release to your web server and extract the zip archive.
-
Configure the application using
config.php
copied fromconfig.example.php
.cp config.example.php config.php
Notes
The cache and vendor folders do not need to be reachable in the browser and access should blocked.
Environment variables are used to adjust the configuration. Alternatively, you can use config.php
(copied from config.example.php
).
Name | Type | Description |
---|---|---|
BVRSS_SELF_URL_PATH |
string |
Fully qualified URL used to access BetterVideoRss. |
BVRSS_YOUTUBE_API_KEY |
string |
YouTube API Key (developers.google.com) |
Name | Type | Default value | Description |
---|---|---|---|
BVRSS_TIMEZONE |
string |
UTC |
Timezone (php docs) |
BVRSS_DATE_FORMAT |
string |
F j, Y |
Date format (php docs) |
BVRSS_TIME_FORMAT |
string |
H:i |
Time format (php docs) |
BVRSS_CACHE_DIR |
string |
cache |
Cache directory path. |
BVRSS_DISABLE_CACHE |
boolean |
false |
Disables caching. |
BVRSS_ENABLE_CACHE_VIEWER |
boolean |
false |
Enables cache viewer. |
BVRSS_DISABLE_CSP |
boolean |
false |
Disables content security policy. |
BVRSS_RAW_API_ERRORS |
boolean |
false |
Enables displaying of raw API errors. |
All notable changes to this project are documented in the CHANGELOG.
MIT License. Please see LICENSE for more information.