# uep1x/xwer architecture

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

- Interactive diagram: https://gitdiagram.com/uep1x/xwer
- Repository: https://github.com/uep1x/xwer

## Overview

This repository is a collection of source modules for an unpublished bot, not a complete runnable application: the README says the main file is omitted. The visible capabilities are AI-generated dossier and assistant responses, username/email discovery, email verification, cryptocurrency wallet reports, and domain/IP reconnaissance. The graph shows these as separate callable workflows; no bot entry point or caller relationships are evidenced by the sampled files.

Main entry points: [`ai_nn.py`](https://github.com/uep1x/xwer/blob/main/ai_nn.py) (Dossier generator), [`em_un.py`](https://github.com/uep1x/xwer/blob/main/em_un.py) (Username search), [`crypt.py`](https://github.com/uep1x/xwer/blob/main/crypt.py) (Wallet reports), [`webint.py`](https://github.com/uep1x/xwer/blob/main/webint.py) (Site mapping)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ai["AI generation"]
  node_ai_gen["Dossier generator<br/>[ai_nn.py]"]
  node_ai_ass["AI assistant<br/>[ai_nn.py]"]
  node_dossier_example["Dossier example<br/>[example.md]"]
  node_ai_keys["AI keys<br/>[g4f_keys.txt]"]
  node_dossier_file["HTML dossier"]
  node_ai_provider["AI provider"]
end

subgraph group_identity["Identity lookup"]
  node_username_search["Username search<br/>[em_un.py]"]
  node_email_search["Email search<br/>[em_un.py]"]
  node_email_verify["Email verification<br/>[em_un.py]"]
  node_username_sites[("Username site data<br/>[wmn-data.json]")]
  node_email_sites[("Email site data<br/>[email-data.json]")]
  node_smtp_keys["SMTP API keys<br/>[smtp_keys.txt]"]
  node_smtp_service["Email verification API"]
end

subgraph group_crypto["Crypto analysis"]
  node_wallet_lookup["Wallet reports<br/>[crypt.py]"]
  node_blockcypher["BlockCypher API"]
  node_toncenter["TON Center API"]
end

subgraph group_web["Web reconnaissance"]
  node_domain_lookup["Domain lookup<br/>[webint.py]"]
  node_ip_lookup["IP lookup<br/>[webint.py]"]
  node_site_mapping["Site mapping<br/>[webint.py]"]
  node_web_services["Web lookup services"]
end

node_user(("Caller"))

node_user -->|"requests dossier"| node_ai_gen
node_user -->|"requests answer"| node_ai_ass
node_ai_gen -->|"reads example"| node_dossier_example
node_ai_gen -->|"reads keys"| node_ai_keys
node_ai_gen -->|"requests generation"| node_ai_provider
node_ai_ass -->|"reads keys"| node_ai_keys
node_ai_ass -->|"requests response"| node_ai_provider
node_ai_gen -->|"writes HTML"| node_dossier_file
node_user -->|"searches username"| node_username_search
node_username_search -->|"reads site rules"| node_username_sites
node_user -->|"searches email"| node_email_search
node_email_search -->|"reads site rules"| node_email_sites
node_user -->|"checks email"| node_email_verify
node_email_verify -->|"reads keys"| node_smtp_keys
node_email_verify -->|"verifies email"| node_smtp_service
node_username_search -->|"checks profiles"| node_web_services
node_email_search -->|"checks profiles"| node_web_services
node_user -->|"requests report"| node_wallet_lookup
node_wallet_lookup -->|"queries address"| node_blockcypher
node_wallet_lookup -->|"queries account"| node_toncenter
node_user -->|"requests lookup"| node_domain_lookup
node_domain_lookup -->|"queries DNS and WHOIS"| node_web_services
node_user -->|"requests lookup"| node_ip_lookup
node_ip_lookup -->|"queries IP data"| node_web_services
node_user -->|"requests mapping"| node_site_mapping
node_site_mapping -->|"checks DNS"| node_domain_lookup
node_site_mapping -->|"fetches site files"| node_web_services

click node_ai_gen "https://github.com/uep1x/xwer/blob/main/ai_nn.py"
click node_ai_ass "https://github.com/uep1x/xwer/blob/main/ai_nn.py"
click node_dossier_example "https://github.com/uep1x/xwer/blob/main/data/example.md"
click node_ai_keys "https://github.com/uep1x/xwer/blob/main/data/g4f_keys.txt"
click node_username_search "https://github.com/uep1x/xwer/blob/main/em_un.py"
click node_email_search "https://github.com/uep1x/xwer/blob/main/em_un.py"
click node_email_verify "https://github.com/uep1x/xwer/blob/main/em_un.py"
click node_username_sites "https://github.com/uep1x/xwer/blob/main/data/wmn-data.json"
click node_email_sites "https://github.com/uep1x/xwer/blob/main/data/email-data.json"
click node_smtp_keys "https://github.com/uep1x/xwer/blob/main/data/smtp_keys.txt"
click node_wallet_lookup "https://github.com/uep1x/xwer/blob/main/crypt.py"
click node_domain_lookup "https://github.com/uep1x/xwer/blob/main/webint.py"
click node_ip_lookup "https://github.com/uep1x/xwer/blob/main/webint.py"
click node_site_mapping "https://github.com/uep1x/xwer/blob/main/webint.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_ai_gen,node_ai_ass,node_dossier_example,node_ai_keys,node_dossier_file,node_ai_provider toneBlue
class node_username_search,node_email_search,node_email_verify,node_username_sites,node_email_sites,node_smtp_keys,node_smtp_service toneAmber
class node_wallet_lookup,node_blockcypher,node_toncenter toneMint
class node_domain_lookup,node_ip_lookup,node_site_mapping,node_web_services toneRose
class node_user toneIndigo
```

## Components

### AI generation

- [Dossier generator](https://github.com/uep1x/xwer/blob/main/ai_nn.py): `ai_nn.py`
- [AI assistant](https://github.com/uep1x/xwer/blob/main/ai_nn.py): `ai_nn.py`
- [Dossier example](https://github.com/uep1x/xwer/blob/main/data/example.md): `data/example.md`
- [AI keys](https://github.com/uep1x/xwer/blob/main/data/g4f_keys.txt): `data/g4f_keys.txt`
- **HTML dossier**
- **AI provider**

### Identity lookup

- [Username search](https://github.com/uep1x/xwer/blob/main/em_un.py): `em_un.py`
- [Email search](https://github.com/uep1x/xwer/blob/main/em_un.py): `em_un.py`
- [Email verification](https://github.com/uep1x/xwer/blob/main/em_un.py): `em_un.py`
- [Username site data](https://github.com/uep1x/xwer/blob/main/data/wmn-data.json): `data/wmn-data.json`
- [Email site data](https://github.com/uep1x/xwer/blob/main/data/email-data.json): `data/email-data.json`
- [SMTP API keys](https://github.com/uep1x/xwer/blob/main/data/smtp_keys.txt): `data/smtp_keys.txt`
- **Email verification API**

### Crypto analysis

- [Wallet reports](https://github.com/uep1x/xwer/blob/main/crypt.py): `crypt.py`
- **BlockCypher API**
- **TON Center API**

### Web reconnaissance

- [Domain lookup](https://github.com/uep1x/xwer/blob/main/webint.py): `webint.py`
- [IP lookup](https://github.com/uep1x/xwer/blob/main/webint.py): `webint.py`
- [Site mapping](https://github.com/uep1x/xwer/blob/main/webint.py): `webint.py`
- **Web lookup services**

### Other components

- **Caller**

## Connections

- Caller → Dossier generator: requests dossier (evidence: `ai_nn.py`)
- Caller → AI assistant: requests answer (evidence: `ai_nn.py`)
- Dossier generator → Dossier example: reads example (evidence: `ai_nn.py`)
- Dossier generator → AI keys: reads keys (evidence: `ai_nn.py`)
- Dossier generator → AI provider: requests generation (evidence: `ai_nn.py`)
- AI assistant → AI keys: reads keys (evidence: `ai_nn.py`)
- AI assistant → AI provider: requests response (evidence: `ai_nn.py`)
- Dossier generator → HTML dossier: writes HTML (evidence: `ai_nn.py`)
- Caller → Username search: searches username (evidence: `em_un.py`)
- Username search → Username site data: reads site rules (evidence: `em_un.py`)
- Caller → Email search: searches email (evidence: `em_un.py`)
- Email search → Email site data: reads site rules (evidence: `em_un.py`)
- Caller → Email verification: checks email (evidence: `em_un.py`)
- Email verification → SMTP API keys: reads keys (evidence: `em_un.py`)
- Email verification → Email verification API: verifies email (evidence: `em_un.py`)
- Username search → Web lookup services: checks profiles (evidence: `em_un.py`)
- Email search → Web lookup services: checks profiles (evidence: `em_un.py`)
- Caller → Wallet reports: requests report (evidence: `crypt.py`)
- Wallet reports → BlockCypher API: queries address (evidence: `crypt.py`)
- Wallet reports → TON Center API: queries account (evidence: `crypt.py`)
- Caller → Domain lookup: requests lookup (evidence: `webint.py`)
- Domain lookup → Web lookup services: queries DNS and WHOIS (evidence: `webint.py`)
- Caller → IP lookup: requests lookup (evidence: `webint.py`)
- IP lookup → Web lookup services: queries IP data (evidence: `webint.py`)
- Caller → Site mapping: requests mapping (evidence: `webint.py`)
- Site mapping → Domain lookup: checks DNS (evidence: `webint.py`)
- Site mapping → Web lookup services: fetches site files (evidence: `webint.py`)
