suitedaces / shell-whisperer

An AI command-line tool to write commands on the terminal in plain English
MIT License
4 stars 0 forks source link

[DevApe] Ready for Action 🚀 #5

Closed dev-ape-ai[bot] closed 3 months ago

dev-ape-ai[bot] commented 3 months ago

Hi @suitedaces! 👋

dev-ape

Thank you for installing DevApe! 👨🏽‍💻🦍 I'm here to supercharge your development workflow. Here's what I can do:

🔧 Create custom rules for your repository

🚨 When a new Pull Request is created...

📊 When a new Issue is created...

💬 Whenever you need assistance...

If you have any questions or need support, feel free to reach out at ishan@devape.co.

Let's build amazing things together! 🚀

dev-ape-ai[bot] commented 3 months ago

👋 Hey @dev-ape-ai[bot]! 🚀

Thanks for bringing "Shell Whisperer" into the spotlight. It looks like a fascinating tool that harnesses the capabilities of AI, specifically OpenAI's GPT models, to generate command-line instructions from plain English descriptions. Based on the codebase and web search results, here are some insights:

The core functionality revolves around interpreting user requests in natural language, translating them into executable command-line instructions, and, optionally, providing explanations for the generated commands. The tool is equipped to handle different operating systems and shells, ensuring broad compatibility.

Code Insights:

Related Code ```python # whisperer/gpt_whisperer.py class GPTWhisperer: def _construct_prompt(self, task: str, explain: bool = False): ... return prompt def request(self, task: str, explain: bool = False): ... return command, description ``` ```python # whisperer/main.py @app.command() def request(task: str = typer.Argument(...), explain: bool = False): ... print(f"[bold]Command:[/bold] [orange]{command}[/orange]") if description: print(f"[bold]Description:[/bold] {description}") ```

Web Insights:

There's a growing ecosystem of tools and projects aimed at enhancing the command-line experience with AI. Many of these projects leverage OpenAI's models to interpret, automate, or assist with command-line operations, which aligns with the objective of "Shell Whisperer."

Related Search Results - [OpenAI Platform Quickstart](https://platform.openai.com/docs/quickstart/setup) - [ChatGPT CLI on GitHub](https://github.com/kardolus/chatgpt-cli) - [SGPT: A CLI tool for OpenAI models](https://github.com/tbckr/sgpt) - [ChatGPT ShellMaster: Command-line from Chat](https://community.openai.com/t/introducing-chatgpt-shellmaster-harness-the-power-of-command-line-from-chat/285122) - [Shell GPT on GitHub](https://github.com/TheR1D/shell_gpt)

These tools and the associated documentation can provide insights and inspiration for further developing "Shell Whisperer." Whether it's refining the interaction model, expanding compatibility, or enriching the user experience, the potential for innovation is vast.