
AstroBot
Your intelligent space-themed AI assistant — university graduation project.
AstroBot is a full-stack AI chat application built around an n8n workflow that routes messages through Mistral, with a layered set of features on top: image generation, OCR, retrieval-augmented generation (RAG), audio transcription, PDF report generation, image-to-image edits, and a separate admin dashboard.
🏗️ Architecture
┌────────────────────────┐
│ User browser │
└─────────┬──────────────┘
│
┌────────────────────────┼────────────────────────┐
│ │ │
┌───────▼────────┐ ┌────────▼──────────┐ ┌───────▼────────┐
│ Main app │ │ Admin dashboard │ │ n8n │
│ Express :3000 │ │ Express :7040 │ │ :5678 │
│ Public chat │ │ Admin / stats / │ │ Mistral cloud │
└───────┬────────┘ │ user management │ │ SerpAPI · Think│
│ └─────────┬─────────┘ └───────┬────────┘
│ │ │
└───────────┬─────────────┘ │
│ │
┌───────▼────────┐ ┌────────▼─────────┐
│ PostgreSQL │ │ HuggingFace │
│ (shared) │ │ FLUX · BLIP · │
│ users · convs ·│ │ MiniLM · TrOCR │
│ docs · workflows └──────────────────┘
└────────────────┘
Three Docker services on the same private network:
| Service | Port | Image | Purpose |
|---|---|---|---|
astrobot | 3000 | astrobot:2.0.0 | Main user-facing chat app |
astrobot-admin | 7040 | astrobot-admin:1.0.0 | Admin dashboard (stats, user mgmt, settings) |
| n8n | 5678 | n8n (external) | LLM workflow orchestration |



