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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.15.0.tar.gz
Algorithm Hash digest
SHA256 53a55091e09a2e91f0ff3c9ed5946e44a0855c95b9e46b118bfd0aef117b901d
MD5 333ca83f6038ca6deea069f639d54846
BLAKE2b-256 188b9943e88438cfafb0ab8a3e0fb00bf86401e21813c9955647190a94a6a532

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afeb901325ab741084f302de3ee5e86928b6d876669f4a78622c9097cd3ea450
MD5 ae67ce6afb57e14dc532c081e1828938
BLAKE2b-256 1d365db3b96d313915eb793d292a4db1dcf6cc7f9227c3a890753353a6b29293

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