TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Shell-AI, run shell commands with natural language

2 点作者 ricklamers将近 2 年前
Hello HN! I know this project is a super simple wrapper around LangChain&#x2F;OpenAI but I just found myself wanting this badly myself: a super simple `pip install` package that I can use to get command suggestions within the terminal as I&#x27;m being productive doing other things.<p>Example usage:<p>`shai git diff but without the big json blobs`<p>`shai &#x27;copy everything in data&#x2F; via ssh to $SSH_HOST using scp&#x27;`<p>The implementation is literally one short glue of LangChain and InquirerPy for interactive CLI.<p>I&#x27;m curious which ideas you all have to make this smarter&#x2F;better. MIT licensed, if you&#x27;re keen on contributing please feel free to do so. It&#x27;s a pure hobby project for me.<p>Some key objectives: never automatically run shell code, I want to see what I run before I run it, present me with some alternatives, a simple path to using local models in the future (Llama 2 Code soon?).<p>Will add I was inspired by the great <a href="https:&#x2F;&#x2F;github.com&#x2F;gorilla-llm&#x2F;gorilla-cli">https:&#x2F;&#x2F;github.com&#x2F;gorilla-llm&#x2F;gorilla-cli</a> project, but didn&#x27;t like that it sends the prompt to some IP based endpoint the author presumably runs.

暂无评论

暂无评论