# taewook427/webmain architecture

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

- Interactive diagram: https://gitdiagram.com/taewook427/webmain
- Repository: https://github.com/taewook427/webmain

## Overview

WebMain is a lightweight portal linking to several independent browser-based tools. Users choose a project from the portal, provide inputs in that tool, and receive a result such as a comparison, estimate, converted image, archive, or project-history view. The graph separates the portal, domain tools, and their main processing layers. Relationships for sampled code are based on excerpts; portal links and unsampled capabilities are based on the README, so some internal wiring is intentionally not shown.

Main entry points: [`index.html`](https://github.com/taewook427/webmain/blob/main/index.html) (WebMain Portal), [`gr1_test610`](https://github.com/taewook427/webmain/tree/main/gr1_test610) (Lecture Analysis), [`py_copycheck`](https://github.com/taewook427/webmain/tree/main/py_copycheck) (Python Code Checker), [`goodbye-ai-block`](https://github.com/taewook427/webmain/tree/main/goodbye-ai-block) (AI Block Converter)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portal["Portal"]
  node_webmain["WebMain Portal<br/>[index.html]"]
end

subgraph group_analysis["Analysis Tools"]
  node_lecture["Lecture Analysis"]
  node_lecture_logic["Capacity &amp; Ranking<br/>[test610.js]"]
  node_copycheck["Python Code Checker"]
  node_similarity["Similarity Scoring<br/>[test497.js]"]
end

subgraph group_media["Media Utilities"]
  node_converter["AI Block Converter"]
  node_converter_ui["Image &amp; Text UI<br/>[converter.js]"]
  node_obfuscator["Obfuscation Engine<br/>[obfuscator.js]"]
  node_kzip["Archive Tool"]
  node_archive_ui["Archive UI<br/>[script.js]"]
  node_archive_worker["Archive Worker<br/>[script.js]"]
end

subgraph group_history["History Viewer"]
  node_history_app["Project History"]
  node_history_render["Timeline Renderer<br/>[render.js]"]
  node_history_data[("History CSV Data")]
end

subgraph group_light["Lightweight Tools"]
  node_yas["YAS Web Lite"]
  node_clock["Clock &amp; Timers"]
end

node_visitor(("Visitor"))
node_sevenzip["7z WASM CDN"]

node_visitor -->|"opens"| node_webmain
node_webmain -->|"links to"| node_lecture
node_webmain -->|"links to"| node_copycheck
node_webmain -->|"links to"| node_history_app
node_webmain -->|"links to"| node_yas
node_webmain -->|"links to"| node_kzip
node_webmain -->|"links to"| node_clock
node_webmain -->|"links to"| node_converter
node_visitor -.->|"uses"| node_lecture
node_lecture -->|"calculates"| node_lecture_logic
node_visitor -.->|"uses"| node_copycheck
node_copycheck -->|"scores code"| node_similarity
node_visitor -.->|"opens"| node_history_app
node_history_app -->|"renders"| node_history_render
node_history_render -->|"fetches CSV"| node_history_data
node_visitor -.->|"uses"| node_converter
node_converter -->|"handles files"| node_converter_ui
node_converter_ui -->|"transforms images"| node_obfuscator
node_visitor -.->|"uses"| node_kzip
node_kzip -->|"handles archives"| node_archive_ui
node_archive_ui -->|"dispatches work"| node_archive_worker
node_archive_worker -->|"loads 7z"| node_sevenzip
node_visitor -.->|"uses"| node_yas
node_visitor -.->|"uses"| node_clock

click node_webmain "https://github.com/taewook427/webmain/blob/main/index.html"
click node_lecture "https://github.com/taewook427/webmain/tree/main/gr1_test610"
click node_lecture_logic "https://github.com/taewook427/webmain/blob/main/gr1_test610/test610.js"
click node_copycheck "https://github.com/taewook427/webmain/tree/main/py_copycheck"
click node_similarity "https://github.com/taewook427/webmain/blob/main/py_copycheck/test497.js"
click node_history_app "https://github.com/taewook427/webmain/tree/main/devHistory"
click node_history_render "https://github.com/taewook427/webmain/blob/main/devHistory/render.js"
click node_history_data "https://github.com/taewook427/webmain/tree/main/devHistory"
click node_converter "https://github.com/taewook427/webmain/tree/main/goodbye-ai-block"
click node_converter_ui "https://github.com/taewook427/webmain/blob/main/goodbye-ai-block/converter.js"
click node_obfuscator "https://github.com/taewook427/webmain/blob/main/goodbye-ai-block/obfuscator.js"
click node_kzip "https://github.com/taewook427/webmain/tree/main/kzip-lite"
click node_archive_ui "https://github.com/taewook427/webmain/blob/main/kzip-lite/script.js"
click node_archive_worker "https://github.com/taewook427/webmain/blob/main/kzip-lite/script.js"
click node_yas "https://github.com/taewook427/webmain/tree/main/YAS-web-lite"
click node_clock "https://github.com/taewook427/webmain/tree/main/webClock"

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_webmain toneBlue
class node_lecture,node_lecture_logic,node_copycheck,node_similarity toneAmber
class node_converter,node_converter_ui,node_obfuscator,node_kzip,node_archive_ui,node_archive_worker toneMint
class node_history_app,node_history_render,node_history_data toneRose
class node_yas,node_clock,node_visitor,node_sevenzip toneIndigo
```

## Components

### Portal

- [WebMain Portal](https://github.com/taewook427/webmain/blob/main/index.html): `index.html`

### Analysis Tools

- [Lecture Analysis](https://github.com/taewook427/webmain/tree/main/gr1_test610): `gr1_test610`
- [Capacity & Ranking](https://github.com/taewook427/webmain/blob/main/gr1_test610/test610.js): `gr1_test610/test610.js`
- [Python Code Checker](https://github.com/taewook427/webmain/tree/main/py_copycheck): `py_copycheck`
- [Similarity Scoring](https://github.com/taewook427/webmain/blob/main/py_copycheck/test497.js): `py_copycheck/test497.js`

### Media Utilities

- [AI Block Converter](https://github.com/taewook427/webmain/tree/main/goodbye-ai-block): `goodbye-ai-block`
- [Image & Text UI](https://github.com/taewook427/webmain/blob/main/goodbye-ai-block/converter.js): `goodbye-ai-block/converter.js`
- [Obfuscation Engine](https://github.com/taewook427/webmain/blob/main/goodbye-ai-block/obfuscator.js): `goodbye-ai-block/obfuscator.js`
- [Archive Tool](https://github.com/taewook427/webmain/tree/main/kzip-lite): `kzip-lite`
- [Archive UI](https://github.com/taewook427/webmain/blob/main/kzip-lite/script.js): `kzip-lite/script.js`
- [Archive Worker](https://github.com/taewook427/webmain/blob/main/kzip-lite/script.js): `kzip-lite/script.js`

### History Viewer

- [Project History](https://github.com/taewook427/webmain/tree/main/devHistory): `devHistory`
- [Timeline Renderer](https://github.com/taewook427/webmain/blob/main/devHistory/render.js): `devHistory/render.js`
- [History CSV Data](https://github.com/taewook427/webmain/tree/main/devHistory): `devHistory`

### Lightweight Tools

- [YAS Web Lite](https://github.com/taewook427/webmain/tree/main/YAS-web-lite): `YAS-web-lite`
- [Clock & Timers](https://github.com/taewook427/webmain/tree/main/webClock): `webClock`

### Other components

- **Visitor**
- **7z WASM CDN**

## Connections

- Visitor → WebMain Portal: opens (evidence: `README.md`)
- WebMain Portal → Lecture Analysis: links to (evidence: `README.md`)
- WebMain Portal → Python Code Checker: links to (evidence: `README.md`)
- WebMain Portal → Project History: links to (evidence: `README.md`)
- WebMain Portal → YAS Web Lite: links to (evidence: `README.md`)
- WebMain Portal → Archive Tool: links to (evidence: `README.md`)
- WebMain Portal → Clock & Timers: links to (evidence: `README.md`)
- WebMain Portal → AI Block Converter: links to (evidence: `README.md`)
- Visitor → Lecture Analysis: uses
- Lecture Analysis → Capacity & Ranking: calculates (evidence: `gr1_test610/test610.js`)
- Visitor → Python Code Checker: uses
- Python Code Checker → Similarity Scoring: scores code (evidence: `py_copycheck/test497.js`)
- Visitor → Project History: opens
- Project History → Timeline Renderer: renders (evidence: `devHistory/render.js`)
- Timeline Renderer → History CSV Data: fetches CSV (evidence: `devHistory/render.js`)
- Visitor → AI Block Converter: uses
- AI Block Converter → Image & Text UI: handles files (evidence: `goodbye-ai-block/converter.js`)
- Image & Text UI → Obfuscation Engine: transforms images (evidence: `goodbye-ai-block/converter.js`)
- Visitor → Archive Tool: uses
- Archive Tool → Archive UI: handles archives (evidence: `kzip-lite/script.js`)
- Archive UI → Archive Worker: dispatches work (evidence: `kzip-lite/script.js`)
- Archive Worker → 7z WASM CDN: loads 7z (evidence: `kzip-lite/script.js`)
- Visitor → YAS Web Lite: uses
- Visitor → Clock & Timers: uses
