npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pi-ntfy-en

v1.0.0

Published

Project and session-aware NTFY notifications for the pi coding agent (English UI, fork of pi-ntfy).

Readme

pi-ntfy-en

NTFY notification plugin for the pi coding agent (English UI fork of pi-ntfy), designed to distinguish projects, sessions, and tasks during parallel development.

Features

  • NTFY only — no Bark, Feishu, WeCom, DingTalk, or generic webhooks
  • Title includes project, status, and session name
  • Body includes project, session, status, reason, and more (fully templateable)
  • Duration, model, host, and time each get their own line
  • NTFY uses status tags per event type
  • Supports environment variables for the NTFY token

Installation

pi install npm:pi-ntfy-en

Uninstall:

pi remove npm:pi-ntfy-en

Configuration

The plugin reads its config from a fixed path; the path is not influenced by environment variables:

~/.pi/agent/pi-ntfy.json

If the file does not exist, the plugin stays silent. Create the file directly, or use the /ntfy set, /ntfy enable, and other commands to generate and modify it.

Example configuration:

{
  "enabled": true,
  "modes": ["tui"],
  "titleTemplate": "[{{project}}] {{status}} · {{session}}",
  "template": "Project: {{project}}\\nSession: {{session}}\\nTask: {{task}}\\nStatus: {{status}}\\nReason: {{reason}}\\nSummary: {{summary}}\\nDuration: {{duration}}\\nModel: {{model}}\\nHost: {{host}}\\nTime: {{date}} {{time}}\\nTools: {{tools}}",
  "channels": [
    {
      "type": "ntfy",
      "name": "Agent",
      "enabled": true,
      "topic": "Agent",
      "server": "https://ntfy.sh",
      "token": "$NTFY_TOKEN"
    }
  ]
}

token may reference an environment variable via $NTFY_TOKEN or ${NTFY_TOKEN}; the config file path itself is not affected by environment variables.

Configuration fields:

{
  "titleTemplate": "[{{project}}] {{status}} · {{session}}",
  "template": "Project: {{project}}\\nSession: {{session}}\\nTask: {{task}}\\nStatus: {{status}}\\nReason: {{reason}}\\nSummary: {{summary}}\\nDuration: {{duration}}\\nModel: {{model}}\\nHost: {{host}}\\nTime: {{date}} {{time}}\\nTools: {{tools}}"
}

Supported placeholders:

{{status}} {{reason}} {{text}} {{title}} {{event}}
{{cwd}} {{project}} {{duration}} {{session}} {{sessionId}}
{{model}} {{mode}} {{thinking}} {{task}} {{summary}} {{tools}}
{{host}} {{time}} {{date}}

Privacy note: {{task}} and {{summary}} carry conversation content (your latest input and the agent's latest reply, each truncated). Omit those placeholders from template if you don't want content leaving your machine.

Commands

/ntfy
/ntfy list
/ntfy get
/ntfy set topic=xxx enabled=true
/ntfy enable
/ntfy disable
/ntfy test
/ntfy events idle=on interrupted=on needInput=on exit=off
/ntfy on
/ntfy off