429 points · by ducktective · 5y ago · 151 comments
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
Chrome - https://chrome.google.com/webstore/detail/unhook-remove-yout...
FF - https://addons.mozilla.org/en-US/firefox/addon/youtube-recom...
Personally, I’m partial to the command line and to a lesser extent, TUIs, but I certainly understand building with whatever is most convenient and/or fun to the dev…especially on a personal project!
I don’t understand what you care for other people’s personal projects. Not everyone knows your favorite language.
Autogenerated based on the args, but configurable and the widgets and menus can be defined in JSON.
Idea would be to define UI structure that outputs (and executes) essentially a string (command) to run.
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.
And yet, most people wear mass-produced clothes.
Like it or not, the whole low code movement is about this.
Let's say your GUI has several input boxes. You want to validate those boxes. You need something Turing-complete to do this, because if it isn't Turing complete and the tool is used by lots of people, someone's GUI will require it.
> the whole low code movement is about this
That's OK provided you accept that it limits what can be done.
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" } <section name="Options"><checkbox flag="c" label="Compile" /></section>
It shouldn't be a hassle at all to convert a man page to a UI that speeds up actions and avoids common errors.Anyway, this idea is free, so feel free to take it and do whatever, even full HTML (:
The suggestion was a simplified subset of HTML.
I built a GUI-builder ages ago (in Python, compiling to Python which calls Tkinter to build the GUI). Here's a sample of what the UI-definition language looked like: https://github.com/cabalamat/parrot/blob/master/simple2.par
I'm definitely biased being a web dev but JSON is just so widely used and supported... seems ideal for small bits of config like this.
I think a better approach is to figure out how to make Electron more performant in the various OSes.
I haven't gotten into the internals of Electron, so I'm not the one to reflect on the approach, but seeing some of the improvements that MSFT made with Edge over Chrome in memory usage gives me hope that this is achievable, even if it doesn't happen immediately.
Back in the 1990's we faced a similar thing, where web "apps" were ugly and slow, and not as powerful as the desktop apps that many corporations had developed in C++ or VB or Delphi. Today of course, the situation is much different, and we use web apps all the time. I really truly believe that Electron (or perhaps a successor - like how VS Code superseded Atom) will not go away, and in the future we will be much happier with it.
MIT open source: https://github.com/whyboris/Video-Hub-App
The only “gotcha” is sometimes downloads fail and if you don’t know to check the logs (in the top menu) then that can get confusing for new users, but usually it’s something simple like you need to update the YouTube-dl core (also just done via the menu) or you chose a download format/resolution not supported for that video.
A sincere half is that technical users can't quite understand what less-technical users would appreciate.
The tongue in cheek half of "why not just..." will always smell a bit like the infamous comment discussing how DropBox doesn't provide value, since anyone could set the same kindof thing up themselves.
youtube-dl is a 10 year old project. Where are all the great qt gui-s for it?
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.
I get the hate at bad Electron apps but it’s also an unfair punching bag, IMHO. I would rather an app like this exist than not. And as a Mac user, I’d rather a good Electron app than some wxWidgets mess that still struggles with HiDPI in the year 2021, when every Mac I’ve owned since 2012 has had a high resolution display.
This is really a valid question (not just for youtube-dl but for chat apps as well)... I guess the answer is : Qt being LGPL and the abundance of front-end webdevs
I think the main reason is abundance of frontend devs and quick to start using Electron.
Everybody has things they are interested in and want to spend time on. But not everyone can do all of them.
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 any good options. QT can be okay if done right, but C++ is neither ideal nor approachable for Application development, especially for hobbyists.
https://github.com/user234683/youtube-local
It supports downloading all the raw formats (the video only ones, audio only ones, and the 360p & 720p integrated formats). More meant for watching than downloading, but some more advanced downloading features, such as merging audio+video with ffmpeg to get more downloadable qualities and auto-downloading options for playlists are planned.
If I had just a bit more time I might try to contribute. In fact, I might actually see if I can help with the replacement of the engine and then let the dev decide on how to implement some of the extra features.
There was a GUI for youtube-dl I liked but never could get to work called Get-It (https://github.com/Kevin-De-Koninck/Get-It), and with many people switching to the actively-maintained fork yt-dlp, I decided to try using that as a base for making a clone with the latter as a backend.
I don't know Swift at all but thought I'd try it out to see if I could, and it seems to work for the most part on my end. I also cleaned up random errors I found in the code (like a rogue youtube link to a Grand Theft Auto 5 video?) and made things a bit more consistent, or at least I'd like to think so. Changed the UI and added a toggle to block sponsorships from videos as well, but not totally sure if that works all that well yet.
I'd love if anyone would try it out and report any issues they run into, it's been fun trying to fix it up!
The last update added the ability to use yt-dlp instead of the mainline yt-dl
I think it is windows only though
Hope it gets fixed, good job!
"Download multiple videos/playlists/channels in one go"
If it were my own project and I had a few different views/features to show off in screenshots I might alternate them (assuming there were some differences, or light/dark themes). But I definitely wouldn't show three copies of the same thing to somehow emphasise 'works on Linux, Mac, and Windows, seelookproof'.
Also, the dev is looking at subbing youtube-dlp for youtube-dl, as it is more frequently updated and supported.
A part of me actually wishes for utilities like this GUI app and the underlying youtube-dl to stay a tad under the radar, only to avoid getting them blocked somehow by the powers-that-be...i know that is selfish because at the same time i do like for as many folks as possible to have access to all the cool tools (after all i love to spread the gospel of open source software)...but, man, youtube-dl (and by extension, anything else built on top of it) has been such an awesomely amazing thing that i never want it to go away or get blocked, etc. Sorry if that sounds mean; don't mean to be. :-)
EDIT: apparently luck plays a part. I stopped the download halfway. Then downloaded anew, and got 80 kb/s. Then canceled and restarted again, and then got 5 Mb/s...
A minor bug though: the "Open file" button is disabled, the "Show in folder" button just doesn't work. At least on my Office PC running Windows 10.
However, once I installed it, it ran really well. Interface is smooth and nice.
They all seems to be active to different degree(last commit is 2mth, 2w, 2d ago)? and not merging backing to each other?
Are you planning to support all options?
Ctrl-W, bye