this post was submitted on 27 Nov 2023
49 points (98.0% liked)

Selfhosted

40653 readers
236 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.

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!

founded 2 years ago
MODERATORS
49
Web interface for yt-dlp? (self.selfhosted)
submitted 1 year ago* (last edited 1 year ago) by CaptainBlagbird to c/selfhosted
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] DABDA 5 points 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