Live data from Hacker News

A cross-platform GUI for YouTube-dl

github.com

91–100 of 156 posts

Re: A cross-platform GUI for YouTube-dl

#92
post #48

Earlier quoted context omitted.

I've been asking HN for this some time ago: https://news.ycombinator.com/item?id=27820141 Also see: https://news.ycombinator.com/item?id=28461133

It seems to me that a lot of these projects aim to deliver really "good" apps: native UI, table output, etc… Results are great, but the UI building complexity also becomes quite high. I think that's the wrong goal. The goal should be really simple definitions and ok quality apps. Simple JSON (or XML, don't care). { control: checkbox, flag: c, label: "Compile" }

[deleted]

Re: A cross-platform GUI for YouTube-dl

#94
post #30

An idea that anyone is free to take: JSON-definable UI for command-line apps. Define checkboxes for flags, inputs for arguments, buttons for commands and file pickers / droppable wells for file input. Allow some customization of layout of these elements. Have in-app "store" to download these JSON definitions, maybe even suggest them based on `which` output. Electron app, obviously.

You have to define the behavour of your UI elements as well as their placement, at which point you're writing a program. The best language to write a program in is a Turing-complete programming language specially designed for that task, not some cobbled together UI-definition language with ad hoc add-ons to processing.

HTML is the only successful really cross-platform GUI system (text console, text-to-speak, Win, Mac, Lin, Android, iOS, Symbian, embedded, etc.) created so far.

Re: A cross-platform GUI for YouTube-dl

#95
post #28

Earlier quoted context omitted.

I think it's matter of usability and taste. As a programmer who uses CLI applications daily I still find GUI applications far superior to those tasks for which I don't have the CLI commands imprinted in my tactile memory. And I forget any CLI functions I don't use daily reaaallly fast.

$ man foo Now tell me where the swipe-from-the-left and swipe-from-the-right and pull-down-from-the-top and long-press and double-tap and trippple-tap and pinch vertically and pinch horizontally and triple-finger tap for "modern" apps are documented?

I think we must be using different apps.

For example - re-encoding a movie file. I'm 100% sure it's much faster for me to type " hand " to start Handbrake, click open, paste the path to the file to the file dialog, and click convert, than figure out how to use ffmpeg command line.

Re: A cross-platform GUI for YouTube-dl

#96
post #75

Earlier quoted context omitted.

I just don't get these kind of comments. This person's javascript knowledge enabled him to develop this multi-platform app, it looks and feels great and does its job. Yes, it uses a lot of memory (140mb by just opening it) but how long does this stay actually open? You download some videos and close it in a few minutes. It's not a persistent use case like a chat client. youtube-dl is a 10 year old project. Where are…

And I don't get how you can be so defensive about Electron. It's technically inferior to literally any native solution such as wxwidgets or Qt. RAM usage, CPU cycles, Hard drive space... it's such a disrespectful stance on computing resources.

> it's such a disrespectful stance on computing resources

If it lets somebody accomplish something productive they wouldn't have had the time/expertise to do otherwise, then it's the best possible use of computing resources there could be.

Computing resources are a means to an end. Not an end.

Re: A cross-platform GUI for YouTube-dl

#97
post #85

Earlier quoted context omitted.

You have to define the behavour of your UI elements as well as their placement, at which point you're writing a program. The best language to write a program in is a Turing-complete programming language specially designed for that task, not some cobbled together UI-definition language with ad hoc add-ons to processing.

The best clothes are hand-tailored specifically to fit your body. And yet, most people wear mass-produced clothes.

Well yes but to continue the metaphor almost nobody wears barrels

Re: A cross-platform GUI for YouTube-dl

#98
post #61

WOW - 100MB download for Mac! However, once I installed it, it ran really well. Interface is smooth and nice.

That's electron for you. You can make some nice stuff in it but you're essentially downloading chromium and running a web app locally when using electron with the same downsides and upsides.

Re: A cross-platform GUI for YouTube-dl

#99
post #80

Another self-hostable option that runs as a server (and you access with a browser): https://github.com/alexta69/metube

I was just about to ask about something like this! I looked at the page but couldn’t figure out if this allows you to watch the downloaded videos in the browser as well, does anyone know or if there is another docker/web app for that?

Well I could imagine running Jellyfin[0] next to this? Hooking up both programs to point to the same folder would probably get you pretty close to what you want

[0]: https://jellyfin.org/

Re: A cross-platform GUI for YouTube-dl

#100
post #87
post #50

I built my own personal version where it runs in the background and automatically downloads stuff I like (I highly curate my likes) or send to select playlists. Too often I go through my favorites and see deleted videos so I just cooked up something one weekend. I have an entire hard drive dedicated as an offline archive where I can playback at anytime, search the library and it even alerts me if any video or audio I…

Could you share the code for this? It looks great! I built my own to browse large video collections: Video Hub App https://videohubapp.com/ MIT open source: https://github.com/whyboris/Video-Hub-App

No plans to share yet as it's a mess tbh and it's nothing special, your version seems way more advanced. Regarding the look, I just wanted a bit more control over my UI which I styled with tailwind, this is also an older screenshot, looks a lot better now.
Post reply on HN