### Install Pantalaimon with UI from PyPI Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Install Pantalaimon and its optional D-Bus UI components from PyPI. ```bash pip install pantalaimon[ui] ``` -------------------------------- ### macOS: Install D-Bus and Configure Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Install D-Bus using Homebrew on macOS, modify its session configuration, and start the D-Bus service. Restarting the system may be necessary for changes to take effect. ```bash brew install dbus ``` ```bash perl -pi -e's#(EXTERNAL)##' $(brew --prefix dbus)/share/dbus-1/session.conf ``` ```bash brew services start dbus ``` -------------------------------- ### Install Pantalaimon from PyPI Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Install Pantalaimon directly from the Python Package Index (PyPI). ```bash pip install pantalaimon ``` -------------------------------- ### macOS: Install Pantalaimon from Source Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Clone the Pantalaimon repository and install it using `setup.py`, specifying the include and library paths for the previously built Olm C library. Ensure `DBUS_SESSION_BUS_ADDRESS` is exported. ```bash git clone https://github.com/matrix-org/pantalaimon (cd pantalaimon; CFLAGS=-I../olm/include LDFLAGS=-L../olm/build/ python3 setup.py install) ``` ```bash export DBUS_SESSION_BUS_ADDRESS=unix:path=$(launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET) ``` -------------------------------- ### macOS: Build and Install Olm C Library Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Clone the Olm repository, build the C library, and install it. This is a prerequisite for installing Pantalaimon on macOS. ```bash git clone https://gitlab.matrix.org/matrix-org/olm (cd olm; make) ``` -------------------------------- ### Default and Proxy Instance Configuration Source: https://github.com/matrix-org/pantalaimon/blob/master/docs/man/pantalaimon.5.md Example configuration showing both default settings and a specific proxy instance. The Default section sets global options like LogLevel, SSL, and Notifications, while the Clocktown section configures a specific homeserver proxy with its Homeserver URL, ListenAddress, ListenPort, Proxy, and SSL settings. ```ini [Default] LogLevel = Debug SSL = True Notifications = On [Clocktown] Homeserver = https://localhost:8448 ListenAddress = localhost ListenPort = 8009 Proxy = http://localhost:8080 SSL = False ``` -------------------------------- ### Example Pantalaimon Docker Configuration Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md A sample configuration file for Pantalaimon when used within a Docker environment. ```conf [Default] LogLevel = Debug SSL = True [local-matrix] Homeserver = https://matrix.org ListenAddress = 0.0.0.0 ListenPort = 8008 SSL = False UseKeyring = False IgnoreVerification = True ``` -------------------------------- ### Install Pantalaimon with UI Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Install Pantalaimon along with its optional D-Bus based UI for daemon control. It's recommended to use a virtual environment or system package manager for dependencies. ```bash pip install .[ui] ``` -------------------------------- ### macOS: Install Notification Daemon Dependencies Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Install necessary Python packages for the macOS notification center integration, including PyObjC, daemon, glib, and dbus-python. Uninstall 'foundation' if Django's version is installed and the filesystem is case-insensitive. ```bash pip install PyObjC daemon glib dbus-python ``` -------------------------------- ### Docker: Build Pantalaimon Image Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Build a Docker image for Pantalaimon using the provided Dockerfile. This is primarily intended for use in bots. ```bash docker build -t pantalaimon . ``` -------------------------------- ### Run Pantalaimon Docker Container Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Launches a Pantalaimon Docker container, mounting a volume for data and exposing the default port. ```bash docker run -it --rm -v /path/to/pantalaimon/dir:/data -p 8008:8008 pantalaimon ``` -------------------------------- ### macOS: Run Pantalaimon Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Navigate to the Pantalaimon directory and run the daemon, specifying the configuration file and setting `DYLD_LIBRARY_PATH` to include the Olm build directory. ```bash cd pantalaimon DYLD_LIBRARY_PATH=../olm/build/ pantalaimon -c contrib/pantalaimon.conf ``` -------------------------------- ### Build Pantalaimon Docker Image from GitHub Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Builds the Pantalaimon Docker image directly from a GitHub repository branch or tag. ```bash docker build -t pantalaimon github.com/matrix-org/pantalaimon#master ``` -------------------------------- ### macOS: Run Notification Daemon Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md Navigate to the notification-daemon-mac-py directory and execute the `notify.py` script to run the notification daemon. ```bash cd notification-daemon-mac-py ./notify.py ``` -------------------------------- ### Minimal Pantalaimon Configuration Source: https://github.com/matrix-org/pantalaimon/blob/master/README.md A basic configuration file required for Pantalaimon to run, specifying homeserver and listening details. ```dosini [local-matrix] Homeserver = https://localhost:443 ListenAddress = localhost ListenPort = 8009 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.