matrix-bot-invitation-mailer/README.md

28 lines
680 B
Markdown
Raw Permalink Normal View History

2024-06-26 19:52:11 +02:00
# Matrix Bot for sending homeserver invitation link via e-mail
A early stage and simlpe Matrix bot which I use in addition to [matrix-registration](https://github.com/ZerataX/matrix-registration).
The bot calls the Api and sends the invitation link via e-mail to a given receipient.
## Usage
2024-11-19 22:41:01 +01:00
Use container image or run this after cloning. In both cases you need to create a `.env` file containing the matrix and mail server credentials:
```
cp. .env.example .env
```
If you want to run it without the container you can run it like this:
2024-06-26 19:52:11 +02:00
```
2024-09-21 12:48:32 +02:00
. bin/activate
2024-06-26 19:52:11 +02:00
python -m matrix_bot_invitation_mailer
```
2024-11-19 22:41:01 +01:00
And for use with docker run it like this:
```
docker compose up -d
```