Metadata-Version: 2.1
Name: term-chatgpt
Version: 1.0
Summary: Ask ChatGPT directly on your terminal! Fast & Free.
Author: AWeirdDev
Author-email: aweirdscratcher@gmail.com
License: MIT License
        
        Copyright (c) 2023 AWeirdDev @ tw
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Project-URL: Homepage, https://github.com/AWeirdScratcher/term-gpt
Keywords: chatgpt,gpt,free,terminal,textual,rich,chat-gpt,ai
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# term-gpt
Ask ChatGPT directly on your terminal! Fast & No OpenAI API key required!

## Quick Start
```bash
$ term-gpt
```
```
? Select mode (Use arrow keys or k-up and j-down keys.)
   terminal chat
   full screen
 » quick ask
   run commands

Ask: Who are you?
✨ Response:
I am Copilot, a large language model developed by OpenAI that can assist in generating human-like text based on the given prompt.
```

## Modes
`term-gpt` has four different modes, including:
- `termainl`: Terminal chat. (continuous)
- `full`: Full screen mode.
- `quick`: "Quick ask" mode. (one-time)
- `run`: Run & ask ChatGPT about shell commands.

Additionally, you can specify the modes by using the `-m` argument. For instance: `term-gpt -m terminal`. Or, if you want to assign the question, use the `-a` argument. For instance: `term-gpt -a "Hello!"`.

### terminal
Terminal chat.

```bash
$ term-gpt -m terminal
```
```
(hint: type 'quit' to quit)

🤔 Who are you?

✨ Copilot
Hello! I am Copilot, a large language model trained by OpenAI. How may I  
assist you today?
```

### full
Full screen mode.

![Full Screen Preview](https://i.imgur.com/EjYcT0p.png)

### quick
Quick mode.

```bash
$ term-gpt -m quick
```
```
Ask: Hello!
✨ Response:
Hi there!
```

### run
Run & ask ChatGPT about shell commands. (Based on your platform)

```bash
$ term-gpt -m run
```
```
(hint: type 'quit' to quit)

🔎 I want to see all the files in this dir
... Working

✨ Copilot
ls

? Select an action (Use arrow keys or k-up and j-down keys.)
 » ✅ Execute
   ✨ Explain
   🤔 Revise
   🔁 Retry
   ❌ Cancel
```

