Comments (6)
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.
@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.
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.
That was fast. Thanks!
from diun.
Tried with v4.3.1 and it works great. Thank you
from diun.
@poperigby @mwalbeck https://crazy-max.github.io/diun/notif/matrix/
from diun.
Related Issues (20)
- Didn't find any new releases HOT 4
- Dockerfile Provider - Git or URL support
- NTFY integration, receiving markdown but web app does not transform it HOT 2
- Multi notification for same image
- [feature request] Add Telegram message option disable_notification
- Add Telegram topic id HOT 1
- tls: failed to verify certificate: x509: certificate is valid for ip-172-31-34-156.ec2.internal, not auth.docker.io HOT 1
- Error when using "DIUN_NOTIF_MAIL_HOST" variable HOT 3
- DIUN_NOTIF_TELEGRAM_TOKENFILE
- Newer semver image tags notification for `file` provider
- Cannot send notification with Signal-REST to Signal group chat
- Diun not found any image. HOT 2
- Nomad provider errors out with "invalid memory address or nil pointer dereference" HOT 2
- Google Artifact Registry Service Account key.json as PASSWORDFILE
- Diun doesn't send notifications about new images found HOT 2
- Check images behind docker proxy
- Make "info" logs less verbose
- Feature request: Support for generic push healthchecks
- [Feature request] Support Pushover message priority HOT 1
- Only receiving notification after image has already been updated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diun.