Skip to content

Wikit Configuration

bugnofree edited this page Nov 26, 2021 · 1 revision

Wikit uses wikit.toml (it can be find by click menu Wikit Desktop/Open Configuration Directory) as its configuration which contains the following

[cltcfg]                          
uris = [                          
    "file:///path/to/dict.wikit", 
]                                 
                                  
[srvcfg]                          
uris = [                          
]                                 
host = "0.0.0.0"                  
port = 8888                       

Client Mode

If you use wikit desktop, you just need to focus on the section [cltcfg] and do not touch [srvcfg] section.

uris can be path to your wikit dictionary (the path must begin with file://) or API address (must starts with http or https) that your wikit server provides, such as https://192.168.1.8:8888.

Server Mode

Server use both [cltcfg] and [srvcfg] section.

TODO

Clone this wiki locally