/chadgpt

ChadGPT is a simple IRC bot that replies to messages using OpenAI's GPT models

Primary LanguageJavaScriptApache License 2.0Apache-2.0

chadgpt

codecov Continuous Integration

ChadGPT is a simple IRC bot that replies to messages using OpenAI's GPT models.

Usage

To use the container image with Docker, run:

docker run \
  -e OPENAI_API_KEY=<your openapi key> \
  -v ./config.yaml:/usr/src/app/config.yaml \
  ghcr.io/rwx-labs/chadgpt:edge

Development

First, make sure you use the expected Node.js version.

  • If you use nvm, run nvm use
  • If you use fnm, run fnm use

Next, install pnpm if you haven't already:

npm install -g pnpm

Then install the project dependencies:

pnpm install

Finally, you can start the client (make sure you edit config.yaml):

pnpm start

License

This is licensed under the Apache 2.0 license.