首页
22 条评论
brentm超过 1 年前
I'd consider using something besides 'list all files' as first example in the gif. I'd think anyone who opens a terminal knows how to do that so listing files in a directory and hitting a spinner isn't very inspiring.<p>The second curl example is better since plenty of people won't know that off the top of their head.
评论 #37570489 未加载
评论 #37571266 未加载
评论 #37571041 未加载
mellosouls超过 1 年前
A reminder to users of Github CoPilot who may be unaware, there is also a terminal version you can install included in your subscription. It's ok. (Edit) There is a waitlist.<p><a href="https://githubnext.com/projects/copilot-cli" rel="nofollow noreferrer">https://githubnext.com/projects/copilot-cli</a>
评论 #37569872 未加载
评论 #37601457 未加载
mike986超过 1 年前
All of the alternatives commented so far have the same downside, you got a LLM response and you can either run it or abort.<p><a href="https://github.com/tom-doerr/zsh_codex">https://github.com/tom-doerr/zsh_codex</a><p>^ This is much nicer as it hook into zsh completion so you got a response that drop right into the shell input (enter to execute or edit away)<p>Also you can write shell script directly in prompt and use it to auto complete the rest
binary_wizard01超过 1 年前
I've built a similar shell script a while ago and still use it quite frequently: <a href="https://github.com/Luanf/cligpt">https://github.com/Luanf/cligpt</a>
评论 #37569477 未加载
评论 #37570101 未加载
danielvaughn超过 1 年前
There's also <a href="https://www.warp.dev" rel="nofollow noreferrer">https://www.warp.dev</a><p>I've been using it for the past few weeks and it's really sleek. I actually don't use the AI features very often because I'm fluent in the terminal, but it's nice to know it's there if I need it.<p>Some people get weirded out by the fact that it's VC funded and they collect telemetry, but I think you can turn that off.
评论 #37571713 未加载
评论 #37570938 未加载
mouzogu超过 1 年前
nice idea but anything written in node/deno/whatever will definitely stop working < 6 months unless its heavily maintained.
programmarchy超过 1 年前
I was surprised that Whiz could use tools like ffmpeg even though it tells ChatGPT to only use available shell commands. I asked it to "convert demo.mov to an mp4" and "cut the first five seconds of demo.mp4" and it came back with the correct commands. I guess that was enough to allow it to assume ffmpeg is probably installed. Pretty cool!
评论 #37572336 未加载
ramesh31超过 1 年前
Seems like a perfect use case for local models. Not sure I want to be sending my .bash_profile or .bash_history (or local env vars...) to OpenAI. And I can't imagine doing anything in the terminal that llama2-code-7b couldn't make sense of. That can trivially run on an M1 with 8GB.
评论 #37572377 未加载
wendyshu超过 1 年前
<a href="https://github.com/TheR1D/shell_gpt">https://github.com/TheR1D/shell_gpt</a> already exists
评论 #37570469 未加载
评论 #37570423 未加载
isuckatcoding超过 1 年前
What are the security implications of this?<p>If you ask it something like “pipe the output of <CLI> using <MY_SECRET_TOKEN> to grep to find XYZ”
评论 #37582656 未加载
pplonski86超过 1 年前
It is quite similar to <a href="https://github.com/KillianLucas/open-interpreter">https://github.com/KillianLucas/open-interpreter</a><p>Such terminal tools are quite like AI agents, it should think about steps and then execute one by one.
评论 #37569406 未加载
评论 #37570195 未加载
syntaxing超过 1 年前
For people who use terminal a lot, I find shell gpt a good mixture [1]. Flexible enough to pipe commands, generic enough to ask questions.<p>[1] <a href="https://github.com/TheR1D/shell_gpt">https://github.com/TheR1D/shell_gpt</a>
vinni2超过 1 年前
How does it compare to gorilla cli? <a href="https://github.com/gorilla-llm/gorilla-cli">https://github.com/gorilla-llm/gorilla-cli</a>
imsurajkadam超过 1 年前
I tried this but when I am running commands like wz can you install beautifulsoup and such things then it is giving me the syntex error: JSON<p>command is: "wz can you install bs4"
评论 #37569315 未加载
bitwize超过 1 年前
This kind of reminds me of the database Q&A, which used SRI's NLP tech to allow you to query databases with "plain English".
ctenb超过 1 年前
Nice. It would be cool if something like this existed for nushell. Chatgpt4 struggles with that language unfortunately
rd超过 1 年前
How is this different than <a href="https://fig.io/">https://fig.io/</a>?
评论 #37581910 未加载
gorenb超过 1 年前
GitHub copilot has created something (still in beta) that does this.
daniel_sushil超过 1 年前
Pretty neat use case. I like it
o_1超过 1 年前
this should be called terminator
jingles_dev超过 1 年前
This is cool
dventimi超过 1 年前
What does it do