# digbijoy123/ignou-bca-control-centre architecture

> Architecture diagram of the GitHub repository digbijoy123/ignou-bca-control-centre, 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/digbijoy123/ignou-bca-control-centre
- Repository: https://github.com/digbijoy123/ignou-bca-control-centre

## Overview

This repository implements a scheduled IGNOU information monitor: it fetches official pages, identifies relevant content and changes, and writes snapshots and events for browser use. The sampled source shows the scanner’s fetch, comparison, and output behavior, plus the browser data bootstrap. The README is empty, and the page and workflow contents were not sampled, so their runtime wiring and notification-rendering implementation are not represented.

Main entry points: [`scripts/monitor.mjs`](https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/scripts/monitor.mjs) (Source scanner), [`public/monitor.js`](https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/public/monitor.js) (Browser bootstrap), [`public/monitor.json`](https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/public/monitor.json) (Monitor snapshots), [`index.html`](https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/index.html) (Dashboard page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_monitoring["Monitoring"]
  node_scanner["Source scanner<br/>[monitor.mjs]"]
  node_snapshot["Monitor snapshots<br/>[monitor.json]"]
end

subgraph group_browser["Browser data"]
  node_browser_data["Browser bootstrap<br/>[monitor.js]"]
  node_page["Dashboard page<br/>[index.html]"]
end

node_official_sites(("IGNOU sites"))

node_scanner -->|"fetches pages"| node_official_sites
node_scanner -->|"writes snapshots"| node_snapshot
node_browser_data -.->|"not shown"| node_page

click node_scanner "https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/scripts/monitor.mjs"
click node_snapshot "https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/public/monitor.json"
click node_browser_data "https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/public/monitor.js"
click node_page "https://github.com/digbijoy123/ignou-bca-control-centre/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_snapshot toneBlue
class node_browser_data,node_page toneAmber
class node_official_sites toneIndigo
```

## Components

### Monitoring

- [Source scanner](https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/scripts/monitor.mjs): `scripts/monitor.mjs`
- [Monitor snapshots](https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/public/monitor.json): `public/monitor.json`

### Browser data

- [Browser bootstrap](https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/public/monitor.js): `public/monitor.js`
- [Dashboard page](https://github.com/digbijoy123/ignou-bca-control-centre/blob/main/index.html): `index.html`

### Other components

- **IGNOU sites**

## Connections

- Source scanner → IGNOU sites: fetches pages (evidence: `scripts/monitor.mjs`)
- Source scanner → Monitor snapshots: writes snapshots (evidence: `scripts/monitor.mjs`)
- Browser bootstrap → Dashboard page: not shown
