feat/ntfy-local #6

Merged
genewildish merged 3 commits from feat/ntfy-local into main 2026-03-15 01:42:15 +00:00
Owner

feat: add ntfy message overlay

Integrates ntfy.sh push notifications into the terminal stream. A background thread polls a configurable ntfy topic and, when a message arrives, displays it as a full-screen bordered overlay (with title, body, countdown timer, and timestamp) for 30 seconds before resuming normal headline scrolling.

Changes:
• Add NTFY_TOPIC, NTFY_POLL_INTERVAL, MESSAGE_DISPLAY_SECS constants
• Add _ntfy_message / _ntfy_lock globals and _start_ntfy_poller() background thread
• Add ntfy message rendering block in stream() with styled borders, metadata, and display cache
• Fix UnboundLocalError: declare _ntfy_message as global in stream() to prevent Python from treating the expiry-reset assignment as a local binding

feat: add ntfy message overlay Integrates ntfy.sh push notifications into the terminal stream. A background thread polls a configurable ntfy topic and, when a message arrives, displays it as a full-screen bordered overlay (with title, body, countdown timer, and timestamp) for 30 seconds before resuming normal headline scrolling. Changes: • Add NTFY_TOPIC, NTFY_POLL_INTERVAL, MESSAGE_DISPLAY_SECS constants • Add _ntfy_message / _ntfy_lock globals and _start_ntfy_poller() background thread • Add ntfy message rendering block in stream() with styled borders, metadata, and display cache • Fix UnboundLocalError: declare _ntfy_message as global in stream() to prevent Python from treating the expiry-reset assignment as a local binding
genewildish added 3 commits 2026-03-15 01:42:10 +00:00
genewildish merged commit 6d7ab770cd into main 2026-03-15 01:42:15 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: genewildish/Mainline#6