this post was submitted on 24 Nov 2023
8 points (100.0% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 2 years ago
MODERATORS
 

I am keeping my children away from Youtube, but there are plenty of educational videos that I would like to make available for them to view at their leisure. I would like something that works more or less like this:

  1. I add a youtube video url/playlist url/channel url
  2. It downloads the videos, possibly with metadata, and stores them locally.
  3. It serves them through a nice web interface.
  4. (optional) it syncs the channel content and keeps it up to date.

Is there anything similar out there?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

I don't know if you want a pretty UI for adding the videos/playlists/channels, but yt-dlp can do all that. You'd probably have to set up some kind of cron job for it. Then you can serve it via any of the available video players (I'm pretty sure Jellyfin has a youtube metadata addon).

[–] [email protected] 3 points 1 year ago

Yeah this would do the trick. I have a simple yt-dlp script setup that is set as a cron job. Everyday at 4:30 AM it checks a list of YouTube channels I have and downloads any new videos that channel has to a corresponding media directory that jellyfin has access to, keeping that channels content up to date.

This lets me easily set and forget my script, so now whenever I want to watch that channels video I can just open jellyfin, which stores all my media, not just YouTube, and view it from there.

It does eat up storage though on big channels, but if you got the space it’s not a big issue.