# 4852ml/filter-bookmark architecture

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

- Interactive diagram: https://gitdiagram.com/4852ml/filter-bookmark
- Repository: https://github.com/4852ml/filter-bookmark

## Overview

This repository provides a Windows installer that adds a web-app bookmark to a selected Chrome, Edge, or Firefox profile. The README describes the resulting browser workflow: users open the bookmark while logged into their organization’s website to configure and run filtering and reporting; that web application is external and is not implemented in the shown repository. Source excerpts show installer entry points and browser-profile modification, but not all installer UI wiring or bookmark payload internals, so uncertain connections are omitted.

Main entry points: [`Installer.cs`](https://github.com/4852ml/filter-bookmark/blob/main/Installer.cs) (Installer app), [`FirefoxBookmarks.cs`](https://github.com/4852ml/filter-bookmark/blob/main/FirefoxBookmarks.cs) (Firefox bookmark), [`InstallerFonts.cs`](https://github.com/4852ml/filter-bookmark/blob/main/InstallerFonts.cs) (Installer fonts), [`BookmarkIcon.cs`](https://github.com/4852ml/filter-bookmark/blob/main/BookmarkIcon.cs) (Bookmark icon)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_install["Installer"]
  node_entry["Installer app<br/>[Installer.cs]"]
  node_profiles["Profile selection<br/>[Installer.cs]"]
  node_payload["Bookmark payload<br/>[Installer.cs]"]
  node_fonts["Installer fonts<br/>[InstallerFonts.cs]"]
end

subgraph group_browser["Browser setup"]
  node_chrome[("Chrome / Edge bookmark<br/>[Installer.cs]")]
  node_firefox[("Firefox bookmark")]
  node_icon["Bookmark icon<br/>[BookmarkIcon.cs]"]
end

subgraph group_runtime["Web workflow"]
  node_website["Organization website"]
  node_config["Site configuration"]
  node_session["Login session"]
  node_filter["Record filtering"]
  node_reports["Reports / Excel"]
  node_updates["Update repository"]
end

node_user(("Windows user"))
node_browseruser(("Browser user"))

node_user -->|"runs"| node_entry
node_entry -->|"selects"| node_profiles
node_entry -->|"installs"| node_chrome
node_entry -->|"installs"| node_firefox
node_entry -->|"applies"| node_icon
node_entry -->|"loads"| node_fonts
node_browseruser -->|"opens"| node_chrome
node_browseruser -->|"opens"| node_firefox
node_chrome -->|"opens"| node_website
node_firefox -->|"opens"| node_website
node_website -->|"reads"| node_config
node_browseruser -->|"authenticates"| node_session
node_website -->|"verifies"| node_session
node_browseruser -->|"chooses criteria"| node_filter
node_website -->|"filters records"| node_filter
node_filter -->|"produces"| node_reports
node_website -->|"checks version"| node_updates
node_updates -->|"serves updates"| node_website

click node_entry "https://github.com/4852ml/filter-bookmark/blob/main/Installer.cs"
click node_profiles "https://github.com/4852ml/filter-bookmark/blob/main/Installer.cs"
click node_payload "https://github.com/4852ml/filter-bookmark/blob/main/Installer.cs"
click node_chrome "https://github.com/4852ml/filter-bookmark/blob/main/Installer.cs"
click node_firefox "https://github.com/4852ml/filter-bookmark/blob/main/FirefoxBookmarks.cs"
click node_icon "https://github.com/4852ml/filter-bookmark/blob/main/BookmarkIcon.cs"
click node_fonts "https://github.com/4852ml/filter-bookmark/blob/main/InstallerFonts.cs"

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_entry,node_profiles,node_payload,node_fonts,node_user,node_browseruser toneBlue
class node_chrome,node_firefox,node_icon toneAmber
class node_website,node_config,node_session,node_filter,node_reports,node_updates toneMint
```

## Components

### Installer

- [Installer app](https://github.com/4852ml/filter-bookmark/blob/main/Installer.cs): `Installer.cs`
- [Profile selection](https://github.com/4852ml/filter-bookmark/blob/main/Installer.cs): `Installer.cs`
- [Bookmark payload](https://github.com/4852ml/filter-bookmark/blob/main/Installer.cs): `Installer.cs`
- [Installer fonts](https://github.com/4852ml/filter-bookmark/blob/main/InstallerFonts.cs): `InstallerFonts.cs`

### Browser setup

- [Chrome / Edge bookmark](https://github.com/4852ml/filter-bookmark/blob/main/Installer.cs): `Installer.cs`
- [Firefox bookmark](https://github.com/4852ml/filter-bookmark/blob/main/FirefoxBookmarks.cs): `FirefoxBookmarks.cs`
- [Bookmark icon](https://github.com/4852ml/filter-bookmark/blob/main/BookmarkIcon.cs): `BookmarkIcon.cs`

### Web workflow

- **Organization website**
- **Site configuration**
- **Login session**
- **Record filtering**
- **Reports / Excel**
- **Update repository**

### Other components

- **Windows user**
- **Browser user**

## Connections

- Windows user → Installer app: runs (evidence: `README.md`)
- Installer app → Profile selection: selects (evidence: `Installer.cs`)
- Installer app → Chrome / Edge bookmark: installs (evidence: `Installer.cs`)
- Installer app → Firefox bookmark: installs (evidence: `Installer.cs`)
- Installer app → Bookmark icon: applies (evidence: `Installer.cs`)
- Installer app → Installer fonts: loads (evidence: `Installer.cs`)
- Browser user → Chrome / Edge bookmark: opens (evidence: `README.md`)
- Browser user → Firefox bookmark: opens (evidence: `README.md`)
- Chrome / Edge bookmark → Organization website: opens (evidence: `README.md`)
- Firefox bookmark → Organization website: opens (evidence: `README.md`)
- Organization website → Site configuration: reads (evidence: `README.md`)
- Browser user → Login session: authenticates (evidence: `README.md`)
- Organization website → Login session: verifies (evidence: `README.md`)
- Browser user → Record filtering: chooses criteria (evidence: `README.md`)
- Organization website → Record filtering: filters records (evidence: `README.md`)
- Record filtering → Reports / Excel: produces (evidence: `README.md`)
- Organization website → Update repository: checks version (evidence: `README.md`)
- Update repository → Organization website: serves updates (evidence: `README.md`)
