# plascore/staticvoids architecture

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

- Interactive diagram: https://gitdiagram.com/plascore/staticvoids
- Repository: https://github.com/plascore/staticvoids

## Overview

This is a small website with several HTML pages and a notes API. The API handles GET, POST, and DELETE requests for shared notes stored in a KV binding. The page contents were not provided, so their user flows and any connections to the API cannot be verified; the graph shows only the API-to-storage behavior visible in the excerpt.

Main entry points: [`functions/notesapi.js`](https://github.com/plascore/staticvoids/blob/main/functions/notesapi.js) (Notes API)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_index["Home page<br/>[index.html]"]
node_canvas["Canvas page<br/>[canvas.html]"]
node_flow["Flow page<br/>[flow.html]"]
node_gallery["Gallery page<br/>[gallery.html]"]
node_notes["Notes page<br/>[notes.html]"]
node_styles["Site styles<br/>[styles.css]"]
node_notesapi["Notes API<br/>[notesapi.js]"]
node_noteskv[("Notes KV")]

node_notesapi -->|"reads notes"| node_noteskv
node_notesapi -->|"writes notes"| node_noteskv
node_notesapi -->|"deletes notes"| node_noteskv

click node_index "https://github.com/plascore/staticvoids/blob/main/index.html"
click node_canvas "https://github.com/plascore/staticvoids/blob/main/canvas.html"
click node_flow "https://github.com/plascore/staticvoids/blob/main/flow.html"
click node_gallery "https://github.com/plascore/staticvoids/blob/main/gallery.html"
click node_notes "https://github.com/plascore/staticvoids/blob/main/notes.html"
click node_styles "https://github.com/plascore/staticvoids/blob/main/assets/styles.css"
click node_notesapi "https://github.com/plascore/staticvoids/blob/main/functions/notesapi.js"

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_index,node_canvas,node_flow,node_gallery,node_notes,node_styles toneTeal
class node_notesapi toneMint
class node_noteskv toneAmber
```

## Components

### Other components

- [Home page](https://github.com/plascore/staticvoids/blob/main/index.html): `index.html`
- [Canvas page](https://github.com/plascore/staticvoids/blob/main/canvas.html): `canvas.html`
- [Flow page](https://github.com/plascore/staticvoids/blob/main/flow.html): `flow.html`
- [Gallery page](https://github.com/plascore/staticvoids/blob/main/gallery.html): `gallery.html`
- [Notes page](https://github.com/plascore/staticvoids/blob/main/notes.html): `notes.html`
- [Site styles](https://github.com/plascore/staticvoids/blob/main/assets/styles.css): `assets/styles.css`
- [Notes API](https://github.com/plascore/staticvoids/blob/main/functions/notesapi.js): `functions/notesapi.js`
- **Notes KV**

## Connections

- Notes API → Notes KV: reads notes (evidence: `functions/notesapi.js`)
- Notes API → Notes KV: writes notes (evidence: `functions/notesapi.js`)
- Notes API → Notes KV: deletes notes (evidence: `functions/notesapi.js`)
