# euntella/vc architecture

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

- Interactive diagram: https://gitdiagram.com/euntella/vc
- Repository: https://github.com/euntella/vc

## Overview

VC is a collection of weekly learning projects rather than one integrated application. The README describes a handwritten-digit recognizer and an AI time tracker; the tree and sampled sources also show separate quiz, task-list, page-solving, empathy-diary, and PDF-summary apps. The graph keeps these workflows independent. The time-tracker’s main UI and sync client are identified from the tree, while its README documents the broader capabilities; their unsampled internals are not inferred. The README mentions a week03 web version, but no corresponding source directory appears in the supplied tree.

Main entry points: [`pbl/time_tracker/script.js`](https://github.com/euntella/vc/blob/main/pbl/time_tracker/script.js) (Diary and records), [`week07/quiz_app/script.js`](https://github.com/euntella/vc/blob/main/week07/quiz_app/script.js) (Quiz gameplay), [`week13/script.js`](https://github.com/euntella/vc/blob/main/week13/script.js) (PDF summary app), [`week11/page-solver/reader.js`](https://github.com/euntella/vc/blob/main/week11/page-solver/reader.js) (Page reader UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_tracker["AI time tracker"]
  node_tracker_ui["Diary and records<br/>[script.js]"]
  node_tracker_ai["AI schedule parsing"]
  node_tracker_sync["Device sync client<br/>[sync.js]"]
  node_tracker_api["Sync API<br/>[worker.mjs]"]
  node_tracker_db[("Daily records store")]
end

subgraph group_learning["Learning apps"]
  node_quiz_ui["Quiz gameplay<br/>[script.js]"]
  node_quiz_data[("Quiz persistence and stats<br/>[data-manager.js]")]
  node_quiz_questions["Question data<br/>[sample-data.js]"]
  node_todo_ui["Task management<br/>[script.js]"]
end

subgraph group_assistants["AI assistants"]
  node_solver_ui["Page reader UI<br/>[reader.js]"]
  node_solver_core["Page solving<br/>[core.mjs]"]
  node_diary_ui["Empathy diary UI<br/>[script.js]"]
  node_diary_ai["Diary analysis<br/>[ai.js]"]
  node_summary_ui["PDF summary app<br/>[script.js]"]
  node_summary_extract["PDF text extraction<br/>[pdf_extract.js]"]
  node_summary_ai["Summary generation<br/>[ai.js]"]
end

subgraph group_weekly["Weekly projects"]
  node_digit_ui["Digit drawing GUI"]
  node_digit_model["Model training<br/>[train_model.py]"]
end

node_person(("User"))
node_openrouter{{"OpenRouter"}}
node_todo_person(("Task-list user"))
node_openai{{"OpenAI API"}}

node_person -->|"records day"| node_tracker_ui
node_tracker_ui -->|"requests parsing"| node_tracker_ai
node_tracker_ui -->|"syncs records"| node_tracker_sync
node_tracker_api -->|"reads and writes"| node_tracker_db
node_person -.->|"plays quiz"| node_quiz_ui
node_quiz_ui -->|"persists results"| node_quiz_data
node_quiz_ui -.->|"uses questions"| node_quiz_questions
node_todo_person -->|"manages tasks"| node_todo_ui
node_person -->|"reads page"| node_solver_ui
node_solver_ui -->|"calls solver"| node_solver_core
node_solver_core -->|"sends request"| node_openai
node_person -->|"submits diary"| node_diary_ui
node_diary_ui -->|"analyzes entry"| node_diary_ai
node_person -.->|"summarizes PDF"| node_summary_ui
node_summary_ui -.->|"extracts text"| node_summary_extract
node_summary_ui -.->|"requests summary"| node_summary_ai
node_person -->|"draws digit"| node_digit_ui
node_digit_model -.->|"provides model"| node_digit_ui

click node_tracker_ui "https://github.com/euntella/vc/blob/main/pbl/time_tracker/script.js"
click node_tracker_ai "https://github.com/euntella/vc/tree/main/pbl/time_tracker"
click node_tracker_sync "https://github.com/euntella/vc/blob/main/pbl/time_tracker/sync.js"
click node_tracker_api "https://github.com/euntella/vc/blob/main/pbl/time_tracker/worker.mjs"
click node_tracker_db "https://github.com/euntella/vc/blob/main/pbl/time_tracker/0000_daily_records.sql"
click node_quiz_ui "https://github.com/euntella/vc/blob/main/week07/quiz_app/script.js"
click node_quiz_data "https://github.com/euntella/vc/blob/main/week07/quiz_app/data-manager.js"
click node_quiz_questions "https://github.com/euntella/vc/blob/main/week07/quiz_app/sample-data.js"
click node_todo_ui "https://github.com/euntella/vc/blob/main/week06/web_version/script.js"
click node_solver_ui "https://github.com/euntella/vc/blob/main/week11/page-solver/reader.js"
click node_solver_core "https://github.com/euntella/vc/blob/main/week11/page-solver/core.mjs"
click node_diary_ui "https://github.com/euntella/vc/blob/main/week12/script.js"
click node_diary_ai "https://github.com/euntella/vc/blob/main/week12/ai.js"
click node_summary_ui "https://github.com/euntella/vc/blob/main/week13/script.js"
click node_summary_extract "https://github.com/euntella/vc/blob/main/week13/pdf_extract.js"
click node_summary_ai "https://github.com/euntella/vc/blob/main/week13/ai.js"
click node_digit_ui "https://github.com/euntella/vc/blob/main/week03/desktop_version/digit_recognizer_gui.py"
click node_digit_model "https://github.com/euntella/vc/blob/main/week03/desktop_version/train_model.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_tracker_ui,node_tracker_ai,node_tracker_sync,node_tracker_api,node_tracker_db,node_person toneBlue
class node_quiz_ui,node_quiz_data,node_quiz_questions,node_todo_ui toneAmber
class node_solver_ui,node_solver_core,node_diary_ui,node_diary_ai,node_summary_ui,node_summary_extract,node_summary_ai,node_openrouter,node_openai toneMint
class node_digit_ui,node_digit_model,node_todo_person toneRose
```

## Components

### AI time tracker

- [Diary and records](https://github.com/euntella/vc/blob/main/pbl/time_tracker/script.js): `pbl/time_tracker/script.js`
- [AI schedule parsing](https://github.com/euntella/vc/tree/main/pbl/time_tracker): `pbl/time_tracker`
- [Device sync client](https://github.com/euntella/vc/blob/main/pbl/time_tracker/sync.js): `pbl/time_tracker/sync.js`
- [Sync API](https://github.com/euntella/vc/blob/main/pbl/time_tracker/worker.mjs): `pbl/time_tracker/worker.mjs`
- [Daily records store](https://github.com/euntella/vc/blob/main/pbl/time_tracker/0000_daily_records.sql): `pbl/time_tracker/0000_daily_records.sql`

### Learning apps

- [Quiz gameplay](https://github.com/euntella/vc/blob/main/week07/quiz_app/script.js): `week07/quiz_app/script.js`
- [Quiz persistence and stats](https://github.com/euntella/vc/blob/main/week07/quiz_app/data-manager.js): `week07/quiz_app/data-manager.js`
- [Question data](https://github.com/euntella/vc/blob/main/week07/quiz_app/sample-data.js): `week07/quiz_app/sample-data.js`
- [Task management](https://github.com/euntella/vc/blob/main/week06/web_version/script.js): `week06/web_version/script.js`

### AI assistants

- [Page reader UI](https://github.com/euntella/vc/blob/main/week11/page-solver/reader.js): `week11/page-solver/reader.js`
- [Page solving](https://github.com/euntella/vc/blob/main/week11/page-solver/core.mjs): `week11/page-solver/core.mjs`
- [Empathy diary UI](https://github.com/euntella/vc/blob/main/week12/script.js): `week12/script.js`
- [Diary analysis](https://github.com/euntella/vc/blob/main/week12/ai.js): `week12/ai.js`
- [PDF summary app](https://github.com/euntella/vc/blob/main/week13/script.js): `week13/script.js`
- [PDF text extraction](https://github.com/euntella/vc/blob/main/week13/pdf_extract.js): `week13/pdf_extract.js`
- [Summary generation](https://github.com/euntella/vc/blob/main/week13/ai.js): `week13/ai.js`

### Weekly projects

- [Digit drawing GUI](https://github.com/euntella/vc/blob/main/week03/desktop_version/digit_recognizer_gui.py): `week03/desktop_version/digit_recognizer_gui.py`
- [Model training](https://github.com/euntella/vc/blob/main/week03/desktop_version/train_model.py): `week03/desktop_version/train_model.py`

### Other components

- **User**
- **OpenRouter**
- **Task-list user**
- **OpenAI API**

## Connections

- User → Diary and records: records day (evidence: `README.md`)
- Diary and records → AI schedule parsing: requests parsing (evidence: `README.md`)
- Diary and records → Device sync client: syncs records (evidence: `README.md`)
- Sync API → Daily records store: reads and writes (evidence: `pbl/time_tracker/worker.mjs`)
- User → Quiz gameplay: plays quiz
- Quiz gameplay → Quiz persistence and stats: persists results (evidence: `week07/quiz_app/data-manager.js`)
- Quiz gameplay → Question data: uses questions
- Task-list user → Task management: manages tasks (evidence: `week06/web_version/script.js`)
- User → Page reader UI: reads page (evidence: `week11/page-solver/reader.js`)
- Page reader UI → Page solving: calls solver (evidence: `week11/page-solver/reader.js`)
- Page solving → OpenAI API: sends request (evidence: `week11/page-solver/core.mjs`)
- User → Empathy diary UI: submits diary (evidence: `week12/script.js`)
- Empathy diary UI → Diary analysis: analyzes entry (evidence: `week12/script.js`)
- User → PDF summary app: summarizes PDF
- PDF summary app → PDF text extraction: extracts text
- PDF summary app → Summary generation: requests summary
- User → Digit drawing GUI: draws digit (evidence: `week03/desktop_version/digit_recognizer_gui.py`)
- Model training → Digit drawing GUI: provides model
