Skip to content

Added the ntfy stream widget#2143

Merged
lissy93 merged 2 commits into
lissy93:masterfrom
alayham:ntfy-stream-widget
May 17, 2026
Merged

Added the ntfy stream widget#2143
lissy93 merged 2 commits into
lissy93:masterfrom
alayham:ntfy-stream-widget

Conversation

@alayham
Copy link
Copy Markdown
Contributor

@alayham alayham commented May 17, 2026

Category

Widget

Overview

Subscribes to topics on a private ntfy server, and shows new messages as they arrive.

Screenshot

ntfy-widget

Testing

You need a private ntfy server. This widget should not be connected to a server that you do not control.

On your private server, create a topic, then configure the widget to subscribe to it and refresh your dashboard. When you publish a message to that topic, it will show in the widget without refreshing the dashboard.

The widget displays new messages after you refresh your dashboard page.

To test authentication, follow ntfy documentation.

Additional Info

No schema changes
No breaking changes
No AI was used to create this widget.

@alayham alayham requested a review from lissy93 as a code owner May 17, 2026 11:33
@netlify
Copy link
Copy Markdown

netlify Bot commented May 17, 2026

Deploy Preview for dashy-dev ready!

Name Link
🔨 Latest commit d3a07eb
🔍 Latest deploy log https://app.netlify.com/projects/dashy-dev/deploys/6a09ffd83361040008bf0ed8
😎 Deploy Preview https://deploy-preview-2143--dashy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Owner

@lissy93 lissy93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome @alayham 🎉

Just one issue, there's a potential for resource leak, as the EventSource stream gets opened, but never closed

You could also consider adding:
this.eventSource.onerror = () => this.error('ntfy SSE connection failed.');
So that if the stream fails for any reason, it's surfaced instead of swallowed.

Comment thread src/components/Widgets/NtfyStream.vue Outdated
@lissy93
Copy link
Copy Markdown
Owner

lissy93 commented May 17, 2026

I've added that for you now, in d3a07eb
Along with a catch for any errors :)

@lissy93 lissy93 merged commit 2304108 into lissy93:master May 17, 2026
15 checks passed
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