Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.31 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.31 KB

Before first use

  • Clone this repository to any directory.
  • Open config.
  • Change URL to whatever base URL you're hosting from. The feed will be at http://$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

  • To use, run run-updates.sh (or sudo ./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

  • 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.

What the scripts do

  • 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.

FAQs

What is this crap? Do you know anything about code development?

No.

Can you help me troubleshoot this?

No. I wrote this in a day, and I suck. I'm confident you can figure this out.