Skip to content

zaun-host init --data-dir D creates D (mode 0700) with:

File What it is
host.key the host’s signing key (mode 0600)
simplex.key the SimpleX store’s passphrase (mode 0600), unless you use ZAUN_HOST_PASSPHRASE
host.db the communities’ state (SQLite)
zaun-host.toml the configuration, with no secrets in it
simplex/ the SimpleX client’s encrypted store and attachment files
bots/ installed bots’ compiled code cache and storage

init refuses to overwrite any of them.

Terminal window
zaun-host status --data-dir D # config, files and permissions; non-zero exit on a failure
zaun-host doctor --data-dir D # offline read-only checks, each ok / warn / FAIL

Both connect to nothing and are safe while the host is running.

Terminal window
zaun-host address --data-dir D # the SimpleX address (after the first run)
zaun-host id --data-dir D # the host id and public key

An owner needs both to create a community on your host.

community_creation in zaun-host.toml decides:

Value Who may create a community
"closed" (default) nobody
"allow_list" owners whose community ids are listed in creation_allow_list
"open" anyone who connects (rate-limited)

For your own community, open creation briefly (see the quick start), or create the community’s root key first and allow-list its id (create_community_with_root in zaun-client).

The host logs to stderr (good for systemd and containers) at log_level (off, error, warn, info, debug). It never logs message content, keys, passphrases or invite links.