# georg101/adobedeactivate architecture

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

- Interactive diagram: https://gitdiagram.com/georg101/adobedeactivate
- Repository: https://github.com/georg101/adobedeactivate

## Overview

This is a small Windows administrator script that blocks Adobe update services by downloading host mappings and inserting them into the system hosts file. Its workflow first removes prior tagged entries, then fetches and writes the service-interface list; loopback blocking is optional and disabled by default. The single source file contains both orchestration and hosts-file handling, so the graph separates those responsibilities without implying separate modules.

Main entry points: [`main.py`](https://github.com/georg101/adobedeactivate/blob/master/main.py) (Blocking service)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_administrator(("Administrator"))
node_blocker["Blocking service<br/>[main.py]"]
node_hosts_manager["Hosts-file manager<br/>[main.py]"]
node_hosts_file["Windows hosts file"]
node_block_lists["Adobe block lists"]

node_administrator -->|"runs as admin"| node_blocker
node_blocker -->|"cleans and appends"| node_hosts_manager
node_hosts_manager -->|"reads and writes"| node_hosts_file
node_blocker -->|"fetches mappings"| node_block_lists
node_block_lists -->|"returns mappings"| node_blocker
node_blocker -.->|"optionally fetches loopback list"| node_block_lists

click node_blocker "https://github.com/georg101/adobedeactivate/blob/master/main.py"
click node_hosts_manager "https://github.com/georg101/adobedeactivate/blob/master/main.py"

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_administrator,node_hosts_file,node_block_lists toneIndigo
class node_blocker,node_hosts_manager toneTeal
```

## Components

### Other components

- **Administrator**
- [Blocking service](https://github.com/georg101/adobedeactivate/blob/master/main.py): `main.py`
- [Hosts-file manager](https://github.com/georg101/adobedeactivate/blob/master/main.py): `main.py`
- **Windows hosts file**
- **Adobe block lists**

## Connections

- Administrator → Blocking service: runs as admin (evidence: `main.py`)
- Blocking service → Hosts-file manager: cleans and appends (evidence: `main.py`)
- Hosts-file manager → Windows hosts file: reads and writes (evidence: `main.py`)
- Blocking service → Adobe block lists: fetches mappings (evidence: `main.py`)
- Adobe block lists → Blocking service: returns mappings (evidence: `main.py`)
- Blocking service → Adobe block lists: optionally fetches loopback list (evidence: `main.py`)
