Matterdelta
Matterdelta is a Matterbridge API plugin allowing to connect Delta Chat group chats to the various chat services supported by Matterbridge.
Install
pip install matterdelta
Usage
Configure the bot's Delta Chat account:
matterdelta init dcaccount:nine.testrun.org
The bot's display name, avatar and status/signature can also be tweaked:
matterdelta config selfavatar "/path/to/avatar.png"
matterdelta config displayname "Bridge Bot"
matterdelta config selfstatus "Hi, I am a Delta Chat bot"
To run the bot so it starts processing messages:
matterdelta serve
To see all available options run matterdelta --help
Example Configuration
matterbridge.toml
[api]
[api.deltachat]
BindAddress="127.0.0.1:4242"
Token="MATTERBRIDGE_TOKEN"
Buffer=1000
RemoteNickFormat="{NICK}"
...
[[gateway]]
name="gateway1"
enable=true
[[gateway.inout]]
account="api.deltachat"
channel="api"
...
Add these to your existing Matterbridge config to set up an API instance that Matterdelta can connect to.
config.json
{
"gateways": [
{"gateway": "gateway1", "accountId": 1, "chatId": 1234}
],
"api": {
"url": "http://127.0.0.1:4242",
"token": "MATTERBRIDGE_TOKEN"
},
"quoteFormat": "{MESSAGE} (re @{QUOTENICK}: {QUOTEMESSAGE:.46})"
}
This file should be in Matterdelta's configuration directory, usually ~/.config/matterdelta/
in Linux-based systems.
To get the accountId and chatId of the chat you want to bridge,
run the bot and add its address to your Delta Chat group, then send /id in the group,
the bot will reply with the account and chat id, then edit the configuration file and restart the bot.
Metadata
Release files for matterdelta 1.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| matterdelta-1.8.0.tar.gz | 19.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| matterdelta-1.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.9 kB
Release files / matterdelta-1.8.0.tar.gz
| Download URL | matterdelta-1.8.0.tar.gz |
|---|---|
| Size | 19.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de218cdfd614412bcaea71e546a8cdd4a8366ffad12e95fe6ea12cc7fa6111f4
|
|
BLAKE2b-256 checksum How to use checksums |
8af5b47b244f6caad434ebd278c400fb4a4b5b1130f4a70f68b092f4d4803b11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / matterdelta-1.8.0-py3-none-any.whl
| Download URL | matterdelta-1.8.0-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd2fdbe234f9cbbcba3478f6bbe6bc3158e1da096b31baea6dcc8f64b7a5151f
|
|
BLAKE2b-256 checksum How to use checksums |
70131950e093bd4a174143669f2627c9a6c9576aaeadd643b5a4f1f3fe98c79d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|