# reinaldopinheiro/reinaldopinheiro.github.io architecture

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

- Interactive diagram: https://gitdiagram.com/reinaldopinheiro/reinaldopinheiro.github.io
- Repository: https://github.com/reinaldopinheiro/reinaldopinheiro.github.io

## Overview

This repository is a personal information portal combining static pages with independent Python utilities for daily bulletins, news, World Cup scores, lottery pools, and Outlook analytics. The clearest runtime workflows are the bulletin generators, the Copa score-to-page updater, and the Outlook calendar report tool. Several page and lottery subsystems are represented from the file tree only; the README is empty, so their internal wiring is not inferred.

Main entry points: [`copa/copa.py`](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/copa/copa.py) (Copa score updater), [`outlookview/outlookview.py`](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/outlookview/outlookview.py) (Outlook analytics app), [`outlookview`](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/tree/main/outlookview) (HTML dashboard), [`boletim/boletim2.py`](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/boletim/boletim2.py) (Bulletin generator)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portal["Portal and Pages"]
  node_home["Portal home<br/>[index.html]"]
  node_site_pages["Portal pages"]
end

subgraph group_bulletin["Daily Bulletins"]
  node_bulletin_ui["Bulletin pages<br/>[boletim.html]"]
  node_bulletin_generator["Bulletin generator<br/>[boletim2.py]"]
  node_bulletin_sender["Bulletin sender<br/>[boletim4.py]"]
  node_bulletin_html["HTML bulletin generator<br/>[boletim5.py]"]
  node_bulletin_backup["Archived bulletin generator<br/>[Boletim_rpc.py]"]
end

subgraph group_sports["Sports and Lottery"]
  node_copa_updater["Copa score updater<br/>[copa.py]"]
  node_copa_live["Live Copa generator<br/>[copa26.py]"]
  node_copa_template["Copa page template<br/>[copa_template.html]"]
  node_score_data[("Score snapshot<br/>[placar.json]")]
  node_lottery_pages["Lottery pools"]
end

subgraph group_analytics["Outlook Analytics"]
  node_outlook_app["Outlook analytics app<br/>[outlookview.py]"]
  node_demo_app["Analytics demo<br/>[outlookviewdemo.py]"]
  node_legacy_app["Legacy analytics app"]
  node_dashboard["HTML dashboard"]
end

subgraph group_news["News"]
  node_news_fetcher["News feed generator<br/>[noticias.py]"]
  node_news_page["News pages<br/>[index.html]"]
end

node_visitor(("Site visitor"))
node_whatsapp["WhatsApp delivery"]
node_outlook_service["Outlook calendar"]

node_copa_updater -->|"writes scores"| node_score_data
node_copa_updater -->|"reads template"| node_copa_template
node_outlook_app -->|"dispatches to"| node_outlook_service
node_outlook_app -->|"generates"| node_dashboard
node_demo_app -->|"generates"| node_dashboard
node_legacy_app -->|"dispatches to"| node_outlook_service
node_bulletin_sender -->|"sends bulletin"| node_whatsapp
node_bulletin_generator -->|"sends bulletin"| node_whatsapp

click node_home "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/index.html"
click node_bulletin_ui "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/boletim.html"
click node_bulletin_generator "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/boletim/boletim2.py"
click node_bulletin_sender "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/boletim/boletim4.py"
click node_bulletin_html "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/boletim/boletim5.py"
click node_bulletin_backup "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/backup/boletim/Boletim_rpc.py"
click node_copa_updater "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/copa/copa.py"
click node_copa_live "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/copa/copa26.py"
click node_copa_template "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/copa/copa_template.html"
click node_score_data "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/copa/placar.json"
click node_lottery_pages "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/tree/main/bolao"
click node_news_fetcher "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/noticias/noticias.py"
click node_news_page "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/noticias/index.html"
click node_outlook_app "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/outlookview/outlookview.py"
click node_demo_app "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/outlookview/outlookviewdemo.py"
click node_legacy_app "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/outlookview/outlookview%20-%20Old.py"
click node_dashboard "https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/tree/main/outlookview"

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_home,node_site_pages toneBlue
class node_bulletin_ui,node_bulletin_generator,node_bulletin_sender,node_bulletin_html,node_bulletin_backup toneAmber
class node_copa_updater,node_copa_live,node_copa_template,node_score_data,node_lottery_pages toneMint
class node_outlook_app,node_demo_app,node_legacy_app,node_dashboard toneRose
class node_news_fetcher,node_news_page,node_visitor,node_whatsapp,node_outlook_service toneIndigo
```

## Components

### Portal and Pages

- [Portal home](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/index.html): `index.html`
- **Portal pages**

### Daily Bulletins

- [Bulletin pages](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/boletim.html): `boletim.html`
- [Bulletin generator](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/boletim/boletim2.py): `boletim/boletim2.py`
- [Bulletin sender](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/boletim/boletim4.py): `boletim/boletim4.py`
- [HTML bulletin generator](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/boletim/boletim5.py): `boletim/boletim5.py`
- [Archived bulletin generator](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/backup/boletim/Boletim_rpc.py): `backup/boletim/Boletim_rpc.py`

### Sports and Lottery

- [Copa score updater](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/copa/copa.py): `copa/copa.py`
- [Live Copa generator](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/copa/copa26.py): `copa/copa26.py`
- [Copa page template](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/copa/copa_template.html): `copa/copa_template.html`
- [Score snapshot](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/copa/placar.json): `copa/placar.json`
- [Lottery pools](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/tree/main/bolao): `bolao`

### Outlook Analytics

- [Outlook analytics app](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/outlookview/outlookview.py): `outlookview/outlookview.py`
- [Analytics demo](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/outlookview/outlookviewdemo.py): `outlookview/outlookviewdemo.py`
- [Legacy analytics app](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/outlookview/outlookview%20-%20Old.py): `outlookview/outlookview - Old.py`
- [HTML dashboard](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/tree/main/outlookview): `outlookview`

### News

- [News feed generator](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/noticias/noticias.py): `noticias/noticias.py`
- [News pages](https://github.com/reinaldopinheiro/reinaldopinheiro.github.io/blob/main/noticias/index.html): `noticias/index.html`

### Other components

- **Site visitor**
- **WhatsApp delivery**
- **Outlook calendar**

## Connections

- Copa score updater → Score snapshot: writes scores (evidence: `copa/copa.py`)
- Copa score updater → Copa page template: reads template (evidence: `copa/copa.py`)
- Outlook analytics app → Outlook calendar: dispatches to (evidence: `outlookview/outlookview.py`)
- Outlook analytics app → HTML dashboard: generates (evidence: `outlookview/outlookview.py`)
- Analytics demo → HTML dashboard: generates (evidence: `outlookview/outlookviewdemo.py`)
- Legacy analytics app → Outlook calendar: dispatches to (evidence: `outlookview/outlookview - Old.py`)
- Bulletin sender → WhatsApp delivery: sends bulletin (evidence: `boletim/boletim4.py`)
- Bulletin generator → WhatsApp delivery: sends bulletin (evidence: `boletim/boletim2.py`)
