[{"data":1,"prerenderedAt":490},["ShallowReactive",2],{"project-40980715":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":36,"aspects":37,"strip":47,"post_text":49,"what":50,"said":79,"maker_in_thread":181,"shape":191,"grid":196,"attempts":452,"same_week":453,"maker_shows":39,"maker_hidden":482,"reader_version":483,"card":484},"40980715","Magic-cli","A copilot for your command line","title","Show HN: Magic-cli – A copilot for your command line","https:\u002F\u002Fgithub.com\u002Fguywaldman\u002Fmagic-cli","github.com","guywald",1721167101,2024,158,94,530,3515,16,"notable","dev_tools","command line assistant","cli",[24,25,26,27,28],"command line","shell","llm","copilot","rust","curious",-0.239,{"positive":32,"neutral":33,"mixed":34,"critical":35},3,15,0,11,29,{"design":38,"idea":41,"execution":42,"docs":44,"privacy":45,"performance":46},{"positive":39,"critical":40},1,2,{"positive":39,"critical":40},{"positive":34,"critical":43},4,{"positive":34,"critical":39},{"positive":34,"critical":39},{"positive":34,"critical":39},[39,34,34,34,34,34,32,34,34,34,34,34,32,32,39,32,48,34,34,39,32,32,32,32,40,39,34,39,39,32,34,34,34,39,32,39,39,34,34,34],5,"Blog post: https:\u002F\u002Fguywaldman.com\u002Fposts\u002Fintroducing-magic-cli",{"problem":51,"audience":51,"pricing":51,"motivation":52,"time_to_build":51,"stack":59,"openness":78,"stage":78,"team_size":78},null,{"value":53,"source":54,"evidence":55},"Maker explained choice of Rust in blog post section","maker",[56],{"id":57,"by":11,"text":58},"40981669","This is a great question. I added a \"Why Rust?\" section to the blog post to provide my rationale: https:\u002F\u002Fguywaldman.com\u002Fposts\u002Fintroducing-magic-cli#why-rust",[60,68],{"value":61,"source":62,"evidence":63},"Rust","commenter",[64],{"id":65,"by":66,"text":67},"40987608","swyx","it's built in RUST!",{"value":69,"source":54,"evidence":70},"Ollama",[71,74],{"id":72,"by":11,"text":73},"40982167","It's currently set not to stream (https:\u002F\u002Fgithub.com\u002Fguywaldman\u002Fmagic-cli\u002Fblob\u002F4d4dca034063aa6433ebaadcbdb7cc192f55c05c\u002Fsrc\u002Fllm\u002Follama\u002Follama_llm.rs#L55C13-L55C19). The…",{"id":75,"by":76,"text":77},"40988433","kordlessagain","I got stuck on setting the ollama.embedding_model. No clue what to do.","unknown",{"praise":80,"objections":92,"requests":122,"questions":132,"alternatives":148},[81],{"value":82,"source":62,"evidence":83},"Useful, similar tools praised for workflow",[84,88],{"id":85,"by":86,"text":87},"40984462","boomskats","This is nice. I've been taking Termium[0] for a spin and it's been pretty great for the most part, but the Rumsfeld-complete always-on autosuggest\u002Fcopilot UX they're aiming for…",{"id":89,"by":90,"text":91},"40981630","tiberriver256","I'll bet this was a lot of fun to make. Very cool project. Was there any particular motive for building your own over using something that's been around a bit longer like aichat?…",[93,108,115],{"value":94,"source":62,"evidence":95},"Default unsafe-execution mode is dangerous",[96,100,104],{"id":97,"by":98,"text":99},"40981294","Carrok","Default mode should probably not be “unsafe-execution” but instead should be “clipboard”. Make people turn on the unsafe mode.",{"id":101,"by":102,"text":103},"40982701","imp0cat","``` suggest.mode: The mode to use for suggesting commands. Supported values: \"clipboard\" (copying command to clipboard), \"unsafe-execution\" (executing in the current shell…",{"id":105,"by":106,"text":107},"40986452","nerdjon","I have to agree, this to me seems like a great in theory but questionable in practice. We know how much damage a cli can do, they often don't have the protections in place most…",{"value":109,"source":62,"evidence":110},"Slow output because not streaming",[111],{"id":112,"by":113,"text":114},"40982089","deckar01","It isn’t streaming the ollama output so it feels slow (~3 words\u002Fsecond on a 3090 with the defaults). Using ollama directly streams within a second and you can kill it early. I…",{"value":116,"source":62,"evidence":117},"Too complex for what it does",[118],{"id":119,"by":120,"text":121},"40981402","bongodongobob","Can I ask why it's so complicated? I made something similar about a year ago and it's less that 150 lines of Python. Gives you an explanation, option to run it with\u002Fwithout sudo,…",[123,127],{"value":124,"source":62,"evidence":125},"Make clipboard the default mode",[126],{"id":97,"by":98,"text":99},{"value":128,"source":62,"evidence":129},"Streaming output",[130,131],{"id":112,"by":113,"text":114},{"id":72,"by":11,"text":73},[133,141],{"value":134,"source":62,"evidence":135},"How does it compare to existing tools like aichat or llm",[136,140],{"id":137,"by":138,"text":139},"40987526","ano-ther","Neat. How does it compare to https:\u002F\u002Fllm.datasette.io\u002Fen\u002Fstable\u002F ?",{"id":89,"by":90,"text":91},{"value":142,"source":62,"evidence":143},"How is the latency",[144],{"id":145,"by":146,"text":147},"40981189","darby_nine","How's the latency?",[149,153,160,167,174],{"value":150,"source":62,"evidence":151},"aichat",[152],{"id":89,"by":90,"text":91},{"value":154,"source":62,"evidence":155},"llm-cmd",[156],{"id":157,"by":158,"text":159},"40981658","icholy","I use https:\u002F\u002Fgithub.com\u002Fsimonw\u002Fllm-cmd",{"value":161,"source":62,"evidence":162},"zsh_codex",[163],{"id":164,"by":165,"text":166},"40987110","pcwelder","I've been using https:\u002F\u002Fgithub.com\u002Ftom-doerr\u002Fzsh_codex with gpt4-o and it saves a lot of strokes as compared to github copilot cli to query, since I just have to press ctrl-x in…",{"value":168,"source":62,"evidence":169},"please-cli",[170],{"id":171,"by":172,"text":173},"40982993","computatrum","There is also https:\u002F\u002Fgithub.com\u002FTNG\u002Fplease-cli",{"value":175,"source":62,"evidence":176},"open-interpreter",[177],{"id":178,"by":179,"text":180},"40981790","fragmede","https:\u002F\u002Fgithub.com\u002FKillianLucas\u002Fopen-interpreter\u002F is my preferred implementation of approximately the same thing",{"comments":182,"answered":40,"key":183},8,[184,187,188],{"id":185,"text":186},"40982748","Nice! I like the `needs` utility :)",{"id":57,"text":58},{"id":189,"text":190},"40981905","Woops, fixed the original reply. Thanks. I guess I'm excited that I got all this traction from HN ;)",{"commenters":192,"max_depth":193,"maker_replies":182,"first_comment_mins":194,"lifespan_hours":195},67,7,75,148,[197,199,203,206,210,213,216,218,221,224,227,230,234,236,239,242,245,247,250,253,256,259,262,265,267,269,272,275,278,280,284,285,287,291,294,297,298,299,303,306,309,310,313,316,318,321,324,326,330,332,335,336,338,341,344,347,350,352,357,360,364,367,369,371,373,376,379,381,383,385,388,391,395,399,402,406,408,411,414,417,419,422,423,426,427,428,431,435,439,442,444,446,450],[97,34,39,198,98,34],"project\u002Fcritical\u002Fdesign",[200,34,32,201,202,34],"40981696","project\u002Fneutral\u002Fidea","thelastparadise",[204,34,34,205,98,34],"40981716","commenter\u002Fneutral\u002Fidea",[207,34,34,208,209,34],"40981725","other\u002Fneutral\u002Fnone","IgorPartola",[211,34,34,208,212,34],"40981887","verandaguy",[214,34,34,208,215,34],"40986009","acheong08",[217,34,34,208,209,34],"40991465",[219,34,34,208,220,34],"40986752","xnzakg",[222,34,34,208,223,34],"40982721","lvncelot",[225,34,34,208,226,34],"40987512","usrbinbash",[228,34,34,205,229,34],"40983444","karolist",[231,34,34,232,233,34],"40985688","commenter\u002Fneutral\u002Fnone","mindslight",[235,34,34,232,229,34],"40985856",[237,34,32,201,238,34],"40988430","dredmorbius",[240,34,34,205,241,34],"40981923","callalex",[243,34,34,208,244,34],"40982039","neodymiumphish",[246,34,34,208,241,34],"40982200",[248,34,34,208,249,34],"40982621","sroussey",[251,34,34,232,252,34],"40982247","vinibrito",[254,34,34,208,255,34],"40983404","ku1ik",[257,34,34,208,258,34],"40982183","teaearlgraycold",[260,34,34,205,261,34],"40981964","j16sdiz",[263,34,34,208,264,34],"40986132","rjzzleep",[266,34,34,208,220,34],"40986774",[268,34,34,208,238,34],"40988593",[270,34,34,208,271,34],"40982945","hda111",[273,34,34,208,274,34],"40983127","aranchelk",[276,34,34,208,277,34],"40985730","sgarland",[279,34,34,205,226,34],"40987477",[281,39,32,282,283,34],"40981917","project\u002Fneutral\u002Fnone","notarealllama",[164,40,32,201,165,34],[171,32,34,286,172,34],"other\u002Fneutral\u002Fidea",[288,43,39,289,290,34],"40983822","project\u002Fcritical\u002Fidea","teddyh",[292,43,34,208,293,34],"40983840","compressedgas",[295,43,34,208,296,34],"40984337","_def",[137,48,32,201,138,34],[65,48,32,282,66,34],[300,48,48,301,302,34],"40993318","project\u002Fpositive\u002Fnone","satvikpendem",[85,304,48,305,86,34],6,"project\u002Fpositive\u002Fidea",[307,193,34,286,308,34],"40982573","pmarreck",[185,193,34,208,11,39],[311,193,34,208,312,34],"40984105","prmoustache",[314,193,34,208,315,34],"40985352","gkfasdfasdf",[317,193,34,208,308,34],"40985460",[319,182,34,208,320,34],"40992561","sathishvj",[119,322,39,323,120,34],9,"project\u002Fcritical\u002Fexecution",[57,322,34,325,11,39],"maker\u002Fneutral\u002Fidea",[327,322,32,328,329,34],"40981718","maker\u002Fneutral\u002Fdocs","Lienetic",[331,322,34,208,202,34],"40981724",[333,322,32,328,334,34],"40981839","ekidd",[189,322,34,328,11,39],[337,322,32,328,202,34],"40981720",[339,322,34,208,340,34],"40981747","justusthane",[342,322,34,343,11,39],"40981919","maker\u002Fneutral\u002Fnone",[345,322,32,328,346,34],"40981775","freedomben",[348,322,32,328,349,34],"40982014","mp05",[351,322,39,323,120,34],"40982633",[353,354,32,355,356,34],"40981333",10,"project\u002Fneutral\u002Fexecution","h43z",[358,354,34,232,359,34],"40981397","ape4",[361,354,39,362,363,34],"40981492","project\u002Fcritical\u002Fprivacy","metadat",[365,354,34,232,366,34],"40981637","dijit",[368,354,34,232,363,34],"40982736",[370,354,34,343,11,39],"40981676",[75,35,39,372,76,34],"project\u002Fcritical\u002Fdocs",[145,374,32,375,146,34],12,"project\u002Fneutral\u002Fperformance",[377,374,34,378,98,34],"40981297","commenter\u002Fneutral\u002Fperformance",[112,374,39,380,113,34],"project\u002Fcritical\u002Fperformance",[72,374,34,382,11,39],"maker\u002Fneutral\u002Fperformance",[89,384,32,325,90,34],13,[386,384,34,387,11,39],"40982148","maker\u002Fpositive\u002Fidea",[389,384,34,286,390,34],"40982287","jimmySixDOF",[392,384,34,393,394,34],"40982236","other\u002Fcritical\u002Fidea","Lord_Zero",[396,397,34,208,398,34],"40981343",14,"xp84",[400,397,34,208,401,34],"40981577","dayjah",[403,397,34,404,405,34],"40981733","other\u002Fcritical\u002Fnone","scubbo",[407,397,34,208,401,34],"41025776",[409,397,34,410,405,34],"41041835","commenter\u002Fcritical\u002Fidea",[412,33,39,289,413,34],"40981569","rekttrader",[415,33,32,201,416,34],"40981593","Buttons840",[418,33,39,323,366,34],"40981632",[420,33,48,421,416,34],"40982312","project\u002Fpositive\u002Fdesign",[101,33,39,198,102,34],[424,33,34,205,425,34],"40986191","Closi",[105,33,39,323,106,34],[157,18,34,286,158,34],[429,18,34,430,11,39],"40981922","maker\u002Fpositive\u002Fdesign",[432,433,34,286,434,34],"40982397",17,"voodooEntity",[436,437,34,286,438,34],"40981435",18,"renewiltord",[440,437,34,208,441,34],"40981536","beacon294",[443,437,34,208,438,34],"40982069",[445,437,34,232,441,34],"40988393",[447,448,34,286,449,34],"40985855",19,"Xen9",[178,451,34,286,179,34],20,[],[454,459,464,469,473,477],{"id":455,"name":456,"points":457,"category":458},"40956087","Resurrecting a dead Dune RTS game",485,"games",{"id":460,"name":461,"points":462,"category":463},"40972122","Horizon",361,"web_saas",{"id":465,"name":466,"points":467,"category":468},"40960508","Buzzinga",284,"consumer_social",{"id":470,"name":471,"points":472,"category":20},"40952509","CSS grid generator",262,{"id":474,"name":475,"points":476,"category":20},"40961101","Kaskade",164,{"id":478,"name":479,"points":480,"category":481},"40989451","Tracklist",157,"creative",false,"v2",{"id":485,"name":5,"line":6,"ai":482,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":486,"top":18,"kw":487,"maker":11,"domain":10,"tier":19,"attempts":34,"strip":488,"url":9,"mix":489,"praise":82,"objection":94,"sub":21},40980715,-0.24,[24,25,26,27,28],"1000003000003313500133332101130001311000",[32,33,34,35],1794036657925]