Web interface for yt-dlp?

CaptainBlagbird@lemmy.world to Selfhosted@lemmy.world – 48 points –

What's a good way to have a simple self hosted (in Docker would be nice) web interface for starting yt-dlp jobs?

Preferably, I would like to have pre-defined yt-dlp commands and in the interface I can just add an URL and select which command to chose.

I know I could also use JDownloader or other tools to download the media, but I specifically would like to use yt-dlp because I have multiple use case commands already defined.

Thanks for the help!

9

I like MeTube. It can download from a ton of sources, not just YouTube.

I use it all the time to rip videos from tiktok or Instagram whenever my friends share something with me, since I don't use those services.

Thanks, this looks promising, especially the YTDL_OPTIONS variable. I'll give it a try

Nice, I think switching to this. If I made yt playlist would it download it automatically each time I add a video to the playlist?

I whipped up a basic page with PHP and just used XAMPP when I was on Windows. I recently switched my daily driver pc to linux and haven't updated it yet. I only used it to save MP3s, videos at yt-dlp default "best available" settings, and a custom option that lists available video/audio formats where I can specify the ID to grab of each. No validation or sanity checking etc, just some switch statements and basic form functions.

main page

custom selection