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

@rdyson/pi-pushover

v0.1.0

Published

Pushover notifications when Pi finishes agent tasks.

Readme

pi-pushover

Send a Pushover push notification when Pi finishes an agent task and is ready for input again.

This is the Pi-native version of a Cursor notification relay: instead of watching desktop notification logs, it hooks directly into Pi's agent_end lifecycle event. It works well over SSH, tmux, and headless Linux sessions.

Install

From npm:

pi install npm:@rdyson/pi-pushover

From GitHub:

pi install git:github.com/rdyson/pi-pushover

For a pinned GitHub version/tag:

pi install git:github.com/rdyson/[email protected]

For local development:

pi install /path/to/pi-pushover

Then restart Pi or run:

/reload

Configure

Create a config file:

mkdir -p ~/.config/pi-notifications
chmod 700 ~/.config/pi-notifications
cp examples/pushover.env.example ~/.config/pi-notifications/pushover.env
chmod 600 ~/.config/pi-notifications/pushover.env
vim ~/.config/pi-notifications/pushover.env

Required values:

export PUSHOVER_TOKEN="your-pushover-app-token"
export PUSHOVER_USER="your-pushover-user-key"

You can also provide these as normal environment variables instead of using the config file. Environment variables override values in the config file.

Test

Inside Pi:

/pushover-test

Or with a custom test message:

/pushover-test hello from pi

Behavior

On each completed Pi agent task, the extension sends a message like:

Finished in 42s (my-project)

If the Pi session has a name, the message includes it:

Finished in 2m 05s — Refactor auth flow (my-project)

The footer shows:

  • pushover on when configured
  • pushover unconfigured when the extension is loaded but missing credentials

Configuration

The extension reads this file by default:

~/.config/pi-notifications/pushover.env

Override the config file path:

export PI_PUSHOVER_ENV_FILE=/path/to/pushover.env

Supported settings:

# Required
export PUSHOVER_TOKEN="your-pushover-app-token"
export PUSHOVER_USER="your-pushover-user-key"

# Optional
export PI_PUSHOVER_ENABLED=1
export PI_PUSHOVER_TITLE="Pi"
export PI_PUSHOVER_MIN_SECONDS=0

# Optional Pushover API fields
export PI_PUSHOVER_PRIORITY=0
export PI_PUSHOVER_DEVICE="your-device-name"
export PI_PUSHOVER_SOUND="pushover"
export PI_PUSHOVER_MESSAGE="Pi finished"
export PI_PUSHOVER_URL="https://example.com"
export PI_PUSHOVER_URL_TITLE="Open"

Minimum duration

Use PI_PUSHOVER_MIN_SECONDS to avoid notifications for tiny tasks:

export PI_PUSHOVER_MIN_SECONDS=10

With this setting, only tasks that take at least 10 seconds trigger a notification.

Disable temporarily

export PI_PUSHOVER_ENABLED=0

Development

Run tests:

npm test

Check package contents before publishing:

npm pack --dry-run

Publish to npm:

npm publish --access public

Security

Keep your real pushover.env file out of git and readable only by you:

chmod 600 ~/.config/pi-notifications/pushover.env

Pi extensions run with your full user permissions. Review any extension before installing it.