Skip to content

AI SUGGEST is a powerful command-line assistant that leverages AI to provide accurate Linux commands based on natural language queries. Simplify your terminal interactions with seamless integration and smart command suggestions.

Notifications You must be signed in to change notification settings

Mister-iks/ai_suggest_deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai_suggest

ai_suggest is a command line utility that provides command suggestions based on user queries. Through our API https://suggest.includes-ai.com/includes_suggest, this project allows users to request suggestions Linux commands from their terminal quickly and easily.

Features

  • Suggests commands based on user queries.
  • Easy installation via an install.sh script.

Prerequisites

  • Python 3.6 or higher
  • Python requests module

Installation: Below are the steps to install the client script

Step 1: Download the Files

Clone the GitHub repository or download the client.py, install.sh, and requirements.txt files manually.

git clone https://github.com/Mister-iks/ai_suggest_deployment.git
cd ai_suggest_deployment

Important Note

NB: The API key included in the client.py file is intentionally left accessible to allow public testing. In a real-world scenario, each user should have their own API key. For the final version, the API key will be moved to a .env file for security reasons.

Step 2: Run the Installation Script

The install.sh script installs the required Python packages, copies the client.py script to the /usr/local/bin directory, and creates an executable. Ensure that the shebang line in client.py matches your Python interpreter location (usually #!/usr/bin/env python3).

sudo ./install.sh

Important Note

  • Shebang Line: Make sure that the shebang line at the top of the client.py file points to the correct Python interpreter. If it is different from #!/usr/bin/env python3, adjust it accordingly. The install.sh script assumes that the shebang line is correct.

Usage

After installation, you can use ai_suggest from any directory in your terminal.

Example Command

To get a command suggestion, use:

ai_suggest "list files in the current directory"

Contribution

Contributions are welcome! If you want to contribute to the project, please submit pull requests or report issues via the GitHub repository.

Thank you for using ai_suggest! If you have any questions or suggestions, feel free to open an issue on GitHub or contact me on Linkedin.

About

AI SUGGEST is a powerful command-line assistant that leverages AI to provide accurate Linux commands based on natural language queries. Simplify your terminal interactions with seamless integration and smart command suggestions.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published