TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby ricklamersover 1 year ago
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.

no comments

no comments