[{"data":1,"prerenderedAt":457},["ShallowReactive",2],{"project-20019877":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":34,"aspects":35,"strip":39,"post_text":44,"what":45,"said":92,"maker_in_thread":174,"shape":183,"grid":186,"attempts":419,"same_week":420,"maker_shows":43,"maker_hidden":449,"reader_version":450,"card":451},"20019877","youtube-dl-interactive","Interactively select the quality and format for youtube-dl","title","Show HN: Interactively select the quality and format for youtube-dl","https:\u002F\u002Fgithub.com\u002Fsynox\u002Fyoutube-dl-interactive","github.com","synox",1558938532,2019,196,90,195,2195,9,"notable","dev_tools","command-line downloader frontend","cli",[24,25,26,27,28],"youtube-dl","video download","format selection","nodejs cli","interactive cli","debated",-0.048,{"positive":18,"neutral":32,"mixed":33,"critical":18},4,2,24,{"execution":36,"idea":37},{"positive":33,"critical":33},{"positive":33,"critical":38},6,[40,41,42,41,42,40,42,42,42,40,40,43,43,42,42,42,42,40,42,42,40,42,42,42,43,43,43,42,43,40,42,40,42,42,42,42,42,43,43,42],5,3,0,1,null,{"problem":46,"audience":58,"pricing":44,"motivation":67,"time_to_build":74,"stack":78,"openness":90,"stage":91,"team_size":91},{"value":47,"source":48,"evidence":49},"Remembering youtube-dl format and quality flags is hard","commenter",[50,54],{"id":51,"by":52,"text":53},"20023268","Rolpa","'Because remembering CLI flags is hard.' Indeed. :)",{"id":55,"by":56,"text":57},"20021898","chapium","Remembering flags is hard? Are shell scripts no longer a thing?",{"value":59,"source":60,"evidence":61},"youtube-dl users who want to pick formats interactively","inferred",[62,66],{"id":63,"by":64,"text":65},"20022980","acassara","Looooooove this package! Use `youtube-dl` regularly and always forget the params. It's a nightmare. Opened a PR to remove Lodash, emojis welcomed:…",{"id":51,"by":52,"text":53},{"value":68,"source":69,"evidence":70},"Maker found Node good for making simple CLI apps; built in an evening","maker",[71],{"id":72,"by":11,"text":73},"20019884","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:…",{"value":75,"source":69,"evidence":76},"About one evening",[77],{"id":72,"by":11,"text":73},[79,83],{"value":80,"source":69,"evidence":81},"Node.js",[82],{"id":72,"by":11,"text":73},{"value":84,"source":48,"evidence":85},"npm packages (meow, log-symbols)",[86],{"id":87,"by":88,"text":89},"20021669","nextlevelwizard","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…","open_source","unknown",{"praise":93,"objections":110,"requests":135,"questions":148,"alternatives":157},[94,99],{"value":95,"source":48,"evidence":96},"Useful for remembering youtube-dl flags",[97,98],{"id":63,"by":64,"text":65},{"id":51,"by":52,"text":53},{"value":100,"source":48,"evidence":101},"Nice interactive UI",[102,106],{"id":103,"by":104,"text":105},"20021401","paol","I just have an alias with the format codes I want in order of preference (youtube-dl allows that) That's a very nice interactive ui though",{"id":107,"by":108,"text":109},"20022354","loeg","It's impressive how little code is needed with 7 npm dependencies for a little CLI program.",[111,123,131],{"value":112,"source":48,"evidence":113},"Too many npm dependencies for a small script",[114,118,122],{"id":115,"by":116,"text":117},"20021695","howiroll","380 dependencies for like 30 lines of bash script. Javascript became the cancer of the Internet.",{"id":119,"by":120,"text":121},"20023185","founderling","Jesus .. the package.json alone is probably longer then a shellscript would be that implements the same functionality.",{"id":107,"by":108,"text":109},{"value":124,"source":48,"evidence":125},"A shell script would do the same job",[126,130],{"id":127,"by":128,"text":129},"20021569","klntsky","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…",{"id":119,"by":120,"text":121},{"value":132,"source":48,"evidence":133},"Too trivial to share",[134],{"id":127,"by":128,"text":129},[136,141],{"value":137,"source":48,"evidence":138},"Remove unnecessary dependencies",[139,140],{"id":87,"by":88,"text":89},{"id":63,"by":64,"text":65},{"value":142,"source":48,"evidence":143},"Provide a snap package",[144],{"id":145,"by":146,"text":147},"20021652","cm-t","please, need a snap to install it!",[149,153],{"value":150,"source":48,"evidence":151},"Why use meow and log-symbols",[152],{"id":87,"by":88,"text":89},{"value":154,"source":48,"evidence":155},"Would Python have been a better choice",[156],{"id":87,"by":88,"text":89},[158,170],{"value":159,"source":48,"evidence":160},"Bash scripts with fzf or dmenu",[161,162,166],{"id":127,"by":128,"text":129},{"id":163,"by":164,"text":165},"20024426","mirashii","Would be pretty straightforward to do with fzf.",{"id":167,"by":168,"text":169},"20024774","mixmastamyk","Cool, here's my simple script to select format called vdl, and can be extended: ``` #!\u002Fbin\u002Fbash OPTS=\"-o %(title)s.%(ext)s --console-title --restrict-filenames\" if [ \"$#\" -eq 2…",{"value":171,"source":48,"evidence":172},"Format aliases in youtube-dl",[173],{"id":103,"by":104,"text":105},{"comments":32,"answered":43,"key":175},[176,177,180],{"id":72,"text":73},{"id":178,"text":179},"20022903","Yes 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 \u003C-D",{"id":181,"text":182},"20023326","I would love to see the shellscript equivalent! :))",{"commenters":184,"max_depth":18,"maker_replies":32,"first_comment_mins":33,"lifespan_hours":185},55,124,[187,189,193,197,199,200,204,207,211,214,217,220,222,224,227,231,233,235,236,240,242,243,247,252,254,259,263,268,271,274,277,279,281,283,285,288,291,294,297,299,301,303,305,307,310,313,315,317,320,323,325,327,330,333,336,337,340,343,345,346,349,351,354,356,358,361,364,367,369,372,375,377,380,382,384,386,389,392,395,397,399,401,403,405,407,409,412,414,416],[72,42,42,188,11,43],"maker\u002Fpositive\u002Fexecution",[190,42,40,191,192,42],"20021534","maker\u002Fpositive\u002Fnone","reimertz",[194,42,41,195,196,42],"20021535","maker\u002Fmixed\u002Fnone","arcticfox",[87,42,41,198,88,42],"maker\u002Fneutral\u002Fexecution",[178,42,42,198,11,43],[201,42,42,202,203,42],"20024803","other\u002Fneutral\u002Fnone","Mister_Snuggles",[205,42,42,206,88,42],"20027415","commenter\u002Fneutral\u002Fnone",[208,42,41,209,210,42],"20021869","project\u002Fmixed\u002Fexecution","malvosenior",[212,42,42,206,213,42],"20021981","w56rjrtyu6ru",[215,43,42,202,216,42],"20022557","pdkl95",[218,33,42,202,219,42],"20024366","soulofmischief",[107,41,40,221,108,42],"project\u002Fpositive\u002Fexecution",[103,32,41,223,104,42],"project\u002Fneutral\u002Fnone",[225,32,42,206,226,42],"20022138","StavrosK",[228,32,42,229,230,42],"20022301","commenter\u002Fneutral\u002Fdocs","aepiepaey",[232,32,42,229,226,42],"20022329",[234,32,42,206,230,42],"20022291",[167,40,42,202,168,42],[237,40,42,238,239,42],"20025735","commenter\u002Fneutral\u002Fexecution","JetSpiegel",[241,40,42,206,168,42],"20027737",[63,38,40,221,64,42],[244,245,42,202,246,42],"20022484",7,"z92",[248,249,40,250,251,42],"20023739",8,"project\u002Fpositive\u002Fnone","peter_retief",[51,18,40,253,52,42],"project\u002Fpositive\u002Fidea",[255,256,41,257,258,42],"20021724",10,"project\u002Fneutral\u002Fidea","modzu",[260,256,43,261,262,42],"20022467","project\u002Fcritical\u002Fidea","monsieurbanana",[264,265,43,266,267,42],"20022169",11,"project\u002Fcritical\u002Fnone","exabrial",[269,265,42,206,270,42],"20022414","xwdv",[272,265,42,202,273,42],"20022540","Wowfunhappy",[275,265,42,206,276,42],"20023004","sunsetMurk",[278,265,42,206,273,42],"20024532",[280,265,42,206,267,42],"20023224",[282,265,42,202,168,42],"20024795",[284,265,42,202,267,42],"20025337",[286,265,42,202,287,42],"20023653","sadris",[289,265,42,202,290,42],"20023665","koolba",[292,265,42,206,293,42],"20024045","miaosqueeker",[295,265,40,250,296,42],"20023768","ubercow13",[298,265,42,206,293,42],"20024051",[300,265,42,206,296,42],"20024140",[302,265,42,202,168,42],"20024830",[304,265,42,202,273,42],"20026563",[306,265,42,202,296,42],"20027815",[308,265,42,202,309,42],"20023772","A2017U1",[311,265,40,250,312,42],"20023788","salutonmundo",[314,265,42,202,270,42],"20024340",[316,265,42,202,273,42],"20024506",[318,265,42,202,319,42],"20022541","Causality1",[321,265,42,206,322,42],"20022616","benj111",[324,265,42,206,319,42],"20023165",[326,265,42,206,322,42],"20023228",[328,265,42,202,329,42],"20024245","theon144",[331,265,42,206,332,42],"20024865","layoutIfNeeded",[119,334,43,335,120,42],12,"project\u002Fcritical\u002Fexecution",[181,334,42,206,11,43],[338,334,43,261,339,42],"20024043","natch",[341,334,42,206,342,42],"20024317","why-oh-why",[344,334,42,206,339,42],"20026765",[163,334,41,223,164,42],[347,334,43,261,348,42],"20025713","3xblah",[350,334,42,206,342,42],"20024307",[352,334,42,206,353,42],"20024537","dang",[115,355,43,261,116,42],13,[127,357,43,261,128,42],14,[359,357,40,191,360,42],"20021607","hnlmorg",[362,357,42,206,363,42],"20022080","onion2k",[365,357,42,206,366,42],"20022123","C4stor",[368,357,42,257,11,43],"20022858",[370,357,40,253,371,42],"20024687","CaptainMarvel",[373,374,42,206,213,42],"20021802",15,[376,374,42,206,226,42],"20022279",[378,374,42,206,379,42],"20022304","pushpop",[381,374,42,206,213,42],"20022390",[383,374,42,206,379,42],"20023391",[385,374,42,206,213,42],"20023756",[387,374,42,206,388,42],"20024913","mises",[390,374,42,206,391,42],"20024462","ljm",[393,374,42,206,394,42],"20022343","chaosite",[396,374,42,206,213,42],"20022543",[398,374,42,206,360,42],"20023989",[400,374,42,206,213,42],"20040390",[402,374,42,206,360,42],"20068439",[404,374,42,206,353,42],"20024554",[145,406,43,335,146,42],16,[55,408,43,261,56,42],17,[410,408,42,206,411,42],"20022008","sametmax",[413,408,42,206,363,42],"20022048",[415,408,42,206,168,42],"20024877",[417,408,42,206,418,42],"20022170","amelius",[],[421,426,430,434,439,444],{"id":422,"name":423,"points":424,"category":425},"20012687","nextdns.io",372,"infrastructure",{"id":427,"name":428,"points":429,"category":20},"20008466","tiptap",278,{"id":431,"name":432,"points":433,"category":20},"20033728","Endoflife.date",248,{"id":435,"name":436,"points":437,"category":438},"20001339","Workstation",206,"consumer_social",{"id":440,"name":441,"points":442,"category":443},"20024448","Imgsquash",178,"creative",{"id":445,"name":446,"points":447,"category":448},"20041076","PugSQL",155,"languages",false,"v2",{"id":452,"name":5,"line":6,"ai":449,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":453,"top":18,"kw":454,"maker":11,"domain":10,"tier":19,"attempts":42,"strip":455,"url":9,"mix":456,"praise":95,"objection":112,"sub":21},20019877,-0.05,[24,25,26,27,28],"5303050005511000050050001110150500000110",[18,32,33,18],1794036577900]