# cptc-computer-programming/rubber-duck-cam-t architecture

> Architecture diagram of the GitHub repository cptc-computer-programming/rubber-duck-cam-t, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cptc-computer-programming/rubber-duck-cam-t
- Repository: https://github.com/cptc-computer-programming/rubber-duck-cam-t
- Video tour (about a minute): https://gitdiagram.com/cptc-computer-programming/rubber-duck-cam-t/video

## Overview

CAM-T Rubber Duck is a campus-hosted chatbot deployment: users send messages through Open WebUI, which uses Ollama to run a model on the server GPU. Administrators manage accounts through the web interface and can pull models into Ollama. The README also documents persisted accounts, conversations, settings, and models. No source excerpts were provided, so this map uses only README-documented relationships; service and storage implementation details are not independently verified.

Main entry points: [`compose.yaml`](https://github.com/cptc-computer-programming/rubber-duck-cam-t/blob/main/compose.yaml) (Open WebUI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Chat interface"]
  node_webui["Open WebUI<br/>[compose.yaml]"]
end

subgraph group_inference["Model inference"]
  node_ollama["Ollama<br/>[compose.yaml]"]
end

subgraph group_state["Persistent state"]
  node_data[("Application data")]
end

node_browser(("Browser user"))
node_gpu["NVIDIA GPU"]
node_operator(("Administrator"))

node_browser -->|"sends messages"| node_webui
node_webui -->|"requests inference"| node_ollama
node_ollama -->|"runs model on"| node_gpu
node_operator -->|"manages accounts"| node_webui
node_operator -->|"pulls models"| node_ollama

click node_webui "https://github.com/cptc-computer-programming/rubber-duck-cam-t/blob/main/compose.yaml"
click node_ollama "https://github.com/cptc-computer-programming/rubber-duck-cam-t/blob/main/compose.yaml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_webui,node_browser toneBlue
class node_ollama toneAmber
class node_data toneMint
class node_gpu,node_operator toneIndigo
```

## Components

### Chat interface

- [Open WebUI](https://github.com/cptc-computer-programming/rubber-duck-cam-t/blob/main/compose.yaml): `compose.yaml`

### Model inference

- [Ollama](https://github.com/cptc-computer-programming/rubber-duck-cam-t/blob/main/compose.yaml): `compose.yaml`

### Persistent state

- **Application data**

### Other components

- **Browser user**
- **NVIDIA GPU**
- **Administrator**

## Connections

- Browser user → Open WebUI: sends messages (evidence: `README.md`)
- Open WebUI → Ollama: requests inference (evidence: `README.md`)
- Ollama → NVIDIA GPU: runs model on (evidence: `README.md`)
- Administrator → Open WebUI: manages accounts (evidence: `README.md`)
- Administrator → Ollama: pulls models (evidence: `README.md`)
