Live data from Hacker News

Show HN: Interactively select the quality and format for youtube-dl

github.com

1–10 of 95 posts

Re: Show HN: Interactively select the quality and format for youtube-dl

#4
post #2

PS: I coded this in an evening. This proves for me that nodejs makes it so easy to make beautiful CLI apps. It is simple and makes may life easier. See more node cli tools at: https://github.com/sindresorhus/awesome-nodejs#command-line-...

Just so you know, the tool is great, the code looks fine and the link is appreciated. I think the reason why you get down voted is because your comment could be read as you humble bragging.

Don't take it personally though, I've done similar posts/comments in the past and it took me quite some time to realize comments with this tone can be discouraging for people just getting into software engineering.

So please continue creating awesome tools like this and share it with us all and don't be discouraged. We all love to see tools like this. :)

Re: Show HN: Interactively select the quality and format for youtube-dl

#5
post #2

PS: I coded this in an evening. This proves for me that nodejs makes it so easy to make beautiful CLI apps. It is simple and makes may life easier. See more node cli tools at: https://github.com/sindresorhus/awesome-nodejs#command-line-...

That's great, it's a cool tool, but I don't understand why this couldn't have been done in a similar amount of time in a different language. I think if you replace "nodejs" with "English" in the sentence it might explain why people are downvoting; it just doesn't really mean anything.

Re: Show HN: Interactively select the quality and format for youtube-dl

#7
post #6

This is too trivial to share, IMO. Anyway, shell is more suitable for this kind of programs: you could write a bash script that ties together youtube-dl and dmenu or fzf or whatever within an hour.

I think this is probably their first CLI tool. Maybe even their first node project? So that's probably where the excitement comes from. And if that's the case then I can appreciate that.

Personally I'd probably go a similar approach as yourself but that's purely because I don't have node installed.

Re: Show HN: Interactively select the quality and format for youtube-dl

#9
post #2

PS: I coded this in an evening. This proves for me that nodejs makes it so easy to make beautiful CLI apps. It is simple and makes may life easier. See more node cli tools at: https://github.com/sindresorhus/awesome-nodejs#command-line-...

Just few questions checking the repo.

Why are you using meow? It seems like you are just using it to grab args and print help. Does it do something that is not immediately apparent? It has a lot of dependencies that might be completely useless for you.

log-symbols seems also completely useless dependency, you could just add the two symbols you are using by hand. Is it doing something special?

As for nodejs making things easier. Maybe it's just what you are used to. There isn't much code here, but I'm guessing node_modules is going to be pretty large. I think you could make this work just as well using any language. I guess the bonus here is that this is portable (compared to implementing with bash), but since youtube-dl (as far as I know) is made with Python, maybe it would have been better to make this TUI using Python as well since at least the user will have it installed.

Post reply on HN