[{"data":1,"prerenderedAt":391},["ShallowReactive",2],{"project-35223759":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":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":43,"post_text":44,"what":45,"said":81,"maker_in_thread":170,"shape":181,"grid":186,"attempts":354,"same_week":355,"maker_shows":291,"maker_hidden":383,"reader_version":384,"card":385},"35223759","Chatblade","A CLI Swiss Army Knife for ChatGPT","title","Show HN: Chatblade – A CLI Swiss Army Knife for ChatGPT","https:\u002F\u002Fgithub.com\u002Fnpiv\u002Fchatblade","github.com","ramblerman",1679260729,2023,315,65,134,3109,5,"legend","dev_tools","command line interface","cli",[24,25,26,27],"chatgpt cli","openai command line","chatgpt piping","terminal ai","mixed",0.328,{"positive":31,"neutral":32,"mixed":33,"critical":34},10,7,0,3,20,{"idea":37,"privacy":38,"execution":40,"design":41,"pricing":42},{"positive":18,"critical":33},{"positive":33,"critical":39},1,{"positive":33,"critical":39},{"positive":39,"critical":39},{"positive":33,"critical":33},[18,33,33,18,34,33,33,33,33,18,33,33,33,33,34,33,39,18,33,33,33,33,39,33,33,33,33,34,33,33,18,33,34,18,18,39,34,34,18,18],"integrate chatGPT into your scripts or terminal work. Supports piping text, saving prompts, estimating costs, and some basic json\u002Fyaml extraction.\n\nI've added some elaborate examples on the readme of how to use it with pictures, that may provide a better overview.",{"problem":46,"audience":55,"pricing":56,"motivation":64,"time_to_build":55,"stack":68,"openness":78,"stage":79,"team_size":80},{"value":47,"source":48,"evidence":49},"Using ChatGPT from scripts and terminal workflows without manual copy and paste","maker",[50,52],{"id":51},"post",{"id":53,"by":11,"text":54},"35236366","Well why use jq? you could decompose that into standard unix commands as well :) The main itch I wanted to scratch for my own exploration with chatgpt was that I found myself…",null,{"value":57,"source":58,"evidence":59},"Uses paid OpenAI API usage billed per query","commenter",[60],{"id":61,"by":62,"text":63},"35227223","humanistbot","The $20\u002Fmo plus only gets you features that you can access in the web interface. It is independent from the API usage that bills by the query. Anything you can get from the API,…",{"value":65,"source":48,"evidence":66},"Maker kept making curl requests to ChatGPT and wanted to pipe results onward",[67],{"id":53,"by":11,"text":54},[69],{"value":70,"source":71,"evidence":72},"Python","inferred",[73,77],{"id":74,"by":75,"text":76},"35226148","LeoPanthera","Ha, I was about to release something similar to this as my first ever open-source project. Beaten by a day. And, frankly, this is better than mine. Congrats to npiv.",{"id":53,"by":11,"text":54},"open_source","launched","unknown",{"praise":82,"objections":106,"requests":124,"questions":132,"alternatives":140},[83,98],{"value":84,"source":58,"evidence":85},"Useful piping and terminal integration",[86,90,94],{"id":87,"by":88,"text":89},"35228605","karmasimida","Piping prompt is an great use case, that makes a lot of sense actually. Love it.",{"id":91,"by":92,"text":93},"35245953","kinfolk0117","Nice!, piping from and to chatgpt is really powerful. If you use tmux, you can pipe in `tmux capture-pane -p -S -` to ask questions about commands and outputs you have just run…",{"id":95,"by":96,"text":97},"35259156","noonething","Best cli gpt tool, I've seen, so far. Thank you very much for this.",{"value":99,"source":58,"evidence":100},"Good feature set and clean ASCII output",[101,102],{"id":95,"by":96,"text":97},{"id":103,"by":104,"text":105},"35228983","simon_rider","Nice, will try this out. The ascii formatting looks good on this one I made something quite similar, this can also run commands and has syntax highlighting…",[107,117],{"value":108,"source":58,"evidence":109},"Authentication failed with API key due to .netrc interference in requests library",[110,114],{"id":111,"by":112,"text":113},"35229062","lynx23","This looks great. However, after generting an API key and providing it to chatblade, I get the following error: openai.error.AuthenticationError: Incorrect API key provided:…",{"id":115,"by":112,"text":116},"35230227","Found it! I need to set NETRC=\u002Fdev\u002Fnull. It appears the request library is trying to grab auth info from .netrc, and in my case, picks the default entry. Why it is doing that…",{"value":118,"source":58,"evidence":119},"Interactive mode leaves bounding box characters when copying code",[120],{"id":121,"by":122,"text":123},"35243595","totetsu","If I used this in interactive mode, and generate a code snippet, then try to copy it, it will have | the bounding box and the beginning and end of lines |",[125],{"value":126,"source":58,"evidence":127},"Support for ChatGPT Plus web session authentication",[128],{"id":129,"by":130,"text":131},"35227557","wanderingmind","There have been addons that were able to use the web interface to get authorization (ex: ChatGPT4Google). I was hoping some similar session authentication and cache and make them…",[133],{"value":134,"source":58,"evidence":135},"Is there a similar tool that works with ChatGPT Plus accounts?",[136,139],{"id":137,"by":130,"text":138},"35226949","Is there a similar tool that works for a chatgpt plus account?",{"id":61,"by":62,"text":63},[141,148,152,159,166],{"value":142,"source":58,"evidence":143},"aichat (Rust)",[144],{"id":145,"by":146,"text":147},"35226648","olalonde","Same thing happened to me two weeks ago... Released clevercli[0] only to find out aichat[1] had more features and written in Rust. [0] https:\u002F\u002Fgithub.com\u002Fclevercli\u002Fclevercli [1]…",{"value":149,"source":58,"evidence":150},"clevercli",[151],{"id":145,"by":146,"text":147},{"value":153,"source":58,"evidence":154},"shell-genie",[155],{"id":156,"by":157,"text":158},"35226780","behnamoh","Shell Genie is my favorite. It actually runs the commands if you want. https:\u002F\u002Fgithub.com\u002Fdylanjcastillo\u002Fshell-genie",{"value":160,"source":58,"evidence":161},"codegpt",[162],{"id":163,"by":164,"text":165},"35226451","icholy","Hacking on something similar, but specifically for operating on source files https:\u002F\u002Fgithub.com\u002Ficholy\u002Fcodegpt (it's in a very rough state)",{"value":167,"source":58,"evidence":168},"hey-chatgpt-cli",[169],{"id":103,"by":104,"text":105},{"comments":18,"answered":39,"key":171},[172,175,178],{"id":173,"text":174},"35229329","It looks like user@dom**.tld is actually what you set as your key. I can generate the same error by setting OPENAI_API_KEY=\"this is wrong\"; chatblade test…",{"id":176,"text":177},"35229388","can you try: curl https:\u002F\u002Fapi.openai.com\u002Fv1\u002Fcompletions -H \"Content-Type: application\u002Fjson\" -H \"Authorization: Bearer $OPENAI_API_KEY\" -d ' { \"model\": \"text-davinci-003\",…",{"id":179,"text":180},"35229766","Its not doing anything special that could \"trash\" the input. In fact no other env variables are read at all. So the fact that you are seeing your email, is a pretty strong…",{"commenters":182,"max_depth":183,"maker_replies":18,"first_comment_mins":184,"lifespan_hours":185},44,8,256,61,[187,189,193,196,199,200,204,208,212,215,218,221,224,227,230,233,236,239,242,245,248,251,253,255,258,261,263,265,269,272,275,278,280,282,285,288,290,293,295,297,298,300,301,303,304,307,309,312,315,317,318,321,323,324,328,329,330,333,335,338,339,340,343,346,348,350],[74,33,18,188,75,33],"project\u002Fpositive\u002Fnone",[190,33,33,191,192,33],"35226217","commenter\u002Fneutral\u002Fnone","a_t48",[194,33,33,191,195,33],"35226270","bckr",[197,33,33,191,198,33],"35226363","thejosh",[145,33,33,191,146,33],[201,33,18,202,203,33],"35226952","project\u002Fpositive\u002Fidea","nico",[205,33,33,206,207,33],"35227412","other\u002Fneutral\u002Fnone","jonchurch_",[209,33,34,210,211,33],"35228421","project\u002Fneutral\u002Fnone","_nalply",[213,33,33,191,214,33],"35228882","rfoo",[216,33,33,191,217,33],"35227063","j45",[219,33,33,206,220,33],"35228133","ramraj07",[222,33,33,206,223,33],"35230659","ben_w",[225,33,33,191,226,33],"35228240","actually_a_dog",[228,33,33,191,229,33],"35228652","RileyJames",[231,33,18,202,232,33],"35229785","alerter",[234,33,33,191,235,33],"35230603","corobo",[237,33,33,191,238,33],"35230901","jjallen",[240,33,33,191,241,33],"35237368","eshack94",[243,33,33,206,244,33],"35252757","quickthrower2",[246,39,33,206,247,33],"35226331","1xdevloper",[249,39,33,206,250,33],"35226356","zzzzzzzza",[252,39,33,206,203,33],"35226877",[254,39,33,206,250,33],"35227460",[256,39,34,257,203,33],"35226846","project\u002Fneutral\u002Fidea",[259,39,33,191,260,33],"35226867","Swizec",[262,39,33,206,203,33],"35226894",[264,39,33,191,247,33],"35229495",[266,39,39,267,268,33],"35230451","project\u002Fcritical\u002Fprivacy","dTal",[270,39,18,202,271,33],"35230771","ehecatl42",[273,39,33,206,274,33],"35231740","xur17",[276,39,33,191,277,33],"35232020","huijzer",[279,39,33,206,274,33],"35232152",[281,39,33,191,277,33],"35232437",[283,39,33,284,274,33],"35232910","other\u002Fneutral\u002Fpricing",[286,39,33,191,287,33],"35242497","call-me-al",[289,39,33,191,247,33],"35245162",[111,291,39,292,112,33],2,"project\u002Fcritical\u002Fexecution",[173,291,33,294,11,39],"maker\u002Fneutral\u002Fnone",[296,291,33,191,112,33],"35229349",[176,291,33,294,11,39],[299,291,33,191,112,33],"35229511",[179,291,33,294,11,39],[302,291,33,191,112,33],"35229878",[115,291,33,191,112,33],[305,291,33,191,306,33],"35230490","matzf",[308,34,34,257,203,33],"35226910",[310,34,33,191,311,33],"35227296","joshka",[313,314,33,206,112,33],"35235410",4,[316,314,33,191,112,33],"35235571",[53,314,33,294,11,39],[319,314,18,320,112,33],"35237180","maker\u002Fpositive\u002Fnone",[322,314,33,191,11,39],"35238255",[163,18,34,257,164,33],[325,326,33,206,327,33],"35229797",6,"Liutprand",[156,32,33,206,157,33],[91,183,18,202,92,33],[103,331,18,332,104,33],9,"project\u002Fpositive\u002Fdesign",[121,31,39,334,122,33],"project\u002Fcritical\u002Fdesign",[137,336,34,337,130,33],11,"project\u002Fneutral\u002Fpricing",[61,336,33,284,62,33],[129,336,34,257,130,33],[341,336,34,257,342,33],"35230386","throwaway4aday",[344,336,33,191,345,33],"35231762","greyman",[95,347,18,188,96,33],12,[87,349,18,202,88,33],13,[351,352,18,188,353,33],"35226254",14,"LesZedCB",[],[356,361,365,369,373,378],{"id":357,"name":358,"points":359,"category":360},"35184985","Alpaca.cpp",673,"ai",{"id":362,"name":363,"points":364,"category":360},"35256769","simple-llama-finetuner",449,{"id":366,"name":367,"points":368,"category":360},"35258553","ChatLLaMA",402,{"id":370,"name":371,"points":372,"category":20},"35191303","GPT Repo Loader",373,{"id":374,"name":375,"points":376,"category":377},"35263542","Zapier Natural Language Actions",235,"infrastructure",{"id":379,"name":380,"points":381,"category":382},"35179871","Dadagrams",232,"games",false,"v2",{"id":386,"name":5,"line":6,"ai":383,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":387,"top":18,"kw":388,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":389,"url":9,"mix":390,"praise":84,"objection":108,"sub":21},35223759,0.33,[24,25,26,27],"5005300005000030150000100003005035513355",[31,32,33,34],1794036632773]