Matrix
How to build a Matrix Bot
You can choose any Matrix server. Here, we will be using matrix.org and Element as an example.
To register a Matrix account, follow these steps:
- Open Element and click "Create Account".
- Fill in the required information.
- Log in and create a public room for publishing (optional).
- Go to Room Settings > Advanced, you can find Internal room ID (optional).
Configuration
After creating a Matrix account, you will have the Homeserver, User ID, Password, and Internal room ID.
Next, place these keys in the environment or configuration file:
WAYBACK_MATRIX_HOMESERVER: Homeserver of your choice, defaults tomatrix.orgWAYBACK_MATRIX_USERID: User ID, e.g.@alice:matrix.orgWAYBACK_MATRIX_ROOMID: Internal room IDWAYBACK_MATRIX_PASSWORD: Password from your registration step.