Morgan McMillian
c75b7517ca
When creating of the matrix room is triggered, the pnut attribute channel.acl.read.public flag should be used to determine if the matrix room preset should be set to public or private. Issue #58 |
||
---|---|---|
.gitignore | ||
appservice.py | ||
appservice.yaml-sample | ||
CHANGELOG.md | ||
config.yaml-sample | ||
database.py | ||
Dockerfile | ||
LICENSE | ||
models.py | ||
pnut-matrix-bot.py | ||
pnut-matrix.py | ||
README.md | ||
requirements.txt |
The Matrix <--> Pnut bridge
This is a pnut.io channel bridge for Matrix using the Application Services (AS) API.
This bridge will pass pnut.io channel messages through to Matrix, and Matrix messages through to pnut.io channels.
Usage
The public bridge is once again online!
See Using-the-public-bridge for details.
Installation
Currently pnut-matrix has been only tested with and confirmed to work with synapse. Please refer to the synapse installation instructions for details on how to setup your homeserver.
To install the latest version of pnut-matrix from source:
git clone https://gitlab.com/thrrgilag/pnut-matrix.git
cd pnut-matrix
python3 -m venv env
source env/bin/activate
pip3 install -r requirements.txt
Configuration
Copy config.yaml-sample
to config.yaml
and edit for your setup. Likewise copy appservice.yaml-sample
to appservice.yaml
and edit to match the tokens, prefix, and port listed in config.yaml
. This is the configuration that synapse will need to reference so that it can connect the bridge. Make sure you modify your syanpse configuration accordingly.
Contributing and support
You can open issues for bugs or feature requests and you can submit merge requests to this project on GitLab. You can also submit issues and patches to the mailing list or directly to morgan@mcmillian.dev.
Join my public chat room for development discussion.
License
GPLv3, see LICENSE.