# chupsu/archive architecture

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

- Interactive diagram: https://gitdiagram.com/chupsu/archive
- Repository: https://github.com/chupsu/archive

## Overview

The tree combines independent website JavaScript bundles with a PHPMailer distribution and a Kepple contact-mail endpoint; no README describes a unified product workflow. The sampled site bundles expose mostly bundled UI/library code, so their internal page flows are not mapped. PHPMailer’s core mail composition and SMTP transport are visible, while POP3 and OAuth remain distinct capabilities. Edges are limited to relationships shown in excerpts or SOURCE INDEX references.

Main entry points: [`kepple/phpmailer/src/PHPMailer.php`](https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/PHPMailer.php) (Mail composition and send), [`kepple/phpmailer/src/SMTP.php`](https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/SMTP.php) (SMTP transport), [`kepple/sendmail.php`](https://github.com/chupsu/archive/blob/main/kepple/sendmail.php) (Contact mail handler), [`kepple/phpmailer/get_oauth_token.php`](https://github.com/chupsu/archive/blob/main/kepple/phpmailer/get_oauth_token.php) (OAuth token example)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Website bundles"]
  node_almaz["Almaz UI bundle<br/>[script.js]"]
  node_atrium["Atrium UI bundle<br/>[script.js]"]
  node_electron["Electron UI bundle<br/>[script.js]"]
  node_epicplay["Epicplay UI bundle<br/>[script.js]"]
  node_fabrica["Fabrica form bundle<br/>[script.js]"]
  node_famvital["Famvital UI bundle<br/>[script.js]"]
  node_flor2u["Flor2u UI bundle<br/>[script.js]"]
  node_herbarista["Herbarista UI bundle<br/>[script.js]"]
  node_inozit["Inozit UI bundle<br/>[script.js]"]
  node_laprint["LaPrint UI bundle<br/>[script.js]"]
  node_mammacare["Mammacare UI bundle<br/>[script.js]"]
  node_quiz["Quiz interaction<br/>[quiz.js]"]
  node_mobelexpo["Mobelexpo UI bundle<br/>[script.js]"]
  node_reef["Reef UI bundle<br/>[script.js]"]
  node_spartakiad["Spartakiad UI bundle<br/>[script.js]"]
  node_tigers["Tigers UI bundle<br/>[script.js]"]
  node_viking["Viking UI bundle<br/>[script.js]"]
end

subgraph group_games["Game scripts"]
  node_aim["Aim game logic<br/>[scripts.js]"]
  node_nfs["NFS game logic<br/>[script.js]"]
end

subgraph group_mail["Kepple email"]
  node_sendmail["Contact mail handler<br/>[sendmail.php]"]
end

subgraph group_mailer["PHPMailer library"]
  node_mailer["Mail composition and send<br/>[PHPMailer.php]"]
  node_smtp["SMTP transport<br/>[SMTP.php]"]
  node_oauth["OAuth authentication<br/>[OAuth.php]"]
  node_pop3["POP3 authentication<br/>[POP3.php]"]
  node_exception["Mail exceptions<br/>[Exception.php]"]
  node_language["Localized messages"]
  node_oauth_demo["OAuth token example"]
end

node_sendmail -->|"creates and sends"| node_mailer
node_mailer -->|"uses transport"| node_smtp
node_mailer -->|"raises errors"| node_exception
node_smtp -->|"references OAuth"| node_oauth
node_oauth_demo -->|"references mailer"| node_mailer

click node_almaz "https://github.com/chupsu/archive/blob/main/almaz/js/script.js"
click node_atrium "https://github.com/chupsu/archive/blob/main/atrium/js/script.js"
click node_electron "https://github.com/chupsu/archive/blob/main/electron/js/script.js"
click node_epicplay "https://github.com/chupsu/archive/blob/main/epicplay/js/script.js"
click node_fabrica "https://github.com/chupsu/archive/blob/main/fabrica_form/js/script.js"
click node_famvital "https://github.com/chupsu/archive/blob/main/famvital/js/script.js"
click node_flor2u "https://github.com/chupsu/archive/blob/main/flor2u/js/script.js"
click node_herbarista "https://github.com/chupsu/archive/blob/main/herbarista/js/script.js"
click node_inozit "https://github.com/chupsu/archive/blob/main/inozit/js/script.js"
click node_laprint "https://github.com/chupsu/archive/blob/main/laprint/js/script.js"
click node_mammacare "https://github.com/chupsu/archive/blob/main/mammacare/js/script.js"
click node_quiz "https://github.com/chupsu/archive/blob/main/mammacare/files/quiz.js"
click node_mobelexpo "https://github.com/chupsu/archive/blob/main/mobelexpo/js/script.js"
click node_reef "https://github.com/chupsu/archive/blob/main/reef/js/script.js"
click node_spartakiad "https://github.com/chupsu/archive/blob/main/spartakiad/js/script.js"
click node_tigers "https://github.com/chupsu/archive/blob/main/tigers/js/script.js"
click node_viking "https://github.com/chupsu/archive/blob/main/viking/js/script.js"
click node_aim "https://github.com/chupsu/archive/blob/main/game/aim/scripts.js"
click node_nfs "https://github.com/chupsu/archive/blob/main/game/nfs/js/script.js"
click node_sendmail "https://github.com/chupsu/archive/blob/main/kepple/sendmail.php"
click node_mailer "https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/PHPMailer.php"
click node_smtp "https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/SMTP.php"
click node_oauth "https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/OAuth.php"
click node_pop3 "https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/POP3.php"
click node_exception "https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/Exception.php"
click node_language "https://github.com/chupsu/archive/tree/main/kepple/phpmailer/language"
click node_oauth_demo "https://github.com/chupsu/archive/blob/main/kepple/phpmailer/get_oauth_token.php"

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_almaz,node_atrium,node_electron,node_epicplay,node_fabrica,node_famvital,node_flor2u,node_herbarista,node_inozit,node_laprint,node_mammacare,node_quiz,node_mobelexpo,node_reef,node_spartakiad,node_tigers,node_viking toneBlue
class node_aim,node_nfs toneAmber
class node_sendmail toneMint
class node_mailer,node_smtp,node_oauth,node_pop3,node_exception,node_language,node_oauth_demo toneRose
```

## Components

### Website bundles

- [Almaz UI bundle](https://github.com/chupsu/archive/blob/main/almaz/js/script.js): `almaz/js/script.js`
- [Atrium UI bundle](https://github.com/chupsu/archive/blob/main/atrium/js/script.js): `atrium/js/script.js`
- [Electron UI bundle](https://github.com/chupsu/archive/blob/main/electron/js/script.js): `electron/js/script.js`
- [Epicplay UI bundle](https://github.com/chupsu/archive/blob/main/epicplay/js/script.js): `epicplay/js/script.js`
- [Fabrica form bundle](https://github.com/chupsu/archive/blob/main/fabrica_form/js/script.js): `fabrica_form/js/script.js`
- [Famvital UI bundle](https://github.com/chupsu/archive/blob/main/famvital/js/script.js): `famvital/js/script.js`
- [Flor2u UI bundle](https://github.com/chupsu/archive/blob/main/flor2u/js/script.js): `flor2u/js/script.js`
- [Herbarista UI bundle](https://github.com/chupsu/archive/blob/main/herbarista/js/script.js): `herbarista/js/script.js`
- [Inozit UI bundle](https://github.com/chupsu/archive/blob/main/inozit/js/script.js): `inozit/js/script.js`
- [LaPrint UI bundle](https://github.com/chupsu/archive/blob/main/laprint/js/script.js): `laprint/js/script.js`
- [Mammacare UI bundle](https://github.com/chupsu/archive/blob/main/mammacare/js/script.js): `mammacare/js/script.js`
- [Quiz interaction](https://github.com/chupsu/archive/blob/main/mammacare/files/quiz.js): `mammacare/files/quiz.js`
- [Mobelexpo UI bundle](https://github.com/chupsu/archive/blob/main/mobelexpo/js/script.js): `mobelexpo/js/script.js`
- [Reef UI bundle](https://github.com/chupsu/archive/blob/main/reef/js/script.js): `reef/js/script.js`
- [Spartakiad UI bundle](https://github.com/chupsu/archive/blob/main/spartakiad/js/script.js): `spartakiad/js/script.js`
- [Tigers UI bundle](https://github.com/chupsu/archive/blob/main/tigers/js/script.js): `tigers/js/script.js`
- [Viking UI bundle](https://github.com/chupsu/archive/blob/main/viking/js/script.js): `viking/js/script.js`

### Game scripts

- [Aim game logic](https://github.com/chupsu/archive/blob/main/game/aim/scripts.js): `game/aim/scripts.js`
- [NFS game logic](https://github.com/chupsu/archive/blob/main/game/nfs/js/script.js): `game/nfs/js/script.js`

### Kepple email

- [Contact mail handler](https://github.com/chupsu/archive/blob/main/kepple/sendmail.php): `kepple/sendmail.php`

### PHPMailer library

- [Mail composition and send](https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/PHPMailer.php): `kepple/phpmailer/src/PHPMailer.php`
- [SMTP transport](https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/SMTP.php): `kepple/phpmailer/src/SMTP.php`
- [OAuth authentication](https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/OAuth.php): `kepple/phpmailer/src/OAuth.php`
- [POP3 authentication](https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/POP3.php): `kepple/phpmailer/src/POP3.php`
- [Mail exceptions](https://github.com/chupsu/archive/blob/main/kepple/phpmailer/src/Exception.php): `kepple/phpmailer/src/Exception.php`
- [Localized messages](https://github.com/chupsu/archive/tree/main/kepple/phpmailer/language): `kepple/phpmailer/language`
- [OAuth token example](https://github.com/chupsu/archive/blob/main/kepple/phpmailer/get_oauth_token.php): `kepple/phpmailer/get_oauth_token.php`

## Connections

- Contact mail handler → Mail composition and send: creates and sends (evidence: `kepple/sendmail.php`)
- Mail composition and send → SMTP transport: uses transport (evidence: `kepple/phpmailer/src/PHPMailer.php`)
- Mail composition and send → Mail exceptions: raises errors (evidence: `kepple/phpmailer/src/PHPMailer.php`)
- SMTP transport → OAuth authentication: references OAuth (evidence: `kepple/phpmailer/src/SMTP.php`)
- OAuth token example → Mail composition and send: references mailer (evidence: `kepple/phpmailer/get_oauth_token.php`)
