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!

  • DABDA@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    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