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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.10.0.tar.gz
Algorithm Hash digest
SHA256 dfdbd1ec6319b5e5bbc9601bb6f280465f7125b576a794de838fe8e0380d2491
MD5 81cb5822f0c984aa0870c73f6702a27c
BLAKE2b-256 97c51b014f757664e8daff936f6195c3a6294566f3bb480705fa6d4840042935

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d682e0018588b43cfc5af4d3ef3d7764336205f2ccb172b66ae595b4c1b80e05
MD5 3175e7045fca72eff26f01d95f7fa220
BLAKE2b-256 1d9a724b0d3ba3f4e3cf362bc192f0add1f4abe011faee1186d2046d882c91f9

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