No description
- Rust 100%
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| example.toml | ||
| LICENSE | ||
| README.md | ||
Matrix Push Server
This is a simple af workaround to problem of push notifications with matrix.
Why?
A lot of Matrix applications implement UnifiedPush, for some reason tho, those don't work for me or my friends. So I made this simple thing.
Usage
Copy example.toml to mps.toml (placeholder name), or you can give path as argument, and change data:
- homeserver - Your matrix homeserver
- username - Your username
- password - Your password
- post_url - URL where this thing will send POST requests
- post_body - Body of POST request. Supports templating, for now only "{{ sender }}" which will be replaced with who sent message.
- sender - Person(s) to whose messages this thing will react to (Supports multiple people, but for now for all people it will send the same message)
- rooms - Optional list of rooms to which program will react to, uses room/dms/whatever display names, not including it will react everywhere
You can either use your own account, or make specific account you will add to your group as sort of passive listener. (If second, make sure your account accepted invite to group)
To Be Done
- Some more templates
- idk
- Probably NOT message content, because it would mean dealing with e2ee.