Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: owncast-ntfy #1213

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

HolgerHuo
Copy link

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

@wunter8
Copy link
Contributor

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
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
Contributor

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

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