# faiizanaly/alyxfiles-privacy-focused-pdf-image-tools architecture

> Architecture diagram of the GitHub repository faiizanaly/alyxfiles-privacy-focused-pdf-image-tools, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools
- Repository: https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools

## Overview

alyxfiles is a static, browser-based PDF and image utility. Its main workflow is to select a tool, provide files, configure options, process them locally, and download the result. The README documents the tool capabilities and privacy model; the sampled JavaScript excerpts show file-drop handling and portions of several PDF and privacy tools. Other tool implementations are represented from the README, not from inspected source excerpts.

Main entry points: [`script.js`](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js) (Tool controller), [`index.html`](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/index.html) (Tool dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Application interface"]
  node_app["Tool dashboard<br/>[index.html]"]
end

subgraph group_pdf["PDF tools"]
  node_pdfmanage["PDF page tools<br/>[script.js]"]
  node_pdfcompress["PDF compression<br/>[script.js]"]
  node_pdfconvert["PDF conversions<br/>[script.js]"]
  node_docmerge["Document merge<br/>[script.js]"]
  node_privacy["Privacy check<br/>[script.js]"]
end

subgraph group_image["Image tools"]
  node_imagecompress["Image compression<br/>[script.js]"]
  node_imageresize["Image resize and crop<br/>[script.js]"]
  node_imageconvert["Image conversion<br/>[script.js]"]
  node_imageenhance["Image enhancement<br/>[script.js]"]
end

subgraph group_runtime["Processing runtime"]
  node_controller["Tool controller<br/>[script.js]"]
  node_fileinput["File selection<br/>[script.js]"]
  node_download["Processed downloads<br/>[script.js]"]
end

node_person(("User"))
node_browser["Web browser"]

node_person -->|"opens"| node_app
node_app -->|"selects tool"| node_controller
node_controller -->|"requests files"| node_fileinput
node_controller -->|"runs PDF tools"| node_pdfmanage
node_controller -->|"runs PDF tools"| node_pdfcompress
node_controller -->|"runs PDF tools"| node_pdfconvert
node_controller -->|"runs document merge"| node_docmerge
node_controller -->|"runs privacy scan"| node_privacy
node_controller -->|"runs image tools"| node_imagecompress
node_controller -->|"runs image tools"| node_imageresize
node_controller -->|"runs image tools"| node_imageconvert
node_controller -->|"runs image tools"| node_imageenhance
node_controller -->|"creates downloads"| node_download
node_download -->|"saves locally"| node_browser

click node_app "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/index.html"
click node_controller "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_fileinput "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_pdfmanage "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_pdfcompress "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_pdfconvert "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_docmerge "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_privacy "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_imagecompress "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_imageresize "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_imageconvert "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_imageenhance "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js"
click node_download "https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.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_app,node_person,node_browser toneBlue
class node_pdfmanage,node_pdfcompress,node_pdfconvert,node_docmerge,node_privacy toneAmber
class node_imagecompress,node_imageresize,node_imageconvert,node_imageenhance toneMint
class node_controller,node_fileinput,node_download toneRose
```

## Components

### Application interface

- [Tool dashboard](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/index.html): `index.html`

### PDF tools

- [PDF page tools](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`
- [PDF compression](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`
- [PDF conversions](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`
- [Document merge](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`
- [Privacy check](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`

### Image tools

- [Image compression](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`
- [Image resize and crop](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`
- [Image conversion](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`
- [Image enhancement](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`

### Processing runtime

- [Tool controller](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`
- [File selection](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`
- [Processed downloads](https://github.com/faiizanaly/alyxfiles-privacy-focused-pdf-image-tools/blob/main/script.js): `script.js`

### Other components

- **User**
- **Web browser**

## Connections

- User → Tool dashboard: opens (evidence: `README.md`)
- Tool dashboard → Tool controller: selects tool (evidence: `README.md`)
- Tool controller → File selection: requests files (evidence: `script.js`)
- Tool controller → PDF page tools: runs PDF tools (evidence: `README.md`)
- Tool controller → PDF compression: runs PDF tools (evidence: `README.md`)
- Tool controller → PDF conversions: runs PDF tools (evidence: `README.md`)
- Tool controller → Document merge: runs document merge (evidence: `README.md`)
- Tool controller → Privacy check: runs privacy scan (evidence: `README.md`)
- Tool controller → Image compression: runs image tools (evidence: `README.md`)
- Tool controller → Image resize and crop: runs image tools (evidence: `README.md`)
- Tool controller → Image conversion: runs image tools (evidence: `README.md`)
- Tool controller → Image enhancement: runs image tools (evidence: `README.md`)
- Tool controller → Processed downloads: creates downloads (evidence: `README.md`)
- Processed downloads → Web browser: saves locally (evidence: `README.md`)
