Is there something I can use to fetch and serve YouTube videos locally? reddit / selfhosted ---------------------------------------------------------------------- Last-Clue-2137 · 2023-11-24 10:19 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. Is there anything similar out there? ---------------------------------------------------------------------- Xenthys · 2023-11-24 10:28 You definitely want to check out [Tube Archivist](https://www.tubearchivist.com/), which does everything you want. They recently added non-admin accounts, perfect for your kids so they don't break it. ---------------------------------------------------------------------- killermenpl · 2023-11-24 10:55 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). ---------------------------------------------------------------------- Kended · 2023-11-24 11:21 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. 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. ---------------------------------------------------------------------- Murky-Sector · 2023-11-24 12:49 Sure. I do this with yt-dlp + plex. ---------------------------------------------------------------------- bciu55 · 2023-11-24 13:28 I use yt-dlp & jellyfin for this exact purpose. Navigate to the channel you want, then click on the playlists link, this way it breaks the channel into consumable chunks. I use the naming options as channel/playlist/video title. I have yet to solve for pictures to automatically be pulled at the channel level. I also took some of my plex media libraries and split them out. Now in jellyfin I have their yt channels, TV shows, and movies curated on their tablets. I also have the directories shared with plex as every other device I have was already setup with plex and can see the same media. ---------------------------------------------------------------------- t_i_b · 2023-11-24 13:59 I use ytdl-sub, based on yt-dlp, it does what you need : download from a youtube channel/playlist and add it to jellyfin/plex/kodi as TV show. ​ https://github.com/jmbannon/ytdl-sub ---------------------------------------------------------------------- PhuriousGeorge · 2023-11-24 14:21 Tube Archivist also has plugins to make using Plex and JellyFin integration easier ---------------------------------------------------------------------- Jonteponte71 · 2023-11-24 16:04 Tube Archivist. It’s perfect for that. Your kids don’t even need to know Youtube exists. I just installed it and imported years of downloaded YT videos. The search engine find everything in milliseconds! ---------------------------------------------------------------------- Top_Outlandishness78 · 2023-11-24 18:30 Metube+jellyfin ---------------------------------------------------------------------- Symnet · 2023-11-24 20:12 [https://github.com/bennyclams/untube](https://github.com/bennyclams/u ntube) requires infrastructure but allows you to download youtube and non youtube videos ---------------------------------------------------------------------- laserdicks · 2023-11-25 03:30 Tubesync is pretty good ---------------------------------------------------------------------- Gel0_F · 2023-11-25 04:33 Podsync (https://github.com/mxpv/podsync). Although it designed to support podcast apps it configurable to download videos too. ---------------------------------------------------------------------- tpwn3r · 2023-11-25 07:26 someone posted this a bit earlier today i think. https://github.com/horahoradev/PrometheusTube ---------------------------------------------------------------------- Wdrussell1 · 2023-11-25 08:50 If it were not 3 containers with some silly setup I would check it out. Not sure why they couldn't be just one container. ---------------------------------------------------------------------- lilolalu · 2023-11-25 10:15 I don't know how much configurable invidious is in terms of allow- listing content, but unless you want to locally cache the content you want them to see, I guess that's the way to go https://github.com/iv-org/invidious ---------------------------------------------------------------------- Xenthys · 2023-11-25 12:08 I wouldn't trust a developer putting ElasticSearch and Redis in the same container as their application, but to each their own. They provide a Docker Compose file so it's not like setting it up was any more difficult than having a single container. ---------------------------------------------------------------------- Wdrussell1 · 2023-11-25 12:10 It is much more difficult..... Troubleshooting why it doesn't work is literally now troubleshooting 3 different containers. While a single container I can look at the whole app in one place and not try to figure out why they are not communicating. ---------------------------------------------------------------------- [deleted] · 2023-11-28 20:47 [deleted]