Comparison

mod_discodot/README.md @ 6209:d611ed13df7e draft

Merge
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Tue, 18 Mar 2025 00:16:25 +0700
parent 4577:mod_discodot/README.markdown@253df0798996
comparison
equal deleted inserted replaced
6208:e20901443eae 6209:d611ed13df7e
1 # Flowcharts!
2
3 Put this module somewhere Prosody will find it and then run
4 `prosodyctl mod_discodot | dot -Tsvg -o disco-graph.svg` to receive a
5 graph like this[^1]:
6
7 +------------------------+ +------------------------------------------+
8 | proxy.external.example | <-- | VirtualHost "example.com" | -+
9 +------------------------+ +------------------------------------------+ |
10 | |
11 | |
12 v |
13 +------------------------------------------+ |
14 | Component "conference.example.com" "muc" | <+
15 +------------------------------------------+
16
17 Example config for the above:
18
19 ``` {.lua}
20 VirtualHost "xmpp.example.com"
21 disco_items = {
22 { "conference.example.com"; };
23 { "proxy.external.example"; };
24 }
25
26 Component "conference.example.com" "muc"
27 ```
28
29 Note the `disco_items` entry causing duplication since subdomains are
30 implicitly added.
31
32 [^1]: this was actuall made with `graph-easy`