# garysirek-dot/pmbridge architecture

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

- Interactive diagram: https://gitdiagram.com/garysirek-dot/pmbridge
- Repository: https://github.com/garysirek-dot/pmbridge

## Overview

PMBridge is a static, installable project-planning app. The user works with project, task, and schedule cards, quick-add dates, and a month calendar; app data stays in the browser, with backup and restore for moving data between devices. Its service worker caches the page and assets for offline use. The app implementation is identified as `index.html` by the README, but its source was not provided, so internal UI and storage relationships are documented only at the app level.

Main entry points: [`index.html`](https://github.com/garysirek-dot/pmbridge/blob/main/index.html) (Cards and calendar), [`sw.js`](https://github.com/garysirek-dot/pmbridge/blob/main/sw.js) (Service worker), [`manifest.webmanifest`](https://github.com/garysirek-dot/pmbridge/blob/main/manifest.webmanifest) (App manifest), [`icons`](https://github.com/garysirek-dot/pmbridge/tree/main/icons) (App icons)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_product["Planning app"]
  node_app["Cards and calendar<br/>[index.html]"]
  node_device_data[("Browser data")]
  node_backup["Backup file"]
end

subgraph group_offline["Offline support"]
  node_service_worker["Service worker<br/>[sw.js]"]
  node_manifest["App manifest"]
  node_icons["App icons"]
end

node_user(("User"))

node_user -->|"uses"| node_app
node_app -->|"saves data"| node_device_data
node_app -->|"backs up / restores"| node_backup
node_service_worker -->|"caches page"| node_app
node_service_worker -->|"caches asset"| node_manifest
node_service_worker -->|"caches assets"| node_icons

click node_app "https://github.com/garysirek-dot/pmbridge/blob/main/index.html"
click node_service_worker "https://github.com/garysirek-dot/pmbridge/blob/main/sw.js"
click node_manifest "https://github.com/garysirek-dot/pmbridge/blob/main/manifest.webmanifest"
click node_icons "https://github.com/garysirek-dot/pmbridge/tree/main/icons"

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_app,node_device_data,node_backup,node_user toneBlue
class node_service_worker,node_manifest,node_icons toneAmber
```

## Components

### Planning app

- [Cards and calendar](https://github.com/garysirek-dot/pmbridge/blob/main/index.html): `index.html`
- **Browser data**
- **Backup file**

### Offline support

- [Service worker](https://github.com/garysirek-dot/pmbridge/blob/main/sw.js): `sw.js`
- [App manifest](https://github.com/garysirek-dot/pmbridge/blob/main/manifest.webmanifest): `manifest.webmanifest`
- [App icons](https://github.com/garysirek-dot/pmbridge/tree/main/icons): `icons`

### Other components

- **User**

## Connections

- User → Cards and calendar: uses (evidence: `README.md`)
- Cards and calendar → Browser data: saves data (evidence: `README.md`)
- Cards and calendar → Backup file: backs up / restores (evidence: `README.md`)
- Service worker → Cards and calendar: caches page (evidence: `sw.js`)
- Service worker → App manifest: caches asset (evidence: `sw.js`)
- Service worker → App icons: caches assets (evidence: `sw.js`)
