# saignaneswagorle/wp-monitor architecture

> Architecture diagram of the GitHub repository saignaneswagorle/wp-monitor, 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/saignaneswagorle/wp-monitor
- Repository: https://github.com/saignaneswagorle/wp-monitor

## Overview

WP Monitor is a single-file WordPress monitoring dashboard. Its documented data workflow runs the Apps Script scanner, stores results in Google Sheets, serves them through an Apps Script API, and displays them in the dashboard. The dashboard presents monitoring, security, and site-technology views, with filtering and CSV export. The architecture and feature links below rely on README documentation; no source excerpts were available to verify implementation details.

Main entry points: [`index.html`](https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html) (Dashboard UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_collection["Monitoring Collection"]
  node_scanner["Apps Script Scanner"]
  node_sheet[("Google Sheet")]
end

subgraph group_delivery["Data Delivery"]
  node_api["Apps Script API"]
end

subgraph group_dashboard["Dashboard"]
  node_dashboard_app["Dashboard UI<br/>[index.html]"]
  node_overview["Overview<br/>[index.html]"]
  node_sites["All Sites<br/>[index.html]"]
  node_issues["Errors &amp; Issues<br/>[index.html]"]
  node_security["Security<br/>[index.html]"]
  node_exposed["Exposed URLs<br/>[index.html]"]
  node_technology["Themes &amp; Plugins<br/>[index.html]"]
  node_filters["Filters &amp; Search<br/>[index.html]"]
  node_csv["CSV Export<br/>[index.html]"]
  node_charts["Chart.js"]
end

node_operator(("Web Operations User"))

node_scanner -->|"writes results"| node_sheet
node_scanner -->|"runs checks daily"| node_sheet
node_api -->|"serves data"| node_sheet
node_dashboard_app -->|"fetches live data"| node_api
node_operator -.->|"views"| node_dashboard_app
node_dashboard_app -->|"shows"| node_overview
node_dashboard_app -->|"shows"| node_sites
node_dashboard_app -->|"shows"| node_issues
node_dashboard_app -->|"shows"| node_security
node_dashboard_app -->|"shows"| node_exposed
node_dashboard_app -->|"shows"| node_technology
node_dashboard_app -->|"provides"| node_filters
node_dashboard_app -->|"exports views"| node_csv
node_dashboard_app -.->|"uses charts"| node_charts

click node_dashboard_app "https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html"
click node_overview "https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html"
click node_sites "https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html"
click node_issues "https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html"
click node_security "https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html"
click node_exposed "https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html"
click node_technology "https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html"
click node_filters "https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html"
click node_csv "https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html"

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_scanner,node_sheet,node_operator toneBlue
class node_api toneAmber
class node_dashboard_app,node_overview,node_sites,node_issues,node_security,node_exposed,node_technology,node_filters,node_csv,node_charts toneMint
```

## Components

### Monitoring Collection

- **Apps Script Scanner**
- **Google Sheet**

### Data Delivery

- **Apps Script API**

### Dashboard

- [Dashboard UI](https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html): `index.html`
- [Overview](https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html): `index.html`
- [All Sites](https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html): `index.html`
- [Errors & Issues](https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html): `index.html`
- [Security](https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html): `index.html`
- [Exposed URLs](https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html): `index.html`
- [Themes & Plugins](https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html): `index.html`
- [Filters & Search](https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html): `index.html`
- [CSV Export](https://github.com/saignaneswagorle/wp-monitor/blob/main/index.html): `index.html`
- **Chart.js**

### Other components

- **Web Operations User**

## Connections

- Apps Script Scanner → Google Sheet: writes results (evidence: `README.md`)
- Apps Script Scanner → Google Sheet: runs checks daily (evidence: `README.md`)
- Apps Script API → Google Sheet: serves data (evidence: `README.md`)
- Dashboard UI → Apps Script API: fetches live data (evidence: `README.md`)
- Web Operations User → Dashboard UI: views
- Dashboard UI → Overview: shows (evidence: `README.md`)
- Dashboard UI → All Sites: shows (evidence: `README.md`)
- Dashboard UI → Errors & Issues: shows (evidence: `README.md`)
- Dashboard UI → Security: shows (evidence: `README.md`)
- Dashboard UI → Exposed URLs: shows (evidence: `README.md`)
- Dashboard UI → Themes & Plugins: shows (evidence: `README.md`)
- Dashboard UI → Filters & Search: provides (evidence: `README.md`)
- Dashboard UI → CSV Export: exports views (evidence: `README.md`)
- Dashboard UI → Chart.js: uses charts (evidence: `README.md`)
