add initial complete webui, more ai commands for moderation, add api

This commit is contained in:
Aidan 2025-07-05 14:36:17 -04:00
parent 19e794e34c
commit 173d4e7a52
112 changed files with 8176 additions and 780 deletions

19
start-services.sh Normal file
View file

@ -0,0 +1,19 @@
#!/bin/bash
echo "Starting BOT..."
cd /usr/src/app
bun start 2>&1 | sed "s/^/[BOT] /" &
BOT_PID=$!
echo "BOT started with PID $BOT_PID"
echo "Starting WEBUI..."
cd /usr/src/app/webui
bun run start 2>&1 | sed "s/^/[WEBUI] /" &
WEBUI_PID=$!
echo "WEBUI started with PID $WEBUI_PID"
echo "Services started:"
echo " Bot PID: $BOT_PID"
echo " WebUI PID: $WEBUI_PID"
wait $BOT_PID $WEBUI_PID