Go to file
Marc Koch 92187280e9 multiple changes
- altered db schema to delete subscriptions along with topics
- extracted logic for creating and deleting topics into separate functions
- added functions to list topics and subscriptions
- delete topic and corresponding subscription if same topic is added with different token
- added more error messages and reactions
- added handling for authentication errors (subscription and topic are removed)
- inform all subscribed rooms when subscription is cancelled due to an action in another room
- added documentation for methods
- code style
2024-06-29 01:11:56 +02:00
ntfy multiple changes 2024-06-29 01:11:56 +02:00
.gitignore Initial commit 2023-01-08 14:54:27 +01:00
.gitlab-ci.yml Change built output name 2023-01-08 15:15:14 +01:00
LICENSE Add license 2023-01-08 14:57:21 +01:00
README.md update README 2024-06-20 23:45:26 +02:00
base-config.yaml Only allow admins/privileged users to configure subscriptions 2023-01-08 15:05:01 +01:00
maubot.yaml Add support for tags with optional emoji support 2023-01-08 17:51:34 +01:00

README.md

maubot-ntfy

This is a maubot plugin to subscribe to ntfy topics and send messages to a matrix room.

Usage

Install as a maubot plugin and configure an instance. Until maubot supports installing python dependencies, you should install the emoji python package for full functionality. Alternatively, @ntfy:catgirl.cloud is available as well.

Use !ntfy subscribe server/topic (for example !ntfy subscribe ntfy.sh/my_topic) to subscribe the current room to the ntfy topic. Future messages will be sent to the room.

Use !ntfy subscribe server/topic <access_token> (for example !ntfy subscribe ntfy.sh/my_protected_topic tk_be6uc2ca1x1orakcwg1j3hp0ylot6) to subscribe to a protected topic via access token.

To unsubscribe, use !ntfy unsubscribe server/topic.