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.0.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.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.17.0.tar.gz
Algorithm Hash digest
SHA256 18eb99121658bc09d174f34051102bce351ab175088abcbeabbd29b76f452220
MD5 08341a48c33834c9a11a6f7fc59ea657
BLAKE2b-256 af1065b9b71cae9731706b6c804f190bbe0bd9ac8c70cad2e2cbfa0a0f45ffe5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 142074e691f21e847d9d92c7cb5c8ec0a53e50cf77647f253cb34e10477b526b
MD5 b55b068796f17e08eb08351130dd68a1
BLAKE2b-256 3d70e9c9412f5a685a097aaff13b11f7cfa044a39c62dc4c751d08fb0650464d

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