This is an ExpressJS server with an API endpoint to make changes to code files while streaming the results.
Before running the server, ensure you have the following prerequisites installed on your system:
Before running the server, you need to set the following environment variables:
OPENAI_API_KEY
: (Required) Your OpenAI API keyHELICONE_API_KEY
: (Optional) Your Helicone API keyCLERK_API_KEY
: (Required) Your Clerk API key
To use, first install dependencies:
yarn install
To run in production mode:
yarn start
To run in development mode:
yarn dev
To run with Docker:
docker build -t gitwit-server .
docker run -d -p 3001:3001 --env-file .env gitwit-server