Initial implementation of IRC LLM bot

Full implementation from spec: ZNC/IRC client with TLS, Ollama LLM backend,
per-user SQLite conversation memory, and Flask web admin portal with 7 pages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
tocmo0nlord
2026-04-17 22:08:53 -04:00
commit b154f63cfa
25 changed files with 2916 additions and 0 deletions

37
docker-compose.yml Normal file
View File

@@ -0,0 +1,37 @@
version: "3.9"
services:
irc-bot:
build: .
container_name: irc-bot
restart: unless-stopped
command: python -m bot.irc_client
env_file: .env
volumes:
- ./config:/app/config
- ./logs:/app/logs
- ./data:/app/data
networks:
- botnet
portal:
build: .
container_name: irc-bot-portal
restart: unless-stopped
command: python -m portal.app
env_file: .env
ports:
- "${PORTAL_PORT:-8080}:8080"
volumes:
- ./config:/app/config
- ./logs:/app/logs
- ./data:/app/data
networks:
- botnet
depends_on:
- irc-bot
networks:
botnet:
driver: bridge