Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Matrix notification agent

Featured Replies

The ability to have Matrix as a notification agent would be great.

Also having a section for custom agents.

 

An example script to send a message to Matrix room (inc E2EE) 1 2

#!/bin/bash

# https://gist.github.com/RickCogley/69f430d4418ae5498e8febab44d241c9
# https://gist.github.com/travnewmatic/769cd9532504e0f85983d69acd4a7d29
#
# Get Access Token
# curl -XPOST -d '{"type":"m.login.password", "user":"***your_username***", "password":"***your_password***"}' "https://matrix.org/_matrix/client/r0/login"

msgtype=m.text
homeserver=<homeserver>
room=<room>
accesstoken=<accesstoken>
 
#Piped Version
#curl -XPOST -d "$( jq -Rsc --arg msgtype "$msgtype" '{$msgtype, body:.}')" -H 'Authorization: Bearer $accesstoken' "https://$homeserver/_matrix/client/r0/rooms/$room/send/m.room.message"

#Arg Version
curl -XPOST -d '{'\"msgtype\":\"$msgtype\"', '\"body\"':'\""$*"\"'}' -H 'Authorization: Bearer $accesstoken' "https://$homeserver/_matrix/client/r0/rooms/$room/send/m.room.message"

#RichText Version
#curl -XPOST -d '{"msgtype":"m.text", "body":"**Hello**","format":"org.matrix.custom.html","formatted_body":"<strong>hello</strong>"}' -H 'Authorization: Bearer $accesstoken' "https://$homeserver/_matrix/client/r0/rooms/$room/send/m.room.message"

 

Edited by CorvinusLucian
duplicate access token in piped url

  • 1 month later...
  • Author

Should it be of interest, I'm working round the limited notification agent options via Mailrise (uses apprise api).  Thanks to the Compose Manager plugin, it is very easy to run on the unraid server itself.

  • 3 months later...

Would love to see native support for Matrix notifications.

  • 5 months later...

MeToo

  • 3 months later...

Oh just to let you know, I've implemented Pushbits notifications into Unraid which is a notification agent for Matrix-Synapse.

 

Pushbits is based on the Gotify API and is working really well with Unraid.

 

You can find the Docker container also in the CA App.

 

& @kardinal

 

EDIT: It looks something like that in the Unraid GUI:

grafik.thumb.png.bdb38e3666ab5bfa2e33c4061dd02b21.png

 

And if you click test you get this:

grafik.png.55d5e58bc9cbee56a1b2bd9aa9dafad0.png

 

The notifications are also color coded for Normal, Warning and Alert messages if enabled in Pushbits.

  • 1 year later...

I just had a go at pushbits and it's very buggy and I couldn't get it working. I formally request direct to Matrix or Apprise as a notification agent. Thanks!

7 hours ago, _freestone__ said:

I just had a go at pushbits and it's very buggy and I couldn't get it working. I formally request direct to Matrix or Apprise as a notification agent.

Can you please be a bit more specofic what is buggy?

 

I’m using it for years now and it sent me thousands of push notifications without an issue:

grafik.thumb.png.9f79845a7df477de5986a2273adc5a4f.png

  • 4 weeks later...

Sorry for my question in this old message.

 

But how use the script ( firts message ) with unRaid?? With PushBits? How

 

Thanks a lot

7 hours ago, Vctrsnts said:

But how use the script ( firts message ) with unRaid?? With PushBits? How

You don't need the script anymore.

 

Just go to Settings -> Notification Settings, scroll down to PushBits and configure it:

grafik.thumb.png.3e64424636d053b199c639bb651291ec.png

So:
- Token: Matrix token
- URL: Matrix server address
But then, how will the room be reported?

And thanks for your reply.

 

Update:
Now I've seen it, it acts as an intermediary between unRaid and Matrix ( pushbits )

And from what I see, there's also a Docker version. Correct? Is it available on unRaid or Docker Hub?

Thanks for everything.

Edited by Vctrsnts

17 minutes ago, Vctrsnts said:

Update:

You should really investigate before writing...

 

18 minutes ago, Vctrsnts said:

Now I've seen it, it acts as an intermediary between unRaid and Matrix ( pushbits )

Yes.

 

18 minutes ago, Vctrsnts said:

And from what I see, there's also a Docker version. Correct? Is it available on unRaid or Docker Hub?

Both:

grafik.png.115648fdbcd579e467e49df21620a9c3.png

 

Please refer to the documentation on how to set up PushBits, I have it now running for years and it just works.

I trying to install on unRaid, copy the config.example.yml and put the information:


 

debug: false
http:
    listenaddress: ''
    port: 8080
    trustedproxies: []
    certfile: ''
    keyfile: ''
database:
    dialect: 'sqlite3'
    connection: 'pushbits.db'
admin:
    name: 'admin'
    password: 'admin'
    # [required]
    matrixid: '@myUser:matrix.myServer.org'
matrix:
    homeserver: 'https://matrix.myServer.org'
    # [required]
    username: 'myUser'
    # [required]
    password: 'myUser'
security:
    checkhibp: false
crypto:
    argon2:
        memory: 131072
        iterations: 4
        parallelism: 4
        saltlength: 16
        keylength: 32
formatting:
    coloredtitle: false
alertmanager:
    annotationtitle: title
    annotationmessage: message
repairbehavior:
    resetroomname: true
    resetroomtopic: true

 

And I watch this error:
 

 ✔ Container matrixPushbits  Started                                                                                                                                                                                                 0.3s
2025/03/25 17:19:46 Starting PushBits.
Failed to find configuration config.yml
panic: MatrixID is required, but blank
goroutine 1 [running]:
github.com/pushbits/server/internal/configuration.Get(0xc00031ff48)
        /build/internal/configuration/configuration.go:77 +0x167
main.main()
        /build/cmd/pushbits/main.go:32 +0x98
Failed to find configuration config.yml
2025/03/25 17:19:47 Starting PushBits.
panic: MatrixID is required, but blank
goroutine 1 [running]:
github.com/pushbits/server/internal/configuration.Get(0xc00031ff48)
        /build/internal/configuration/configuration.go:77 +0x167
main.main()
        /build/cmd/pushbits/main.go:32 +0x98

 

Where is the problem? Because the MatrixID is with information.

 

Thanks a lot

5 minutes ago, Vctrsnts said:
panic: MatrixID is required, but blank

Maybe this is the issue…

Yes, but if matrixid is not blank.

 

admin: 
  name: 'admin' 
  password: 'admin' 
  # [required] 
  matrixid: '@myUser:matrix.myServer.org' 
matrix: 
  homeserver: 'https://matrix.myServer.org' 
  # [required] 
  username: 'myUser' 
  # [required] 
  password: 'myUser'

 

the MatrixID is

'@myUser:matrix.myServer.org'

 

41 minutes ago, Vctrsnts said:

the MatrixID is

Sorry but if PushBits says that it's empty, it's empty, can't help here since it is working fine over here.

 

Are you sure that your editor didn't change the formatting from the file?

It downloads the file and I'll redo it.  Although the editor I'm using is VI.

 

Thanks again for everything...

2 hours ago, ich777 said:

Sorry but if PushBits says that it's empty, it's empty, can't help here since it is working fine over here.

 

Are you sure that your editor didn't change the formatting from the file?

 

I've already gotten it working correctly through Docker and with my Matrix server.
It took me a while to figure out how to use it, because the Pushbits Git information is a bit sketchy, and their website doesn't really explain how to get it working.
But looking at the issues people have posted, I finally understood how everything worked.

Thanks for everything.

Now enjoy it and see if I can get more out of Pushbits by using it with other applications.

PS: Will it work with FlexGet?

9 hours ago, Vctrsnts said:

Will it work with FlexGet?

Granted that I don‘t know what FlexGet is, PushBits is almost the same as Gotify in terms of how you send messages, so to speak, if it supports Gotify it supports PushBits.

Flexget is a service that allows you to automate many things (downloading podcasts and reorganizing them, downloading and reorganizing series, movies, and much more). The only drawback is that the configuration is a bit complicated because everything is done through a YAML file that you have to build gradually.
It also has several notification options that you can use, so that after completing a task, it notifies you via message. But the problem is that it uses an older version of Matrix and cannot be used to send these notifications with newer versions.
And this is where I have to agree with you completely. Since PushBits emulates Gotify, what I've done is use Flexget's ability to use Gotify but using PushBits data, and now it's working perfectly.
The only drawback I can find is that you can't send a message to Matrix with an attached image. It's a shame, but it seems to me the problem isn't with FlexGet or PushBits, but with Matrix's own protocol.

Thanks again for all the help you've provided.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.