Live data from Hacker News

A cross-platform GUI for YouTube-dl

github.com

31–40 of 156 posts

Re: A cross-platform GUI for YouTube-dl

#32
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.

XML based UIs already exist with GtkBuilder and QtQuick(?). Although, your idea is more complex than that.

Re: A cross-platform GUI for YouTube-dl

#33
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.

That sounds like Gooey: https://github.com/chriskiehl/Gooey, which creates GUIs for Python cli apps.

Autogenerated based on the args, but configurable and the widgets and menus can be defined in JSON.

Re: A cross-platform GUI for YouTube-dl

#35
post #31

Many in here don't understand why you need this if it's a CLI app which obviously means you could probably monetise this and earn a living from it.

If it’s monetized, I doubt many users would get it. There’s already many web based YouTube downloaders (that are free); Just Google “download youtube”. Sure, youtube-dl supports a hell of a lot more than just YouTube, but not everyone knows that.

Re: A cross-platform GUI for YouTube-dl

#36
post #14

I had so much hope when I saw "cross-platform", finally a youtube downloader my parents can use on their 8 year old laptops. But alas, it's just electron. I guess they'll continue to use Newpipe on their phones, which has been working very well. Edit: I just realised that my comment is a bit on the meaner side. While I absolutely detest the current trend of Electron apps I also realise that the ecosystem doesn't have…

Electron apps run just fine on my 8 year old laptop. So long as there's only a couple of them at a time, mind you.

Re: A cross-platform GUI for YouTube-dl

#37
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.

Not JSON, but related: Kaptain.

https://github.com/mviereck/kaptain

Re: A cross-platform GUI for YouTube-dl

#38
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.

That sounds like Gooey: https://github.com/chriskiehl/Gooey , which creates GUIs for Python cli apps. Autogenerated based on the args, but configurable and the widgets and menus can be defined in JSON.

Gooey is a great northern star to follow, but this hypothetical app should work with any command-line app.

Idea would be to define UI structure that outputs (and executes) essentially a string (command) to run.

Re: A cross-platform GUI for YouTube-dl

#39
post #37
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.

Not JSON, but related: Kaptain. https://github.com/mviereck/kaptain

This is cool! Syntax might scare off many developers, I think one of the goals should be approachability, it should be super easy to transform your favorite command-line app into a GUI.

Re: A cross-platform GUI for YouTube-dl

#40
post #14

I had so much hope when I saw "cross-platform", finally a youtube downloader my parents can use on their 8 year old laptops. But alas, it's just electron. I guess they'll continue to use Newpipe on their phones, which has been working very well. Edit: I just realised that my comment is a bit on the meaner side. While I absolutely detest the current trend of Electron apps I also realise that the ecosystem doesn't have…

Newpipe has been working well? Throttling issues. Takes too much time to load. Video is black for a few seconds when changing to full screen. Comments don't load sometimes. Only comment loads sometimes. It is fundamentally broken.
Post reply on HN