# rustdesk/rustdesk-server-pro architecture

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

- Interactive diagram: https://gitdiagram.com/rustdesk/rustdesk-server-pro
- Repository: https://github.com/rustdesk/rustdesk-server-pro

## Overview

RustDesk Server PRO is represented here as a small collection of shell scripts. The README identifies `lib.sh` as shared code, but provides no detail about individual script behavior or their execution order, so the graph does not infer a user-to-result workflow. Source excerpts were unavailable; relationships are limited to what the README documents.

Main entry points: [`install.sh`](https://github.com/rustdesk/rustdesk-server-pro/blob/main/install.sh) (Install), [`update.sh`](https://github.com/rustdesk/rustdesk-server-pro/blob/main/update.sh) (Update), [`uninstall.sh`](https://github.com/rustdesk/rustdesk-server-pro/blob/main/uninstall.sh) (Uninstall), [`convertfromos.sh`](https://github.com/rustdesk/rustdesk-server-pro/blob/main/convertfromos.sh) (OS Conversion)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_operator(("Operator"))
node_install["Install<br/>[install.sh]"]
node_update["Update<br/>[update.sh]"]
node_uninstall["Uninstall<br/>[uninstall.sh]"]
node_convert["OS Conversion<br/>[convertfromos.sh]"]
node_shared["Shared Shell Library<br/>[lib.sh]"]

node_operator -->|"runs"| node_install
node_operator -->|"runs"| node_update
node_operator -->|"runs"| node_uninstall
node_operator -->|"runs"| node_convert

click node_install "https://github.com/rustdesk/rustdesk-server-pro/blob/main/install.sh"
click node_update "https://github.com/rustdesk/rustdesk-server-pro/blob/main/update.sh"
click node_uninstall "https://github.com/rustdesk/rustdesk-server-pro/blob/main/uninstall.sh"
click node_convert "https://github.com/rustdesk/rustdesk-server-pro/blob/main/convertfromos.sh"
click node_shared "https://github.com/rustdesk/rustdesk-server-pro/blob/main/lib.sh"

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_operator toneIndigo
class node_install,node_update,node_uninstall,node_convert,node_shared toneTeal
```

## Components

### Other components

- **Operator**
- [Install](https://github.com/rustdesk/rustdesk-server-pro/blob/main/install.sh): `install.sh`
- [Update](https://github.com/rustdesk/rustdesk-server-pro/blob/main/update.sh): `update.sh`
- [Uninstall](https://github.com/rustdesk/rustdesk-server-pro/blob/main/uninstall.sh): `uninstall.sh`
- [OS Conversion](https://github.com/rustdesk/rustdesk-server-pro/blob/main/convertfromos.sh): `convertfromos.sh`
- [Shared Shell Library](https://github.com/rustdesk/rustdesk-server-pro/blob/main/lib.sh): `lib.sh`

## Connections

- Operator → Install: runs (evidence: `README.md`)
- Operator → Update: runs (evidence: `README.md`)
- Operator → Uninstall: runs (evidence: `README.md`)
- Operator → OS Conversion: runs (evidence: `README.md`)
