ShellSense is an advanced, futuristic Zsh terminal plugin designed to integrate intelligent AI capabilities directly into your command-line interface. This plugin leverages state-of-the-art AI models and a suite of powerful tools to provide expert assistance for a wide range of tasks.
- AI Assistant in the Terminal: Get expert assistance directly in your Zsh terminal for various tasks.
- Integrated Tools:
- WebSearchTool: Perform web searches.
- CrawlerTool: Scrape webpage content.
- ProductHuntTool: Get trending products.
- ScreenshotTool: Capture webpage screenshots.
- TranslatorTool: Translate text.
- WikipediaSearchTool: Search Wikipedia.
- CoderTool: Generate code snippets.
- GitHubTool: Fetch GitHub user info.
- CommandExecutionTool: Execute shell commands.
- StockTool: Fetch stock data.
- Python 3.8 or higher
- Zsh shell
- ChromeDriver installed and path set up for the ScreenshotTool to function properly.
-
Clone the Repository:
git clone https://github.com/your-repo/shellsense.git cd shellsense
-
Install Dependencies:
./setup.sh
-
Add ShellSense to Your Zsh Configuration: The setup script will automatically add the necessary configurations to your
.zshrc
file. Restart your terminal or runsource ~/.zshrc
to activate ShellSense.
-
Chat with OpenAI GPT Model:
shellsense -c "Your query here"
-
Chat with Cloudflare AI Model:
shellsense -cf "Your query here"
-
Process a Query with CopiloHero Tools:
shellsense -q "Your query here"
- shellsense: Main command to interact with the plugin.
- sschat: Alias for
shellsense -c
. - sscfchat: Alias for
shellsense -cf
. - ssai: Alias for
shellsense -q
.
Configure your environment variables in the config/example.env
file:
CLOUDFLARE_ACCOUNT_ID=your-cloudflare-account-id
CLOUDFLARE_AUTH_TOKEN=your-cloudflare-auth-token
OPENAI_API_KEY=your-openai-api-key-here-you-can-skip-this
FUNCTION_CALL_MODEL=@hf/nousresearch/hermes-2-pro-mistral-7b
FRIENDLY_RESPONSE_MODEL=@hf/mistral/mistral-7b-instruct-v0.2
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive messages.
- Open a pull request with a clear description of your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or support, please open an issue on the GitHub repository or contact the maintainers directly.
Experience the future of terminal interaction with ShellSense. Enhance your productivity and unlock new capabilities with intelligent AI integration.