a bot for ops in matrix. This bot catches webhooks and forwards them as messages to matrix rooms.
Find a file
2022-07-22 12:23:04 +00:00
ops_bot First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
tests First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
.flake8 First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
.gitignore First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
.pre-commit-config.yaml First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
.python-version First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
LICENSE.md initial commit 2022-07-22 08:42:44 +00:00
Makefile First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
poetry.lock First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
pyproject.toml First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
README.md First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
requirements.txt First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00

matrix-ops-bot

a bot for ops in matrix

Dev Setup

.env:

MATRIX_HOMESERVER=https://matrix.org
MATRIX_USER_ID=@YOURBOT:matrix.org
MATRIX_PASSWORD="changeme"
MATRIX_DEVICE_NAME=my-bot-server
MATRIX_VERIFY_SSL=True
MATRIX_STORE_PATH=/abs/path/to/persistent-store
BOT_ROUTING_KEYS="{\"room1\": \"!XXXX:matrix.org\", \"room2\": \"!YYYYY:matrix.org\"}"
BOT_BEARER_TOKEN="changeme"
source .env
poetry install
poetry run start

License

matrix-ops-bot
Copyright (C) 2022 Abel Luck <abel@guardianproject.info>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.