The Heisenbridge CLI is used to manage the bridge process and configuration.
Usage:
python -m heisenbridge [options] [homeserver]
Arguments:
homeserver: URL of the Matrix homeserver (default: http://localhost:8008).
Options:
-c CONFIG, --config CONFIG: Path to the registration YAML file. Must be writable if generating.-l LISTEN_ADDRESS, --listen-address LISTEN_ADDRESS: Bridge listen address (default: from config, or 127.0.0.1).-p LISTEN_PORT, --listen-port LISTEN_PORT: Bridge listen port (default: from config, or 9898).-u UID, --uid UID: User ID to run as.-g GID, --gid GID: Group ID to run as.-i, --identd: Enable identd service (default: False).--identd-port IDENTD_PORT: Identd listen port (default: 113).--generate: Generate registration YAML for Synapse.--generate-compat: Generate registration YAML for Dendrite and Conduit.--reset: Reset ALL bridge configuration from homeserver and exit.--safe-mode: Prevent appservice from leaving invalid rooms on startup (for debugging).-o OWNER, --owner OWNER: Set owner MXID (e.g., @user:homeserver) or the first talking local user will claim the bridge.-v, --verbose: Logging verbosity (once for info, twice for debug).
usage: python -m heisenbridge [-h] [-v] (-c CONFIG | --version)
[-l LISTEN_ADDRESS] [-p LISTEN_PORT] [-u UID]
[-g GID] [-i] [--identd-port IDENTD_PORT]
[--generate] [--generate-compat] [--reset]
[--safe-mode] [-o OWNER]
[homeserver]
positional arguments:
homeserver URL of Matrix homeserver (default: http://localhost:8008)
options:
-h, --help show this help message and exit
-v, --verbose logging verbosity level: once is info, twice is debug (default: 0)
-c CONFIG, --config CONFIG
registration YAML file path, must be writable if generating (default: None)
--version show bridge version
-l LISTEN_ADDRESS, --listen-address LISTEN_ADDRESS
bridge listen address (default: as specified in url in config, 127.0.0.1 otherwise) (default: None)
-p LISTEN_PORT, --listen-port LISTEN_PORT
bridge listen port (default: as specified in url in config, 9898 otherwise) (default: None)
-u UID, --uid UID user id to run as (default: None)
-g GID, --gid GID group id to run as (default: None)
-i, --identd enable identd service (default: False)
--identd-port IDENTD_PORT
identd listen port (default: 113)
--generate generate registration YAML for Matrix homeserver (Synapse)
--generate-compat generate registration YAML for Matrix homeserver (Dendrite and Conduit)
--reset reset ALL bridge configuration from homeserver and exit
--safe-mode prevent appservice from leaving invalid rooms on startup (for debugging) (default: False)
-o OWNER, --owner OWNER
set owner MXID (eg: @user:homeserver) or first talking local user will claim the bridge (default: None)