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-quotes

v0.1.1

Published

A Pi extension that adds quotes from a text file to the Working... spinner

Readme

Pi Quotes

Simple editable quotes for Pi's working spinner

Before

⠋ Working...

After

⠋ Working...  Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

pi-quotes inline mode

Why

Pi's built-in Working... indicator is functional but minimalist. Like mirrors in an elevator, pi-quotes provides a fun distraction that makes the wait seem shorter.

pi-quotes multiline mode

Install

pi install npm:pi-quotes

Or install from GitHub:

pi install git:github.com/danielkhoo/pi-quotes

Usage

Inline mode, the default:

⠋ Working... Optimism is an occupational hazard of programming. Feedback is the treatment. — Kent Beck

Multiline mode:

⠋ Working...
  Optimism is an occupational hazard of programming. Feedback is the treatment. — Kent Beck

Multiline mode attempts to center the quote using the current terminal width.

Commands

/quotes              Enable quotes and show the current mode
/quotes inline       Put the quote on the same line as Working...
/quotes multiline    Put the quote on the next line and attempt to center it
/quotes edit         Edit your user-owned quotes file
/quotes path         Show the path to your user-owned quotes file
/quotes reload       Reload quotes from disk immediately
/quotes off          Restore Pi's default Working... message
/quotes on           Re-enable quotes

Mode and on/off changes are saved to $PI_CODING_AGENT_DIR/pi-quotes/config.json and restored on the next Pi start.

Custom Quotes

Quotes are stored in an editable file. /quotes edit opens Pi's built-in editor UI. Use one quote per line. Blank lines and lines starting with # are ignored.

After editing, quotes are saved and reloaded automatically. If you edit the file outside of Pi, changes are picked up automatically at the start of the next agent run or apply them immediately with /quotes reload

To see the editable file path run /quotes path

Notes

pi-quotes intentionally uses ctx.ui.setWorkingMessage(), not a widget. That means it modifies the built-in working loader message directly. Multiline centering is best-effort: it accounts for wide (CJK/emoji) characters and uses the terminal width when the message is set, but it is not fully responsive after Pi wraps long lines or the terminal resizes.

File paths follow Pi's own config resolution (via getAgentDir()), so PI_CODING_AGENT_DIR overrides — including ~ expansion — behave exactly like they do for Pi itself.

Dependencies

  • @earendil-works/pi-coding-agent (peer)

License

MIT © 2026 Daniel Khoo