Skip to main content

Push notifications skill for haiku.skills using ntfy.sh

Project description

notifications

Push notifications skill for haiku.skills using ntfy.sh.

Prerequisites

An ntfy.sh server. The public instance at https://ntfy.sh works with no signup. For local development, run ntfy in Docker:

# Minimal — runs on port 2586, no auth, ephemeral cache
docker run -p 2586:80 -it binwiederhier/ntfy serve

# With persistent cache
docker run \
  -v ntfy-cache:/var/cache/ntfy \
  -p 2586:80 \
  binwiederhier/ntfy serve \
  --cache-file /var/cache/ntfy/cache.db

# Test: send a message
curl -d "Hello from ntfy!" localhost:2586/test-topic

# Test: read messages
curl "localhost:2586/test-topic/json?poll=1&since=all"

Configuration

All configuration is via environment variables:

Variable Default Description
NTFY_SERVER https://ntfy.sh ntfy server base URL
NTFY_TOKEN Bearer token for authenticated topics (optional)

Tools

  • send_notification — Publish a push notification to an ntfy.sh topic
  • read_notifications — Poll and read cached messages from an ntfy.sh topic

Installation

uv add haiku-skills-notifications

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

haiku_skills_notifications-0.17.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

haiku_skills_notifications-0.17.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file haiku_skills_notifications-0.17.2.tar.gz.

File metadata

File hashes

Hashes for haiku_skills_notifications-0.17.2.tar.gz
Algorithm Hash digest
SHA256 35bf1e5e56eac8f87f35771c4e7b0c6957661512b6bae3802040df0a65b09c55
MD5 9075d95e121c706c4a9109ea4bc178a2
BLAKE2b-256 68feef35eb8e414bd585c7989c74f924e17c856c54efefecbb4a4976a143e71c

See more details on using hashes here.

File details

Details for the file haiku_skills_notifications-0.17.2-py3-none-any.whl.

File metadata

File hashes

Hashes for haiku_skills_notifications-0.17.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a7239b9948f9860644bcb5dfff1cd4320cafe7c34fd69a73fa8952f273ce6ef
MD5 ee7942f85663e532cf95fc3be2b35b50
BLAKE2b-256 19bb0016f6cbec85ecea3b756f5da169f37a08bd9c127496c1473c4635c8a398

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page