A terminal interface for OpenAI's ChatGPT
 
 
Go to file
-fab- f7a1581960 Added config file support (0.0.2) 2023-02-11 03:10:44 +01:00
src Added config file support (0.0.2) 2023-02-11 03:10:44 +01:00
.gitignore Added config file support (0.0.2) 2023-02-11 03:10:44 +01:00
LICENSE Initial pre-alpha commit (0.0.1) 2023-02-10 18:48:13 +01:00
README.md Added config file support (0.0.2) 2023-02-11 03:10:44 +01:00
config-dist.ini Added config file support (0.0.2) 2023-02-11 03:10:44 +01:00
pyproject.toml Initial pre-alpha commit (0.0.1) 2023-02-10 18:48:13 +01:00
requirements.txt Initial pre-alpha commit (0.0.1) 2023-02-10 18:48:13 +01:00
setup.py Initial pre-alpha commit (0.0.1) 2023-02-10 18:48:13 +01:00

README.md

pychatgpt

A terminal application to query OpenAI's ChatGPT

Pre-Alpha

This is still in pre-alpha stage:

  1. I can't get the conversation container to scroll to the bottom, when a message from ChatGPT arrives.
  2. It still breaks on network errors (not ChatGPT errors)
  3. There are a lot of features missing

Installation

Your OpenAI API key must be stored in the $OPENAI_API_KEY environment variable

export OPENAI_API_KEY="<your api key>"

Clone the repository

git clone https://codeberg.org/fab/pychatgpt.git

Create a virtual environment

cd pychatgpt
python -m venv venv
. venv/bin/activate

Install the package with pip

pip install .

Start from within the virtual environment with config file as parameter

pychatgpt config-dist.ini