@kyuc/pi-cat-loader
Animated cat loading indicator for pi.
Package details
Install @kyuc/pi-cat-loader from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@kyuc/pi-cat-loader- Package
@kyuc/pi-cat-loader- Version
0.3.0- Published
- Sep 20, 2026
- Downloads
- 231/mo · 16/wk
- Author
- kyuc
- License
- MIT
- Types
- extension
- Size
- 104.9 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-cat-loader
Animated rolling cat loader for pi. Replaces pi's inline spinner with cat animation and adds /cat-loader command controls.
https://github.com/user-attachments/assets/b2ad6d9b-f83b-4dcc-8f00-bff028aa1993
Compatibility
This extension requires a terminal with inline image support. Known terminals that work include:
- Ghostty
- Kitty
- WezTerm
- iTerm2
This extension does not work inside tmux. When tmux is detected, the cat loader is automatically disabled and pi falls back to its regular spinner.
Installation
pi install npm:@kyuc/pi-cat-loader
Commands
/cat-loader on Enable cat loader
/cat-loader off Disable cat loader
/cat-loader preview Show cat loader for 5 seconds
/cat-loader clear Clear terminal images
/cat-loader size <value> Set each cat's width (small, medium, large, or 1-20)
/cat-loader speed <value> Set frame rate (slow, normal, fast, or 1-60 FPS)
/cat-loader color <colors...> Set 1–5 ordered colors (classic, black, gray/grey, white, peach)
/cat-loader help Show help
Multiple cats
/cat-loader color white black grey
/cat-loader color black black white gray peach
/cat-loader color classic
Choose 1–5 cats in left-to-right order; repeated colors are allowed. One color returns to a single cat. Cats animate in sync at the same speed, with one-cell gaps. Size applies to each cat. When the terminal is too narrow, trailing cats are hidden until space is available—cats never shrink or wrap.
Configuration
Settings are saved under pi's catLoader config key. You can change these through /cat-loader commands, or edit pi settings directly:
{
"catLoader": {
"enabled": true,
"sizeCells": 4,
"framesPerSecond": 20,
"colors": ["white", "black", "gray"]
}
}
sizeCells must be 1-20 per cat. framesPerSecond must be 1-60. colors must contain 1–5 entries: classic, black, gray, white, or peach. grey is accepted and saved as gray. Default: one classic cat. Invalid lineups fall back to this default.
Legacy "color": "black" settings load as "colors": ["black"]. Within one settings file, colors takes precedence over color. Project settings override global settings, including legacy colors. Commands save the new colors format globally.