1
0
Fork
You've already forked mopenchat-bot
0
No description
  • Python 100%
2026年07月12日 19:12:05 +02:00
src/mopenchat-bot Aller Anfang ist schwer. 2026年07月12日 19:12:05 +02:00
pyproject.toml Aller Anfang ist schwer. 2026年07月12日 19:12:05 +02:00
README.md Aller Anfang ist schwer. 2026年07月12日 19:12:05 +02:00

mopenchat-bot

simple matrix adapter for open chat

this bot requires a dedicated matrix account.

currently e2ee setup works only if the bot is alone on the account, so the setup tool ask for logging out any other device.

quick instructions

create and activate venv

pip install .

(create bot's working dir and cd into it)

smalsetup <matrixid>
e2eesetup

create file oc_credentials.toml

user = "oc_userid"
token = "ocat_xxxx"

create file config.toml

oc_backend = "http://localhost:1984"
mocbot_admins = ["@admin:domain.org", "@user:server.com"]
allowed_users = ["domain.org", "@user:server.com", "@user2:example.net"]

botadmins are always allowed

dm = chat

room: mention the bot in a regular top message (eg. ask a question in a support room), it replies in a thread, conversation goes here.

start the bot:

python -m mopenchat-bot