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.8.1.tar.gz (4.2 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.8.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.8.1.tar.gz
Algorithm Hash digest
SHA256 a328210beff9d6070e62333c75937433cd9fa1ba14fecca169402ea7c2b6a768
MD5 4debed0b8fb2d7f48610ffe06fd4ddac
BLAKE2b-256 5ef4ac248b88a974eafb4c1f88ab18c44cba47c79530c016dc6f7da73a7ad581

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for haiku_skills_notifications-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd7ea9d43897b9eebe23f89f622f4d41e00791a937ec03598bc8187bf2cf2f66
MD5 1c26a5e08a33c5f28082ed65e3fab24c
BLAKE2b-256 70d401246189c9a6cdd553285eb8718c26b1496ca38d6b47c8445bba3a74a2cd

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