Metadata-Version: 2.1
Name: cgpt
Version: 1.2.2
Summary: Use openai chat-gpt on your cli
Home-page: https://github.com/ainayves/cgpt>
Author: Aina Yves
Author-email: randrianaina.yves@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: setuptools
Requires-Dist: twine
Requires-Dist: click (>=7.1.2)
Requires-Dist: openai
Requires-Dist: python-dotenv
Requires-Dist: termcolor

![](https://komarev.com/ghpvc/?username=ainayves&color=blueviolet)

## Use openai chat-gpt on your CLI
`cgpt` is a Python module that allows you to use Chat-GPT directly in your favorite Terminal.

### ⭐ FEATURES

- AI conversation exactly the same as in openai website
- LAN support (you can use cgpt inside a LAN)

### REQUIREMENTS

- python >=3.7
- openai API KEY : 

You need to register on openai to receive your own api key , here : [api_key](https://platform.openai.com/account/api-keys).

### SETUP

```
pip install cgpt
```

### ⏯️ VERIFY INSTALLATION 

```
cgpt-version
```

### 🚀 RUN

```
cgpt
```

### 🔗 CGPT INSIDE A LOCAL NETWORK

You can use cgpt inside a LAN. 

- You just need one Host (`connected to internet`) to be the server.
- Other Hosts (`not connected to internet`) can ALWAYS use Chat GPT as `client`. 

NOTES : 

- For now , a server must be launched inside a `Linux` computer . If the server is inside `Windows` : the address is sometimes wrong (to be fixed in the next version). 

- Also , make sure that your `/etc/hosts` is configured correctly like :

```
127.0.0.1	localhost
127.0.1.1	your-hostanme
```

- A `client` can also use his own api_key in the next version.


### GITHUB

- [cgpt](https://github.com/ainayves/cgpt/)


