Skip to content

Commit 845bd9f

Browse files
m-005GrocerPublishAgent
authored andcommitted
feat: added encrypted data flowchart
1 parent c33c3ab commit 845bd9f

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

content/how-it-works.mdx

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,30 @@ here.
2020
messages between them. The server can't read your data - it just moves
2121
encrypted blobs around.
2222

23-
> **Diagram needed**: Show three boxes (CLI, Server, Mobile App) with arrows
24-
showing encrypted data flow. CLI encrypts and sends to Server, Server stores
25-
blob and forwards to Mobile App, Mobile App decrypts and displays.
23+
```mermaid
24+
flowchart LR
25+
%% --- Nodes (with responsibility sublabels) ---------------------------
26+
subgraph Computer
27+
happy["CLI<br>Encrypts & Sends"]
28+
end
29+
subgraph Happy Server
30+
relay["Relay Server<br>Stores & Forwards"]
31+
end
32+
subgraph Phone
33+
app["Mobile App<br>Decrypts & Displays"]
34+
end
35+
36+
%% --- Encrypted data flow --------------------------------------------
37+
happy -->|encrypted data| relay
38+
relay -->|encrypted blob| app
39+
40+
%% --- Styling ---------------------------------------------------------
41+
classDef nodeGrey fill:#d3d3d3,stroke:#a9a9a9,color:#000,stroke-width:1.5px;
42+
class happy,relay,app nodeGrey
43+
44+
classDef linkGrey stroke:#a9a9a9,stroke-width:1.5px;
45+
linkStyle 0,1 stroke:#a9a9a9,stroke-width:1.5px;
46+
```
2647

2748
## Why You Need the Relay Server
2849

0 commit comments

Comments
 (0)