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-catppuccin-footer

v0.1.2

Published

A Catppuccin/tmux-style configurable footer extension for Pi.

Readme

pi-catppuccin-footer

A configurable Pi extension that replaces the default footer with a Catppuccin/tmux-style status line.

Catppuccin footer for Pi

Default Pi footer

It is inspired by tmux-catppuccin modules and a lualine-style Neovim setup: rounded powerline caps, Catppuccin colors, configurable left/right sections, and live session stats.

Features

  • Catppuccin flavors: mocha, macchiato, frappe, latte
  • tmux-style connected status modules
  • configurable left/right section order
  • project-local config via .pi/catppuccin-footer.json
  • auto-reloads config changes
  • preserves Pi extension statuses
  • shows optional:
    • current directory
    • git branch
    • git dirty counts
    • Pi activity state
    • model name / aliases
    • total tokens
    • last-turn tokens
    • session cost
    • time
    • thinking level

Install from npm

pi install npm:pi-catppuccin-footer

Then reload Pi:

/reload

Install locally while developing

From this repo:

pi install ./path/to/pi-catppuccin-footer

Or load the extension for one Pi run:

pi -e ./extensions/catppuccin-footer.ts

Quick start

After installing, create a global config:

/catppuccin-footer init --global

Or create a project-local config that overrides the global config:

/catppuccin-footer init

If a config already exists and you want to replace it:

/catppuccin-footer init --global --force
/catppuccin-footer init --force

Configuration

Global config:

~/.pi/agent/catppuccin-footer.json

Project-local override:

.pi/catppuccin-footer.json

Project config is merged on top of global config. Nested colors and aliases are merged too.

Example:

{
	"flavor": "mocha",
	"enabled": true,
	"style": "tmux",
	"cwdStyle": "short",
	"left": ["mode", "cwd", "git", "gitDiff"],
	"right": ["status", "state", "model", "tokens", "lastTokens", "cost", "time"],
	"timeFormat": "HH:mm",
	"moduleSpacing": 0,
	"autoReload": true,
	"colors": {
		"mode": "mauve",
		"cwd": "blue",
		"git": "green",
		"gitDiff": "green",
		"status": "peach",
		"state": "pink",
		"model": "mauve",
		"tokens": "green",
		"lastTokens": "blue",
		"cost": "yellow",
		"time": "peach",
		"thinking": "pink"
	},
	"aliases": {
		"claude-sonnet-4-5": "sonnet",
		"gemini-2.5-pro": "gemini"
	},
	"statusItems": {
		"include": [],
		"exclude": []
	}
}

With autoReload: true, config edits are picked up automatically. You can also reload manually:

/catppuccin-footer reload

To see every command and configurable feature inside Pi:

/catppuccin-footer help

For a top-level interactive config menu:

/catppuccin-footer edit

You can also turn sections on/off from Pi without editing JSON:

/catppuccin-footer section                          # open an interactive section picker
/catppuccin-footer sections edit                    # same interactive picker
/catppuccin-footer sections                         # show enabled/disabled sections
/catppuccin-footer section off status               # hide plugin/extension status items
/catppuccin-footer section on status right           # show status items on the right
/catppuccin-footer section toggle thinking left      # toggle thinking level on the left
/catppuccin-footer section off lastTokens --global   # write to the global config

Inline section changes are written to .pi/catppuccin-footer.json by default, or to the global config with --global.

You can also filter individual plugin/extension status items without hiding the whole status section:

/catppuccin-footer status                         # interactive status item picker
/catppuccin-footer status list                    # show current include/exclude filters
/catppuccin-footer status hide browser            # hide a status item by key or text
/catppuccin-footer status show browser            # unhide it
/catppuccin-footer status only memctx             # allow-list just matching status items
/catppuccin-footer status include 'browser*'      # add an allow-list pattern
/catppuccin-footer status reset                   # clear all status filters

Status patterns match the item key, text, or key:text, case-insensitively. * wildcards are supported. Exclude rules always win over include rules. Empty include means “show all non-excluded status items”; non-empty include means allow-list mode.

Sections

Use these names in left and right arrays:

| Section | Meaning | | ------------ | ----------------------------------------- | | mode | Pi/Yolo mode anchor | | cwd | Current working directory | | git | Current git branch | | gitDiff | Git dirty counts (+, ~, -) | | status | Pi plugin/extension status items | | state | Pi activity state: idle/thinking/tools | | model | Active model, with optional aliases | | tokens | Total session input/output tokens | | lastTokens | Latest assistant turn input/output tokens | | cost | Total session cost | | time | Local time | | thinking | Current thinking level |

Styles

"style": "tmux"

Available styles:

  • tmux — connected tmux-catppuccin-style modules
  • twoTone — connected lualine-style two-tone group
  • bubble — standalone rounded bubbles

Colors

Available color names:

mauve
blue
green
yellow
peach
pink
surface
muted
text

Commands

/catppuccin-footer              # toggle on/off
/catppuccin-footer on           # enable
/catppuccin-footer off          # disable
/catppuccin-footer reload       # reload config
/catppuccin-footer edit         # top-level interactive config menu
/catppuccin-footer help         # list all commands and configurable features
/catppuccin-footer sections     # show enabled/disabled sections
/catppuccin-footer section      # interactive section picker
/catppuccin-footer sections edit [--global]
/catppuccin-footer section on <section> [left|right] [--global]
/catppuccin-footer section off <section> [--global]
/catppuccin-footer section toggle <section> [left|right] [--global]
/catppuccin-footer status      # interactive status item picker
/catppuccin-footer status list
/catppuccin-footer status hide|show|only|include|exclude|reset [pattern] [--global]
/catppuccin-footer init --global         # write default global config
/catppuccin-footer init --global --force # overwrite default global config
/catppuccin-footer init                  # write default project config
/catppuccin-footer init --force          # overwrite default project config

Development

This repo includes local tooling for formatting, linting, typechecking, tests, and package verification.

npm install
npm run check

Or with just:

just ci

Or with mise:

mise run check

The test suite uses Vitest.

Security

Pi extensions run with full system permissions. Review extensions before installing them.

License

MIT