# wangzeyu9965/vps architecture

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

- Interactive diagram: https://gitdiagram.com/wangzeyu9965/vps
- Repository: https://github.com/wangzeyu9965/vps

## Overview

This repository is a Chinese-language tutorial, not an executable software project. Its principal workflow is to obtain and provision a Vultr VPS, connect remotely to install Shadowsocks, and configure a client to use the server for traffic forwarding. It also mentions deploying a project to the VPS, but defers those deployment steps to another tutorial. The repository contains only README.md, so the relationships below reflect documented instructions rather than inspected implementation.

Main entry points: [`README.md`](https://github.com/wangzeyu9965/vps/blob/master/README.md) (Provisioned VPS)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_vps["VPS setup"]
  node_account["Provider account<br/>[README.md]"]
  node_payment["Account funding<br/>[README.md]"]
  node_selection["VPS selection<br/>[README.md]"]
  node_server["Provisioned VPS<br/>[README.md]"]
  node_project["Deployed project<br/>[README.md]"]
end

subgraph group_server["Server installation"]
  node_ssh["Remote terminal<br/>[README.md]"]
  node_installer["Shadowsocks installer<br/>[README.md]"]
  node_config["Server credentials<br/>[README.md]"]
end

subgraph group_client["Client access"]
  node_apps["Client apps<br/>[README.md]"]
end

node_reader(("Reader"))
node_provider["Vultr"]
node_github["GitHub script source"]
node_websites["Destination websites"]

node_reader -->|"registers"| node_account
node_reader -->|"funds"| node_payment
node_reader -->|"chooses plan"| node_selection
node_account -->|"uses"| node_provider
node_payment -->|"pays"| node_provider
node_selection -->|"requests VPS"| node_provider
node_provider -->|"provisions"| node_server
node_reader -->|"connects remotely"| node_ssh
node_ssh -->|"logs into"| node_server
node_ssh -->|"downloads script"| node_github
node_ssh -->|"runs commands"| node_installer
node_installer -->|"installs on"| node_server
node_installer -->|"prompts for"| node_config
node_reader -->|"configures"| node_apps
node_config -->|"supplies settings"| node_apps
node_apps -->|"forwards traffic"| node_server
node_apps -->|"accesses"| node_websites
node_reader -.->|"may deploy"| node_project
node_server -.->|"hosts"| node_project

click node_account "https://github.com/wangzeyu9965/vps/blob/master/README.md"
click node_payment "https://github.com/wangzeyu9965/vps/blob/master/README.md"
click node_selection "https://github.com/wangzeyu9965/vps/blob/master/README.md"
click node_server "https://github.com/wangzeyu9965/vps/blob/master/README.md"
click node_project "https://github.com/wangzeyu9965/vps/blob/master/README.md"
click node_ssh "https://github.com/wangzeyu9965/vps/blob/master/README.md"
click node_installer "https://github.com/wangzeyu9965/vps/blob/master/README.md"
click node_config "https://github.com/wangzeyu9965/vps/blob/master/README.md"
click node_apps "https://github.com/wangzeyu9965/vps/blob/master/README.md"

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_account,node_payment,node_selection,node_server,node_project toneBlue
class node_ssh,node_installer,node_config toneAmber
class node_apps toneMint
class node_reader,node_provider,node_github,node_websites toneIndigo
```

## Components

### VPS setup

- [Provider account](https://github.com/wangzeyu9965/vps/blob/master/README.md): `README.md`
- [Account funding](https://github.com/wangzeyu9965/vps/blob/master/README.md): `README.md`
- [VPS selection](https://github.com/wangzeyu9965/vps/blob/master/README.md): `README.md`
- [Provisioned VPS](https://github.com/wangzeyu9965/vps/blob/master/README.md): `README.md`
- [Deployed project](https://github.com/wangzeyu9965/vps/blob/master/README.md): `README.md`

### Server installation

- [Remote terminal](https://github.com/wangzeyu9965/vps/blob/master/README.md): `README.md`
- [Shadowsocks installer](https://github.com/wangzeyu9965/vps/blob/master/README.md): `README.md`
- [Server credentials](https://github.com/wangzeyu9965/vps/blob/master/README.md): `README.md`

### Client access

- [Client apps](https://github.com/wangzeyu9965/vps/blob/master/README.md): `README.md`

### Other components

- **Reader**
- **Vultr**
- **GitHub script source**
- **Destination websites**

## Connections

- Reader → Provider account: registers
- Reader → Account funding: funds
- Reader → VPS selection: chooses plan
- Provider account → Vultr: uses
- Account funding → Vultr: pays
- VPS selection → Vultr: requests VPS
- Vultr → Provisioned VPS: provisions
- Reader → Remote terminal: connects remotely
- Remote terminal → Provisioned VPS: logs into
- Remote terminal → GitHub script source: downloads script
- Remote terminal → Shadowsocks installer: runs commands
- Shadowsocks installer → Provisioned VPS: installs on
- Shadowsocks installer → Server credentials: prompts for
- Reader → Client apps: configures
- Server credentials → Client apps: supplies settings
- Client apps → Provisioned VPS: forwards traffic
- Client apps → Destination websites: accesses
- Reader → Deployed project: may deploy
- Provisioned VPS → Deployed project: hosts
