Skip to content
/ DrGPT Public

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.

License

Notifications You must be signed in to change notification settings

DrDataYE/DrGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 🚀

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published