Skip to content

Latest commit

 

History

History
101 lines (66 loc) · 1.97 KB

README.md

File metadata and controls

101 lines (66 loc) · 1.97 KB

DrGPT ⚡

DrGPT is an interactive Command-Line Interface (CLI) tool that leverages the GPT model for various tasks such as answering questions, executing shell commands, and more.

📦 Installation

Linux

To install DrGPT on a Linux system, use the following commands:

# Download the .deb package
wget https://github.com/DrDataYE/DrGPT/releases/download/drgpt/drgpt_1.0_beta_all_linux.deb

# Install the package
sudo dpkg -i drgpt_1.0_beta_all_linux.deb

💻 Usage

After installation, drgpt can be used from the command line as follows:

  • Generate and Execute Shell Commands:

    drgpt --shell "update my system"
  • Describe Shell Commands:

    drgpt --describe-shell "ls -hl | grep drgpt"
  • Generate Code Only:

    drgpt --code "give me an example of using flask in python"
  • Open Text Editor for Prompt Input:

    drgpt --editor
  • Show Version:

    drgpt --version
  • Follow a Conversation by ID:

    drgpt --chat <chat_id>
  • Save Output to File:

    drgpt --output <file_path>

For more detailed information, run drgpt --help.

💡 Examples

Here are some examples of how to use DrGPT:

  1. Shell Command Generation:

    Shell Command Generation

    drgpt --shell "install the metasploit framework on my system"
  2. Code Generation:

    Code Generation

    drgpt --code "give me python code for a reverse shell"
  3. Conversation Follow-up:

    Conversation Follow-up

    drgpt "how do I use my system in the command line?"

📝 Notes

  • Ensure Python 3 and other necessary dependencies are installed on your system.
  • You may need root permissions to install the package.

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.


Enjoy using DrGPT! 🚀