# imadi/downloadablelinkextractor architecture

> Architecture diagram of the GitHub repository imadi/downloadablelinkextractor, 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/imadi/downloadablelinkextractor
- Repository: https://github.com/imadi/downloadablelinkextractor

## Overview

DownloadableLinkExtractor is a small Groovy utility that accepts a URL and aims to return a downloadable link; the README names Dropbox and YouTube as supported providers. The source files were not excerpted, so internal calls and provider interactions cannot be verified. The dashed connection marks that uncertainty.

Main entry points: [`src/main/groovy/com/adi/LinkExtractorAPI.groovy`](https://github.com/imadi/downloadablelinkextractor/blob/master/src/main/groovy/com/adi/LinkExtractorAPI.groovy) (Extractor API), [`src/main/groovy/com/adi/LinkUtils.groovy`](https://github.com/imadi/downloadablelinkextractor/blob/master/src/main/groovy/com/adi/LinkUtils.groovy) (Link utilities)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("URL user"))
node_api["Extractor API"]
node_utils["Link utilities<br/>[LinkUtils.groovy]"]
node_constants["Constants<br/>[Constants.groovy]"]
node_providers["Dropbox / YouTube"]

node_user -->|"provides URL"| node_api
node_api -.->|"uses utilities"| node_utils
node_utils -.->|"supports providers"| node_providers

click node_api "https://github.com/imadi/downloadablelinkextractor/blob/master/src/main/groovy/com/adi/LinkExtractorAPI.groovy"
click node_utils "https://github.com/imadi/downloadablelinkextractor/blob/master/src/main/groovy/com/adi/LinkUtils.groovy"
click node_constants "https://github.com/imadi/downloadablelinkextractor/blob/master/src/main/groovy/com/adi/Constants.groovy"

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_user toneBlue
class node_api toneMint
class node_utils,node_constants toneTeal
class node_providers toneIndigo
```

## Components

### Other components

- **URL user**
- [Extractor API](https://github.com/imadi/downloadablelinkextractor/blob/master/src/main/groovy/com/adi/LinkExtractorAPI.groovy): `src/main/groovy/com/adi/LinkExtractorAPI.groovy`
- [Link utilities](https://github.com/imadi/downloadablelinkextractor/blob/master/src/main/groovy/com/adi/LinkUtils.groovy): `src/main/groovy/com/adi/LinkUtils.groovy`
- [Constants](https://github.com/imadi/downloadablelinkextractor/blob/master/src/main/groovy/com/adi/Constants.groovy): `src/main/groovy/com/adi/Constants.groovy`
- **Dropbox / YouTube**

## Connections

- URL user → Extractor API: provides URL (evidence: `README.md`)
- Extractor API → Link utilities: uses utilities
- Link utilities → Dropbox / YouTube: supports providers (evidence: `README.md`)
