cgpt
is a Python module that allows you to use Chat-GPT directly in your favorite Terminal.
- python >=3.7
- openai API KEY : You need to register on openai to receive your own api key , here : api_key.
pip install -r requirements.txt
- For this part , it is better to use Linux.
If you are on Linux , launch:
sudo chmod +x build.sh
Then , :
./build.sh
cgpt-version
cgpt
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 asclient
.
NOTES :
-
For now , a server must be launched inside a
Linux
computer . If the server is insideWindows
: 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.
Please feel free to leave feedback in issues/PRs.