# aekziou83/hvac-zinnour-pro architecture

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

- Interactive diagram: https://gitdiagram.com/aekziou83/hvac-zinnour-pro
- Repository: https://github.com/aekziou83/hvac-zinnour-pro

## Overview

The repository identifies itself as an HVAC diagnostic and capillary-tools product, but the available source excerpt only reveals its service worker. The main interface is represented by index.html from the file tree; its behavior and connection to the worker are not shown. The visible worker precaches assets, refreshes cached GET responses from the network, and falls back to cache when fetching fails.

Main entry points: [`sw.js`](https://github.com/aekziou83/hvac-zinnour-pro/blob/main/sw.js) (Service worker), [`index.html`](https://github.com/aekziou83/hvac-zinnour-pro/blob/main/index.html) (Diagnostic tools), [`manifest.json`](https://github.com/aekziou83/hvac-zinnour-pro/blob/main/manifest.json) (Web manifest)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_product["HVAC tools"]
  node_tools["Diagnostic tools<br/>[index.html]"]
  node_manifest["Web manifest<br/>[manifest.json]"]
end

subgraph group_offline["Offline support"]
  node_worker["Service worker<br/>[sw.js]"]
  node_cache[("Cache storage")]
end

node_user(("HVAC user"))
node_cdn["html2canvas CDN"]
node_network["Web network"]

node_user -->|"uses"| node_tools
node_worker -->|"precaches assets"| node_cache
node_worker -->|"precaches"| node_manifest
node_worker -->|"precaches library"| node_cdn
node_worker -->|"fetches GETs"| node_network
node_worker -->|"stores responses"| node_cache
node_cache -->|"serves fallback"| node_worker

click node_tools "https://github.com/aekziou83/hvac-zinnour-pro/blob/main/index.html"
click node_worker "https://github.com/aekziou83/hvac-zinnour-pro/blob/main/sw.js"
click node_manifest "https://github.com/aekziou83/hvac-zinnour-pro/blob/main/manifest.json"

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_tools,node_manifest,node_user toneBlue
class node_worker,node_cache toneAmber
class node_cdn,node_network toneIndigo
```

## Components

### HVAC tools

- [Diagnostic tools](https://github.com/aekziou83/hvac-zinnour-pro/blob/main/index.html): `index.html`
- [Web manifest](https://github.com/aekziou83/hvac-zinnour-pro/blob/main/manifest.json): `manifest.json`

### Offline support

- [Service worker](https://github.com/aekziou83/hvac-zinnour-pro/blob/main/sw.js): `sw.js`
- **Cache storage**

### Other components

- **HVAC user**
- **html2canvas CDN**
- **Web network**

## Connections

- HVAC user → Diagnostic tools: uses (evidence: `README.md`)
- Service worker → Cache storage: precaches assets (evidence: `sw.js`)
- Service worker → Web manifest: precaches (evidence: `sw.js`)
- Service worker → html2canvas CDN: precaches library (evidence: `sw.js`)
- Service worker → Web network: fetches GETs (evidence: `sw.js`)
- Service worker → Cache storage: stores responses (evidence: `sw.js`)
- Cache storage → Service worker: serves fallback (evidence: `sw.js`)
