Live data from Hacker News

Show HN: YouTube-DL GUI Powered by Electron

github.com

11–20 of 142 posts

Re: Show HN: YouTube-DL GUI Powered by Electron

#11
post #8

Suggestion to author: allow pasting and downloading more than one link at a time, and selecting audio/video + desired formats. Suggestion to everyone else: learn the CLI. Then you can do things like me last night. My wife collected a list of classical music videos she wants to play to our kid, and all I did was: youtube-dl -x --audio-format "mp3" --audio-quality 0 -o "%(title)s.%(ext)s" -a music.txt to get the whole…

> To preempt comments saying CLI is too hard for regular people: no, it isn't;

It is.

Re: Show HN: YouTube-DL GUI Powered by Electron

#13
post #6

Side note: as a daily user, youtube-dl is such a fantastic piece of software. It's one of those tools which, once you have it, you wonder how you lived before.

Agreed! But sometimes going to the CLI everytime is annoying which is in part why I wanted to build a GUI for it :)

Interesting, since I always have at least one terminal open, but opening an Electron app takes 5-10 seconds.

Re: Show HN: YouTube-DL GUI Powered by Electron

#14
post #9

For me I think the best UI for YT-DL would be in the context menu in Firefox. This is where I am most often when I see stuff I want to use it on and while I always already have a terminal window open, it would be nice not to have to switch windows. I already have a few different configs and aliases for getting stuff in the forms I really want. All I need is an even easier way to pass the URL in and trigger the downlo…

Yup. Me too! Did someone make something like this? The alternative I'm considering is a script for my WM that essentially does "CTRL+L, delay 500ms, CTRL+C, append to a rolling 'to yt-download' list file".

I'm always weary about having timers in a script, because it often turns out to not be the correct amount. What about something like:

- bookmark url in a specific "YouTube-dl" folder

- watch tht folder from a daemon

- when the folder changes, do the stuff automatically

I'm sure there's a way to read bookmarks from outside the browser ?

Re: Show HN: YouTube-DL GUI Powered by Electron

#16
post #9

For me I think the best UI for YT-DL would be in the context menu in Firefox. This is where I am most often when I see stuff I want to use it on and while I always already have a terminal window open, it would be nice not to have to switch windows. I already have a few different configs and aliases for getting stuff in the forms I really want. All I need is an even easier way to pass the URL in and trigger the downlo…

Most solutions I've seen to this require some kind of external daemon to be running that takes care of launching ytdl for you (since most web browsers don't allow extensions to run arbitrary commands.)

Firefox _does_ have support for running this daemon-like-thing for you using Native messaging[0] though.

youtube-dl-firefox-addon[1] seems to employ this, so perhaps give that one a try?

[0] https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...

[1] https://github.com/akhilkedia/youtube-dl-firefox-addon

Re: Show HN: YouTube-DL GUI Powered by Electron

#20
post #9

For me I think the best UI for YT-DL would be in the context menu in Firefox. This is where I am most often when I see stuff I want to use it on and while I always already have a terminal window open, it would be nice not to have to switch windows. I already have a few different configs and aliases for getting stuff in the forms I really want. All I need is an even easier way to pass the URL in and trigger the downlo…

This level of integration is possible with another browser and normal youtube-dl: qutebrowser.
Post reply on HN