Skip to content

add: owncast-ntfy#1213

Closed
HolgerHuo wants to merge 1 commit intobinwiederhier:mainfrom
HolgerHuo:add-owncast-ntfy
Closed

add: owncast-ntfy#1213
HolgerHuo wants to merge 1 commit intobinwiederhier:mainfrom
HolgerHuo:add-owncast-ntfy

Conversation

@HolgerHuo
Copy link
Copy Markdown

owncast-ntfy proxies Owncast's Webhook Events to ntfy messages

@wunter8
Copy link
Copy Markdown
Collaborator

wunter8 commented Nov 3, 2024

Nice! Thanks for sharing!

I looked briefly at the code, and it seems you're just converting from Owncast's JSON format to ntfy's JSON format, right? If so, there's a new message templating feature that can do this natively in ntfy: https://docs.ntfy.sh/publish/#message-templating

Right now, it's limited to notification titles and messages. So if your app converts other fields (e.g., tags, priority, etc.) (I didn't look close enough at your code 😅), that part can't be done in ntfy directly yet

@HolgerHuo
Copy link
Copy Markdown
Author

Hi! Thank you for sharing this templating feature which i didn't think of its usage before. This is excellent for integrating many 3rd party applications.

I did utilize tags feature, but they were all static ones, so a simple query string should do the trick.

Maybe we could add a new section in the docs for sharing message templates so that more people could utilize this feature?

@wunter8
Copy link
Copy Markdown
Collaborator

wunter8 commented Nov 3, 2024

That might be good. Maybe we can add a subsection under Examples and link to it from here: https://docs.ntfy.sh/publish/#message-templating

@HolgerHuo HolgerHuo closed this by deleting the head repository Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants