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
21Y

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

Create a post

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.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 15 users / day
  • 50 users / week
  • 209 users / month
  • 840 users / 6 months
  • 1 subscriber
  • 1.46K Posts
  • 8.4K Comments
  • Modlog