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

paperclip-plugin-knok

v0.1.3

Published

Push desktop notifications via Knok when inbox events occur

Readme

paperclip-plugin-knok

Push desktop notifications via Knok when Paperclip inbox events occur.

Features

  • Subscribes to 8 Paperclip domain events (approvals, agent runs, issues, comments)
  • Maps each event to the appropriate Knok urgency level (whisper/nudge/knock/break)
  • Per-event enable/disable toggles and level overrides via Paperclip plugin config
  • Action buttons on approval notifications for quick review
  • Stats tracking (sent/failed counts, recent notification history)
  • Settings UI panel and dashboard health widget
  • Test notification button for verifying connectivity

Event Mapping

| Paperclip Event | Default Level | Description | |----------------|---------------|-------------| | approval.created | nudge | New approval request (includes Review action) | | approval.decided | whisper | Approval resolved | | agent.run.failed | knock | Agent run failed (red alert) | | agent.run.finished | whisper | Agent run completed | | agent.status_changed | nudge | Agent status transition | | issue.created | whisper | New issue created | | issue.updated | whisper | Issue updated | | issue.comment.created | nudge | New comment on issue |

Install

From local path

curl -X POST http://localhost:3100/api/plugins/install \
  -H "Content-Type: application/json" \
  -d '{"packageName":"/path/to/paperclip-plugin-knok","isLocalPath":true}'

From npm (once published)

curl -X POST http://localhost:3100/api/plugins/install \
  -H "Content-Type: application/json" \
  -d '{"packageName":"paperclip-plugin-knok"}'

Configuration

After installing, configure via the Paperclip plugin settings UI:

| Field | Description | |-------|-------------| | Knok Endpoint | URL to your Knok HTTP server (e.g. http://100.x.x.x:9999) | | Knok Auth Token | Secret reference for the Knok Bearer token | | Default Level | Fallback urgency level (default: nudge) | | Event Toggles | Enable/disable notifications per event type | | Level Overrides | Override the default level for specific events |

Development

pnpm install
pnpm typecheck      # type checking
pnpm test           # run tests
pnpm build          # production build
pnpm dev            # watch mode
pnpm dev:ui         # UI dev server with hot-reload

Release

Push a version tag to trigger the release workflow:

pnpm version patch   # or minor/major
git push --follow-tags

This runs CI checks and publishes to npm automatically.

License

MIT