# yonggekkk/x-ui-yg architecture

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

- Interactive diagram: https://gitdiagram.com/yonggekkk/x-ui-yg
- Repository: https://github.com/yonggekkk/x-ui-yg

## Overview

This repository packages a one-command installer and closed-source x-ui-yg panel binaries. The documented workflow is to run the installer on a supported VPS, then use the panel for proxy and subscription features. The README describes those capabilities, but no source excerpts are available to verify internal calls, configuration handling, or how the installer selects binaries; those implementation links are therefore omitted.

Main entry points: [`install.sh`](https://github.com/yonggekkk/x-ui-yg/blob/main/install.sh) (One-click installer), [`xuiwpph_amd64`](https://github.com/yonggekkk/x-ui-yg/blob/main/xuiwpph_amd64) (AMD64 binary), [`xuiwpph_arm64`](https://github.com/yonggekkk/x-ui-yg/blob/main/xuiwpph_arm64) (ARM64 binary)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Installation"]
  node_installer["One-click installer<br/>[install.sh]"]
end

subgraph group_runtime["Panel Runtime"]
  node_amd64["AMD64 binary"]
  node_arm64["ARM64 binary"]
end

subgraph group_features["Panel Capabilities"]
  node_panel_features["Proxy and subscriptions"]
end

node_operator(("VPS operator"))

node_operator -->|"runs"| node_installer
node_installer -.->|"installs"| node_amd64
node_installer -.->|"installs"| node_arm64
node_amd64 -.->|"provides"| node_panel_features
node_arm64 -.->|"provides"| node_panel_features

click node_installer "https://github.com/yonggekkk/x-ui-yg/blob/main/install.sh"
click node_amd64 "https://github.com/yonggekkk/x-ui-yg/blob/main/xuiwpph_amd64"
click node_arm64 "https://github.com/yonggekkk/x-ui-yg/blob/main/xuiwpph_arm64"
click node_panel_features "https://github.com/yonggekkk/x-ui-yg/blob/main/xuiwpph_amd64"

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_installer toneBlue
class node_amd64,node_arm64 toneAmber
class node_panel_features toneMint
class node_operator toneIndigo
```

## Components

### Installation

- [One-click installer](https://github.com/yonggekkk/x-ui-yg/blob/main/install.sh): `install.sh`

### Panel Runtime

- [AMD64 binary](https://github.com/yonggekkk/x-ui-yg/blob/main/xuiwpph_amd64): `xuiwpph_amd64`
- [ARM64 binary](https://github.com/yonggekkk/x-ui-yg/blob/main/xuiwpph_arm64): `xuiwpph_arm64`

### Panel Capabilities

- [Proxy and subscriptions](https://github.com/yonggekkk/x-ui-yg/blob/main/xuiwpph_amd64): `xuiwpph_amd64`

### Other components

- **VPS operator**

## Connections

- VPS operator → One-click installer: runs (evidence: `README.md`)
- One-click installer → AMD64 binary: installs
- One-click installer → ARM64 binary: installs
- AMD64 binary → Proxy and subscriptions: provides
- ARM64 binary → Proxy and subscriptions: provides
