This repo contains the main server for ClarityBot. It includes the main server binary, frontend, and supporting setup files. It is recommended to setup on a linux server because of the postgreSQL dependency but it will also run on windows.
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out /etc/ssl/private/claritybot.crt -keyout /etc/ssl/private/iratclaritybot.keyexport CLARITYBOT_POSTGRES_CREDS=username:password
export CLARITYBOT_POSTGRES_ADDR=localhost:5432
export CLARITYBOT_DISTDIR=REPLACEME
export CLARITYBOT_PANEL_BINDADDR=0.0.0.0:4433
export CLARITYBOT_RUNTLS=true
export CLARITYBOT_FILESERVER_ROOT=REPLACEME
export CLARITYBOT_IPINFO_KEY=REPLACEMEGOOS=windows go build -ldflags="-s -w -H=windowsgui -X main.C=" -trimpath
join the discord for more development and tech support. https://discord.gg/P42AuvjT4
