https://github.com/drdataye/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.
https://github.com/drdataye/drgpt
drgpt gpt gpt-3 gpt-4 hackergpt shell terminal
Last synced: about 1 year ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/drdataye/drgpt
- Owner: DrDataYE
- License: mit
- Created: 2024-01-14T22:14:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-15T10:26:01.000Z (over 2 years ago)
- Last Synced: 2025-04-13T08:05:47.209Z (about 1 year ago)
- Topics: drgpt, gpt, gpt-3, gpt-4, hackergpt, shell, terminal
- Homepage: https://www.cyber1101.com
- Size: 149 KB
- Stars: 16
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DrGPT :zap:
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.
## :package: Installation
### Linux
To install DrGPT on a Linux system, use the following commands:
```bash
# 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
```
## :computer: Usage
After installation, `drgpt` can be used from the command line as follows:
- **Generate and Execute Shell Commands**:
```bash
drgpt --shell "update my system"
```
- **Describe Shell Commands**:
```bash
drgpt --describe-shell "ls -hl | grep drgpt"
```
- **Generate Code Only**:
```bash
drgpt --code "give me an example of using flask in python"
```
- **Open Text Editor for Prompt Input**:
```bash
drgpt --editor
```
- **Show Version**:
```bash
drgpt --version
```
- **Follow a Conversation by ID**:
```bash
drgpt --chat
```
- **Save Output to File**:
```bash
drgpt --output
```
For more detailed information, run `drgpt --help`.
## :bulb: Examples
Here are some examples of how to use DrGPT:
1. **Shell Command Generation**:

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

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

```bash
drgpt "how do I use my system in the command line?"
```
## :memo: Notes
- Ensure Python 3 and other necessary dependencies are installed on your system.
- You may need root permissions to install the package.
## :scroll: License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---
*Enjoy using DrGPT!* :rocket: