from Hacker News

Show HN: ask.sh: Terminal AI assistant that can read and write your terminal

by h_mirin on 6/12/23, 6:45 AM with 1 comments

  • by h_mirin on 6/12/23, 7:31 AM

    I'm the author of this project. Yes, yet another terminal AI assistant with OpenAI APIs!

    I know there are plenty of great projects for terminal AI assistants already out there. But, in my experience, none of these tools completely meet the criteria I consider essential:

    Terminal Reading: Most tools are unable to read your terminal, which means you have to manually copy and paste the terminal output elsewhere.

    Simple API: Who wants to remember a plethora of complex commands and options? This is the very reason I use these tools in the first place.

    Multi-turn Capability: Most tools are designed for single-turn queries due to their lack of memory, significantly limiting their utility.

    Direct Command Execution on zsh/bash: Some tools execute commands in a wrapped environment or REPLs to capture the terminal output. This approach can break some commands, which I find undesirable.

    Personally, I use this tool very conveniently. I open chat.openai.com less often because I can get enough answers from GPT-3.5 or GPT-4 without leaving the terminal!

    Any feedback or comment is appreciated!