GRIMOIREsettings

Settings & Health

Platform configuration and service status

System Health

Caricamento Ollama...

Launch Commands

Start Dev Servernpm run dev
Start Workernpm run worker
Start Worker (watch)npm run worker:dev
Production Buildnpm run build
Production Startnpm run start

Important

The worker must run alongside the dev server for book generation to work. Both processes are required simultaneously. Use two terminal windows or the start.sh script.

Platform Architecture

UI (Next.js 14) → POST /api/books → Local Store + BullMQ

BullMQ queue → bookWorker.ts (Redis)

Worker → BookOrchestrator → 7 AI Agents

Agents → GPT-4o / DALL-E 3 → data/books.json

Redis pub/sub → SSE stream → UI (live updates)

GET /api/books/[id]/export → EPUB/DOCX/MD/HTML