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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.13.1.tar.gz
Algorithm Hash digest
SHA256 b078606da7d821dcdde807cc407459f7e34718ecb5a1f908e171f63b0019a662
MD5 04908f99b18be3fb1129e280372cb193
BLAKE2b-256 098ff9852b5d9b7fecdfdfba5e8e65737c6d971e5d71ee8c4950e6931c483616

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.13.1-py3-none-any.whl
Algorithm Hash digest
SHA256 906794fb8fe2db369980348a58300506391884e2116e9cc9550fd1395802edec
MD5 b966de41ee128e59809e9a2977f86a8e
BLAKE2b-256 75a523c09fddf7f6b87a931f0f7d4b177c73fc08a8f190215a0c0b7b80eed4f7

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