# enes0011456/blue-eyes architecture

> Architecture diagram of the GitHub repository enes0011456/blue-eyes, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/enes0011456/blue-eyes
- Repository: https://github.com/enes0011456/blue-eyes

## Overview

BLUE EYES is a small Turkish-language terminal chatbot built around Google Gemini. Its documented workflow is that a user enters a prompt, the app sends it to Gemini using a configurable persona, and the response is returned in the terminal. The excerpt shows client and chat-session setup and the message request; the main-loop details are omitted, so that interaction is documented rather than verified from the full implementation.

Main entry points: [`blueeyes.py`](https://github.com/enes0011456/blue-eyes/blob/main/blueeyes.py) (Terminal Chat)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_terminal["Terminal Chat<br/>[blueeyes.py]"]
node_persona["Persona Settings<br/>[blueeyes.py]"]
node_chat["Gemini Chat Session<br/>[blueeyes.py]"]
node_gemini{{"Google Gemini"}}

node_user -->|"enters prompt"| node_terminal
node_terminal -.->|"sends prompt"| node_chat
node_persona -->|"configures"| node_chat
node_chat -->|"requests response"| node_gemini
node_gemini -.->|"returns answer"| node_terminal

click node_terminal "https://github.com/enes0011456/blue-eyes/blob/main/blueeyes.py"
click node_persona "https://github.com/enes0011456/blue-eyes/blob/main/blueeyes.py"
click node_chat "https://github.com/enes0011456/blue-eyes/blob/main/blueeyes.py"

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_user toneBlue
class node_terminal,node_persona,node_chat toneTeal
class node_gemini toneIndigo
```

## Components

### Other components

- **User**
- [Terminal Chat](https://github.com/enes0011456/blue-eyes/blob/main/blueeyes.py): `blueeyes.py`
- [Persona Settings](https://github.com/enes0011456/blue-eyes/blob/main/blueeyes.py): `blueeyes.py`
- [Gemini Chat Session](https://github.com/enes0011456/blue-eyes/blob/main/blueeyes.py): `blueeyes.py`
- **Google Gemini**

## Connections

- User → Terminal Chat: enters prompt (evidence: `README.md`)
- Terminal Chat → Gemini Chat Session: sends prompt (evidence: `blueeyes.py`)
- Persona Settings → Gemini Chat Session: configures (evidence: `blueeyes.py`)
- Gemini Chat Session → Google Gemini: requests response (evidence: `blueeyes.py`)
- Google Gemini → Terminal Chat: returns answer
