Skip to content

Commit 3501457

Browse files
authored
Add project diagram
1 parent 925c229 commit 3501457

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,55 @@
66
![GitHub License](https://img.shields.io/github/license/DeBotCommunity/DeBot)
77
![GitHub Repo stars](https://img.shields.io/github/stars/DeBotCommunity/DeBot)
88

9+
```mermaid
10+
graph TB
11+
%% External Actors
12+
User((Telegram User))
13+
TelegramAPI((Telegram API))
14+
15+
subgraph "DeBot System"
16+
subgraph "Core Bot Container (Python)"
17+
BotClient["Bot Client<br>(Telethon)"]
18+
ModuleManager["Module Manager<br>(Python)"]
19+
ConfigManager["Config Manager<br>(python-dotenv)"]
20+
21+
subgraph "Module Components"
22+
ModuleLoader["Module Loader<br>(Python)"]
23+
CommandHandler["Command Handler<br>(Python)"]
24+
SessionManager["Session Manager<br>(Telethon)"]
25+
end
26+
27+
subgraph "Utility Components"
28+
FakeDataGen["Fake Data Generator<br>(Faker)"]
29+
ConsoleUI["Console UI<br>(Rich)"]
30+
ArtRenderer["ASCII Art Renderer<br>(Art)"]
31+
SystemMonitor["System Monitor<br>(WMI)"]
32+
end
33+
end
34+
35+
subgraph "Network Layer"
36+
ProxyHandler["Proxy Handler<br>(PySocks/python-socks)"]
37+
end
38+
end
39+
40+
%% Relationships
41+
User -->|"Interacts with"| TelegramAPI
42+
TelegramAPI -->|"Communicates via"| ProxyHandler
43+
ProxyHandler -->|"Routes traffic to"| BotClient
44+
45+
BotClient -->|"Loads"| ModuleManager
46+
ModuleManager -->|"Uses"| ModuleLoader
47+
ModuleManager -->|"Registers"| CommandHandler
48+
BotClient -->|"Manages"| SessionManager
49+
50+
BotClient -->|"Configures via"| ConfigManager
51+
52+
CommandHandler -->|"Uses"| FakeDataGen
53+
CommandHandler -->|"Outputs via"| ConsoleUI
54+
ConsoleUI -->|"Renders"| ArtRenderer
55+
CommandHandler -->|"Monitors via"| SystemMonitor
56+
```
57+
958
## Установка:
1059
```sh
1160
git clone https://github.com/DeBotCommunity/DeBot.git

0 commit comments

Comments
 (0)