# 7vnguyenvu/wptools architecture

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

- Interactive diagram: https://gitdiagram.com/7vnguyenvu/wptools
- Repository: https://github.com/7vnguyenvu/wptools

## Overview

This repository is a collection of browser-based sitemap and URL-processing tools, with branded variants for AP Car Care, Haravan, Thắng Lợi, and a structural-site workflow, plus a separate sign-in page. The visible tool scripts expose URL input, sitemap download, URL processing, progress controls, proxy testing, and table/CSV actions; however, their obfuscated and partial excerpts do not establish the full processing sequence or backend interactions. The graph therefore shows the user-facing tool entry points and keeps the sign-in script separate rather than assuming an integration.

Main entry points: [`script.js`](https://github.com/7vnguyenvu/wptools/blob/main/script.js) (Main URL tool), [`sevn-lenart-cms-apcarcare/script.js`](https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-cms-apcarcare/script.js) (AP Car Care tool), [`sevn-lenart-cms-haravan/script.js`](https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-cms-haravan/script.js) (Haravan tool), [`sevn-lenart-cms-thangloi/script.js`](https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-cms-thangloi/script.js) (Thắng Lợi tool)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_tools["URL tools"]
  node_main_tool["Main URL tool<br/>[script.js]"]
  node_apcarcare_tool["AP Car Care tool<br/>[script.js]"]
  node_haravan_tool["Haravan tool<br/>[script.js]"]
  node_thangloi_tool["Thắng Lợi tool<br/>[script.js]"]
  node_struct_tool["Structural site tool<br/>[script.js]"]
end

subgraph group_auth["Sign-in"]
  node_signin["Sign-in flow<br/>[login.js]"]
end

node_user(("Operator"))

node_user -.->|"operates"| node_main_tool
node_user -.->|"operates"| node_apcarcare_tool
node_user -.->|"operates"| node_haravan_tool
node_user -.->|"operates"| node_thangloi_tool
node_user -.->|"operates"| node_struct_tool
node_user -.->|"uses"| node_signin

click node_main_tool "https://github.com/7vnguyenvu/wptools/blob/main/script.js"
click node_apcarcare_tool "https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-cms-apcarcare/script.js"
click node_haravan_tool "https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-cms-haravan/script.js"
click node_thangloi_tool "https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-cms-thangloi/script.js"
click node_struct_tool "https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-struct-site/script.js"
click node_signin "https://github.com/7vnguyenvu/wptools/blob/main/signin/login.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_main_tool,node_apcarcare_tool,node_haravan_tool,node_thangloi_tool,node_struct_tool toneBlue
class node_signin toneAmber
class node_user toneIndigo
```

## Components

### URL tools

- [Main URL tool](https://github.com/7vnguyenvu/wptools/blob/main/script.js): `script.js`
- [AP Car Care tool](https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-cms-apcarcare/script.js): `sevn-lenart-cms-apcarcare/script.js`
- [Haravan tool](https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-cms-haravan/script.js): `sevn-lenart-cms-haravan/script.js`
- [Thắng Lợi tool](https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-cms-thangloi/script.js): `sevn-lenart-cms-thangloi/script.js`
- [Structural site tool](https://github.com/7vnguyenvu/wptools/blob/main/sevn-lenart-struct-site/script.js): `sevn-lenart-struct-site/script.js`

### Sign-in

- [Sign-in flow](https://github.com/7vnguyenvu/wptools/blob/main/signin/login.js): `signin/login.js`

### Other components

- **Operator**

## Connections

- Operator → Main URL tool: operates
- Operator → AP Car Care tool: operates
- Operator → Haravan tool: operates
- Operator → Thắng Lợi tool: operates
- Operator → Structural site tool: operates
- Operator → Sign-in flow: uses
