# analytics-debugger/ai-referers architecture

> Architecture diagram of the GitHub repository analytics-debugger/ai-referers, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/analytics-debugger/ai-referers
- Repository: https://github.com/analytics-debugger/ai-referers

## Overview

This is a small, documentation-defined regex utility for recognizing URLs associated with AI and technology services. The principal workflow supplies a URL to the documented pattern, which matches supported domain/service strings and captures a matching substring for extraction. The tree contains no implementation source, so the README is the only repository path representing the pattern; runtime wiring beyond the documented examples is not shown.

Main entry points: [`README.md`](https://github.com/analytics-debugger/ai-referers/blob/main/README.md) (Domain regex)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_caller(("URL caller"))
node_pattern["Domain regex<br/>[README.md]"]
node_match["Match result"]

node_caller -->|"tests URL"| node_pattern
node_pattern -->|"captures match"| node_match

click node_pattern "https://github.com/analytics-debugger/ai-referers/blob/main/README.md"

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_caller,node_match toneIndigo
class node_pattern toneTeal
```

## Components

### Other components

- **URL caller**
- [Domain regex](https://github.com/analytics-debugger/ai-referers/blob/main/README.md): `README.md`
- **Match result**

## Connections

- URL caller → Domain regex: tests URL
- Domain regex → Match result: captures match
