5 ms·
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 no
by synox 7y ago
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-utilities https://github.com/sindresorhus/awesome-nodejs#command-line-...
- reimertz 7y agoJust 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. :)
- arcticfox 7y agoThat'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.
- nextlevelwizard 7y agoJust 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.
- synox 7y agoYes I will clean up those dependencies. Yeah Node is just what I know best. Or Java - haha, but that would not make a good CLI <-D
- Mister_Snuggles 7y agoOn a side-note, can you recommend any good TUI libraries for Python? I've got a mini project that a decent TUI would potentially work very well for.
- nextlevelwizard 7y agoSorry, I don't have any ready recommendations up my sleeve. Pretty much only CLI library I use is argparse.
- malvosenior 7y agoThanks for making this. I'd say that Node does not make good CLI apps though. It means I have to install it on my machine in order to use your program. The best CLI apps are made with compiled languages so you can distributed them without a runtime, third party libs...
- w56rjrtyu6ru 7y agoStatically link ALL the things!