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

Selfhosted

39980 readers
477 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 1 year ago
MODERATORS
49
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

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!

all 10 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 11 months ago (2 children)

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.

[–] [email protected] 3 points 11 months ago

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

[–] [email protected] 2 points 11 months ago (1 children)

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?

[–] [email protected] 3 points 11 months ago (1 children)

I don't think it monitors stuff consistently, or if it does, I don't know how to utilize it.

YouTubeDL-Material supports playlists and subscriptions.

[–] [email protected] 3 points 11 months ago

I was using tubesync for awhile. It would download once a day iirc. Just throwing that out there if anyone wanted that.

This seems more on par with my use though.

[–] [email protected] 7 points 11 months ago

marcobaobao/yt-dlp-webui

[–] [email protected] 5 points 11 months 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

[–] [email protected] -2 points 11 months ago