No description
Find a file
Augusto Dwenger J. 4282c7208c
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
ci/woodpecker/tag/java/1 Pipeline was successful
ci/woodpecker/tag/java/2 Pipeline was successful
ci/woodpecker/tag/java/3 Pipeline was successful
ci/woodpecker/tag/java/4 Pipeline was successful
ci/woodpecker/tag/nodejs Pipeline was successful
ci/woodpecker/tag/oci-image-build/1 Pipeline was successful
ci/woodpecker/tag/oci-image-build/2 Pipeline was successful
ci/woodpecker/tag/oci-image-build/3 Pipeline was successful
ci/woodpecker/tag/oci-image-build/4 Pipeline was successful
ci: Update buildx image to 2.3.0
2024-01-07 18:47:37 +01:00
.woodpecker ci: Update buildx image to 2.3.0 2024-01-07 18:47:37 +01:00
bot bot: Set ignore on ChatGPTResponse de/serialisation of unknown fields 2024-01-07 17:48:39 +01:00
db Add support to use chat hitory for context in private chats 2023-05-21 20:03:34 +02:00
migration Move dependency version management from module to parent pom 2023-05-21 19:04:20 +02:00
ui ui: Fix title in browser tab 2023-12-08 20:07:24 +01:00
web misc: Disable preview-feature 2023-12-08 20:27:03 +01:00
.dockerignore ui: Add Dockerfile target for building the UI 2023-11-23 21:02:05 +01:00
.env.example Update deployment 2023-05-20 20:22:00 +02:00
.gitignore misc: Ignore data directory from local setup 2023-11-23 22:08:35 +01:00
docker-compose.yml misc: Disable preview-feature 2023-12-08 20:27:03 +01:00
Dockerfile build: Fix caddy config 2023-12-08 20:06:28 +01:00
LICENSE Change license from MIT to MPL-2.0 2023-05-16 03:06:52 +02:00
pom.xml misc: Update dependencies to news version 2023-11-23 21:00:20 +01:00
README.md doc: Add minimal section for the UI 2023-11-23 22:50:36 +01:00

dchat

A ChatGPT Bot for Discord.

Installation

Requirements:

Clone the project

git clone https://git.hhhammer.de/hamburghammer/dchat.git
cd dchat

Obtain the images

Build the images

docker compose build

Configure environment

cp .env.example .env

Fill the required variables.

Start

For the fist time we want to start the containers in the following order:

First crate the DB.

docker compose up -d db

Crate the required tables and migrate already existing data.

docker compose up -d migration

Start the final apps.

docker compose up -d

Invite

Invite the bot through the link provided in the container logs.

docker compose logs bot

Permissions

After starting the stack, navigate to localhost:8081 and feel free to configure who and how much they can use the bot :)

LICENSE

The software is licensed under the MPL-2.0 license.