No description
Find a file
2024-01-05 03:32:24 +01:00
src cargo fmtd it 2024-01-05 03:32:24 +01:00
.gitignore Multi person support 2024-01-03 22:37:06 +01:00
Cargo.lock Added templates 2024-01-03 23:54:50 +01:00
Cargo.toml Added templates 2024-01-03 23:54:50 +01:00
example.toml Added rooms option 2024-01-05 03:11:59 +01:00
LICENSE first commit 2024-01-03 21:57:10 +01:00
README.md Added rooms option 2024-01-05 03:11:59 +01:00

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.