kha7iq / pingme

PingMe is a CLI which provides the ability to send messages or alerts to multiple messaging platforms & email.
https://pingme.lmno.pk
MIT License
771 stars 43 forks source link

feat(service): add support for matrix server #61

Closed matbgn closed 2 years ago

matbgn commented 2 years ago

Matrix is free and open source self hosted service. Adding it to the supported push services will be useful.

It's the back-end part of the formerly known Riot.im know called Element

Describe the solution you'd like

Server has an api which can be used to send messages.

Additional context

Some useful links:

matbgn commented 2 years ago

The detailed structure looks like this:

curl -XPOST -d '{"msgtype":"m.text", "body":"TEXT_MESSAGE_TO_BE_SENT"}' "https://MATRIX_SERVER_URL/_matrix/client/r0/rooms/%21ROOM_IDENTIFIER:MATRIX_DOMAIN/send/m.room.message?access_token=USER_ACCESS_TOKEN

e.g. for ENVs:

Hope that helps

ahdekkers commented 2 years ago

I'd be happy to work on this issue

kha7iq commented 2 years ago

@ahdekkers You can assign the issue to your self. let me know if anything i can assist with.

ahdekkers commented 2 years ago

Ok, thanks. Sorry but I'm a bit new to the whole open source contributing business, and not sure how to assign myself :) If you could let me know how to do that, that would be helpful - will get started on this in the meantime anyway, @kha7iq.

kha7iq commented 2 years ago

I am glad that you have chosen to dedicate some time for this project, i have assigned the issue to you. Just ask in the task if you need anything.