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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.13.0.tar.gz
Algorithm Hash digest
SHA256 861dec4e109183d71ab80c0283b28656b020c35a9f79cab8dde846b89cf2b77e
MD5 a9f05de12abed0f4c32a6ef4c91c4eb0
BLAKE2b-256 49b953ef9a356aff403148ddbdaa02514fb1093e652197d46b022b93d2c45329

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a971700eb08f98afb48dc551eb7fb93f5260addd549de34e2075c1027f6560ff
MD5 523385dcb21b60780850632cc25aba39
BLAKE2b-256 03eca28930918bed50012509bd4d11003515f2e56ff2354f24e20c2019b35588

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