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.9.0.tar.gz (9.7 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.9.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.9.0.tar.gz
Algorithm Hash digest
SHA256 37dbe3ce6ccca8f8c7655a559e5119791eaf3efcd56aaaca4e638e81255f7fb1
MD5 bca9ee73fd6eb0e55860449ed16d3394
BLAKE2b-256 e85b158cd8bf6c78645d28f1fbed10643837c4359c44297538aa7261ea887ff0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f55820368365515983db457f1bca02980d47f9f33a6c6332ab3d935fbe0ae1fa
MD5 101b1ea70d6493eb641717d3470ebcc1
BLAKE2b-256 d70464ff1bcdbba22d54ed3f3cf822d2086c67ac31fb42304b102c7c50177e3d

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