# eramitgupta/disposable-email architecture

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

- Interactive diagram: https://gitdiagram.com/eramitgupta/disposable-email
- Repository: https://github.com/eramitgupta/disposable-email

## Overview

This repository provides a disposable-email domain blocklist, principally consumed by applications that check email domains during signup or validation. Its documented daily refresh combines downloaded sources with manual additions and regenerates normalized text and JSON lists. The README also describes a separate Laravel package built on this data. No source excerpts were provided, so the refresh relationships shown here rely on README statements rather than inspection of the workflow implementation.

Main entry points: [`.github/workflows/daily.yml`](https://github.com/eramitgupta/disposable-email/blob/main/.github/workflows/daily.yml) (Daily workflow), [`disposable_email.txt`](https://github.com/eramitgupta/disposable-email/blob/main/disposable_email.txt) (Text blocklist), [`disposable_email.json`](https://github.com/eramitgupta/disposable-email/blob/main/disposable_email.json) (JSON blocklist), [`manual_domains.txt`](https://github.com/eramitgupta/disposable-email/blob/main/manual_domains.txt) (Manual domains)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Blocklist data"]
  node_manual["Manual domains<br/>[manual_domains.txt]"]
  node_textlist["Text blocklist"]
  node_jsonlist["JSON blocklist"]
end

subgraph group_refresh["Daily refresh"]
  node_daily["Daily workflow<br/>[daily.yml]"]
end

node_applications(("Using applications"))
node_laravel["Laravel package"]
node_sources["Downloaded sources"]

node_applications -->|"reads domains"| node_textlist
node_applications -->|"reads domains"| node_jsonlist
node_laravel -->|"uses list"| node_textlist
node_daily -->|"downloads domains"| node_sources
node_daily -->|"merges additions"| node_manual
node_daily -->|"generates list"| node_textlist
node_daily -->|"generates list"| node_jsonlist

click node_manual "https://github.com/eramitgupta/disposable-email/blob/main/manual_domains.txt"
click node_textlist "https://github.com/eramitgupta/disposable-email/blob/main/disposable_email.txt"
click node_jsonlist "https://github.com/eramitgupta/disposable-email/blob/main/disposable_email.json"
click node_daily "https://github.com/eramitgupta/disposable-email/blob/main/.github/workflows/daily.yml"

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_manual,node_textlist,node_jsonlist toneBlue
class node_daily toneAmber
class node_applications,node_laravel,node_sources toneIndigo
```

## Components

### Blocklist data

- [Manual domains](https://github.com/eramitgupta/disposable-email/blob/main/manual_domains.txt): `manual_domains.txt`
- [Text blocklist](https://github.com/eramitgupta/disposable-email/blob/main/disposable_email.txt): `disposable_email.txt`
- [JSON blocklist](https://github.com/eramitgupta/disposable-email/blob/main/disposable_email.json): `disposable_email.json`

### Daily refresh

- [Daily workflow](https://github.com/eramitgupta/disposable-email/blob/main/.github/workflows/daily.yml): `.github/workflows/daily.yml`

### Other components

- **Using applications**
- **Laravel package**
- **Downloaded sources**

## Connections

- Using applications → Text blocklist: reads domains (evidence: `README.md`)
- Using applications → JSON blocklist: reads domains (evidence: `README.md`)
- Laravel package → Text blocklist: uses list (evidence: `README.md`)
- Daily workflow → Downloaded sources: downloads domains (evidence: `README.md`)
- Daily workflow → Manual domains: merges additions (evidence: `README.md`)
- Daily workflow → Text blocklist: generates list (evidence: `README.md`)
- Daily workflow → JSON blocklist: generates list (evidence: `README.md`)
