NTFY: NodeBB
-
If you want to play around with it today, go into
node_modules/nodebb-plugin-ntfy/lib/ntfy.js
.All calls to ntfy.sh go through
ntfy.send
, and you can change the value in line 61 to send it to your own service.The change I need to make is to introduce ACP controls, etc... but you can edit that value to get unblocked today.
-
@julian think I found a bug. The topic ID does not seem to work if it contains a period (in my case, sudonix.dev-phenomlab...) in the sense that you cannot subscribe to this ID in the ntfy client (it works if you remove the period, but of course, nothing is sent).
-
That's odd... the topic ID when regenerated should slugify the hostname, so it should end up being
sudonix-dev-phenomlab...
, no periods.For example, on here, my topic ID is
community-nodebb-org-julian-hahadidyouthinkidpostmyrealid
, the dots are replaced with dashes. -
-
Hey @julian,
Not sure the NTFY plugin works properly for self-hosting. I have configured my instance on https://notify.sudonix.org, and am able to send messages to it via cURL, but the settings in NodeBB don't do anything when you test it - no message is ever recieved.
EDIT - it DOES work, but if you click the subscribe link, it points to
ntfy.sh
instead of your chosen server. If I manually subscribe then test the notification, it works correctly.