- Clone this repository to any directory.
- Open
config
. - Change
URL
to whatever base URL you're hosting from. The feed will be athttp://$URL/$feedname/feed.rss
. - Change
uptime
depending on how often you want to check for new videos (interval resets at midnight). - Edit
documentroot
with wherever yours is.
- To use, run
run-updates.sh
(orsudo ./run-updates.sh
) in a terminal window and leave it open. Or, if you actually know what you're doing and know a better way to leave it running constantly, do that instead.
- To create a feed, run
setup.sh feedname
-
You will be asked to provide the url and a title for your feed.
-
If you don't want to download all of a channel's old videos, then do
cd feedname youtube-dl --get-ids channel-url > archive
-
You may have to add
root/feedname
to your apache2 conf. -
Repeat the above for every feed.
- setup.sh creates new feeds.
- update.sh downloads new uploads and adds them to the RSS feed.
- run-updates.sh will run
update.sh
on all of the feeds periodically throughout the day.
No.
No. I wrote this in a day, and I suck. I'm confident you can figure this out.