Giter Site home page Giter Site logo

Matrix notification about diun HOT 6 CLOSED

crazy-max avatar crazy-max commented on May 18, 2024
Matrix notification

from diun.

Comments (6)

mwalbeck avatar mwalbeck commented on May 18, 2024 3

There is a simple endpoint for sending messages to a room, which is definitely the easiest way to do this. The relevant areas in the documentation, which @poperigby linked above, are:

  • 5.1 - Using access token for auth, can be via request header or query string
  • 9.6.2 - The endpoint to use
  • 13.2.1.1 - The event type to use with the endpoint, m.room.message
  • 13.2.1.7 - The different message types available, the relevant one being m.notice, which is intended for automated messages.

from diun.

crazy-max avatar crazy-max commented on May 18, 2024 1

@poperigby I'll need more information so we can integrate the notifications for Matrix:

  • Link to API documentation
  • Auth method and endpoint to call

from diun.

poperigby avatar poperigby commented on May 18, 2024 1

Here's the client server API for Matrix: https://matrix.org/docs/spec/client_server/latest

I think you might need to use a bot to send the notifications. Here's a bot SDK written in Go, because you seem to be comfortable with that language: https://github.com/tulir/mautrix-go

Alternatively you could try and make Diun work with this existing webhook bot: https://github.com/turt2live/matrix-appservice-webhooks.

Do either of these seem feasible to you? I could try and dig something else if they don't work.

from diun.

poperigby avatar poperigby commented on May 18, 2024 1

That was fast. Thanks!

from diun.

mwalbeck avatar mwalbeck commented on May 18, 2024 1

Tried with v4.3.1 and it works great. Thank you

from diun.

crazy-max avatar crazy-max commented on May 18, 2024

@poperigby @mwalbeck https://crazy-max.github.io/diun/notif/matrix/

from diun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.