# alexprofmutua/control-center architecture

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

- Interactive diagram: https://gitdiagram.com/alexprofmutua/control-center
- Repository: https://github.com/alexprofmutua/control-center

## Overview

Control Center is a browser-based bookmark hub for coding, classes, games, and media. Users open the home page, switch sidebar categories, and open bookmarks in new tabs. The bookmark-click script sorts links and tracks click counts in browser storage. The README establishes category navigation and bookmark behavior; only the click script was sampled, so relationships from individual category pages to that script are not asserted.

Main entry points: [`index.html`](https://github.com/alexprofmutua/control-center/blob/main/index.html) (Home page), [`code.html`](https://github.com/alexprofmutua/control-center/blob/main/code.html) (Coding bookmarks), [`games.html`](https://github.com/alexprofmutua/control-center/blob/main/games.html) (Game bookmarks), [`library.html`](https://github.com/alexprofmutua/control-center/blob/main/library.html) (Library bookmarks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Bookmark pages"]
  node_home["Home page<br/>[index.html]"]
  node_coding["Coding bookmarks<br/>[code.html]"]
  node_games["Game bookmarks<br/>[games.html]"]
  node_library["Library bookmarks<br/>[library.html]"]
  node_money["Money bookmarks<br/>[money.html]"]
  node_stream["Streaming bookmarks<br/>[stream.html]"]
  node_williams["Williams page<br/>[williams.html]"]
  node_styles["Page styling<br/>[style.css]"]
end

subgraph group_tracking["Click tracking"]
  node_clicks["Click counter<br/>[bookmark-clicks.js]"]
end

node_user(("User"))
node_storage[("Browser local storage")]
node_destinations(("Bookmark destinations"))

node_user -->|"opens"| node_home
node_home -->|"switches category"| node_coding
node_home -->|"switches category"| node_games
node_home -->|"switches category"| node_library
node_home -->|"switches category"| node_money
node_home -->|"switches category"| node_stream
node_home -.->|"switches category"| node_williams
node_coding -->|"opens bookmarks"| node_destinations
node_games -->|"opens bookmarks"| node_destinations
node_library -->|"opens bookmarks"| node_destinations
node_money -->|"opens bookmarks"| node_destinations
node_stream -->|"opens bookmarks"| node_destinations
node_williams -.->|"opens bookmarks"| node_destinations
node_clicks -->|"reads and writes counts"| node_storage

click node_home "https://github.com/alexprofmutua/control-center/blob/main/index.html"
click node_coding "https://github.com/alexprofmutua/control-center/blob/main/code.html"
click node_games "https://github.com/alexprofmutua/control-center/blob/main/games.html"
click node_library "https://github.com/alexprofmutua/control-center/blob/main/library.html"
click node_money "https://github.com/alexprofmutua/control-center/blob/main/money.html"
click node_stream "https://github.com/alexprofmutua/control-center/blob/main/stream.html"
click node_williams "https://github.com/alexprofmutua/control-center/blob/main/williams.html"
click node_styles "https://github.com/alexprofmutua/control-center/blob/main/style.css"
click node_clicks "https://github.com/alexprofmutua/control-center/blob/main/bookmark-clicks.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_home,node_coding,node_games,node_library,node_money,node_stream,node_williams,node_styles,node_user toneBlue
class node_clicks,node_storage toneAmber
class node_destinations toneIndigo
```

## Components

### Bookmark pages

- [Home page](https://github.com/alexprofmutua/control-center/blob/main/index.html): `index.html`
- [Coding bookmarks](https://github.com/alexprofmutua/control-center/blob/main/code.html): `code.html`
- [Game bookmarks](https://github.com/alexprofmutua/control-center/blob/main/games.html): `games.html`
- [Library bookmarks](https://github.com/alexprofmutua/control-center/blob/main/library.html): `library.html`
- [Money bookmarks](https://github.com/alexprofmutua/control-center/blob/main/money.html): `money.html`
- [Streaming bookmarks](https://github.com/alexprofmutua/control-center/blob/main/stream.html): `stream.html`
- [Williams page](https://github.com/alexprofmutua/control-center/blob/main/williams.html): `williams.html`
- [Page styling](https://github.com/alexprofmutua/control-center/blob/main/style.css): `style.css`

### Click tracking

- [Click counter](https://github.com/alexprofmutua/control-center/blob/main/bookmark-clicks.js): `bookmark-clicks.js`

### Other components

- **User**
- **Browser local storage**
- **Bookmark destinations**

## Connections

- User → Home page: opens (evidence: `README.md`)
- Home page → Coding bookmarks: switches category (evidence: `README.md`)
- Home page → Game bookmarks: switches category (evidence: `README.md`)
- Home page → Library bookmarks: switches category (evidence: `README.md`)
- Home page → Money bookmarks: switches category (evidence: `README.md`)
- Home page → Streaming bookmarks: switches category (evidence: `README.md`)
- Home page → Williams page: switches category
- Coding bookmarks → Bookmark destinations: opens bookmarks (evidence: `README.md`)
- Game bookmarks → Bookmark destinations: opens bookmarks (evidence: `README.md`)
- Library bookmarks → Bookmark destinations: opens bookmarks (evidence: `README.md`)
- Money bookmarks → Bookmark destinations: opens bookmarks (evidence: `README.md`)
- Streaming bookmarks → Bookmark destinations: opens bookmarks (evidence: `README.md`)
- Williams page → Bookmark destinations: opens bookmarks
- Click counter → Browser local storage: reads and writes counts (evidence: `bookmark-clicks.js`)
