pi-glance
A rounded editor and adaptive status line for Pi.
Package details
Install pi-glance from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-glance- Package
pi-glance- Version
0.7.0- Published
- Sep 8, 2026
- Downloads
- 1,581/mo · 505/wk
- Author
- linys77
- License
- MIT
- Types
- extension
- Size
- 263.4 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
],
"image": "https://raw.githubusercontent.com/LinYS77/pi-glance/main/assets/themes.gif"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
◌ pi-glance
A rounded editor and status line for Pi.
English · 简体中文
Install
# Try it for one session
pi -e npm:pi-glance
# Or install it
pi install npm:pi-glance
Restart Pi or run /reload.
Features
- Rounded editor — Pi's editing, history, autocomplete, and keybindings stay the same.
- Adaptive status line — Git · Cost · Model speed · Context · Tokens · Model. Folds as the terminal narrows.
- Prompt stash —
alt+sputs a prompt aside. Press again to restore or swap with current input. - Working animation — a sweep around the editor or along its top edge, with adjustable speed.
- 22 palettes — separate light and dark choices with live preview.
No runtime dependencies. No telemetry.
Configure
Run /glance for Appearance, Status line, Working, and Input settings. Tab switches sections, arrows adjust, and S saves. Input includes the Stash shortcut.
Notes
- Nerd Font icons are enabled by default. For regular fonts, select
Plainin/glance→ Appearance → Icons. - Git defaults and upgrades use Summary: changed files and tracked
+ / −lines. Auto fetch updates the upstream every 5 minutes; turn it off under Status line → Git. - Drafts are stored locally per session, survive reloads, and are deleted on restore.
--no-sessionkeeps them in memory only. - Pi has one custom-editor slot; the last editor extension loaded wins.
- Tested with Pi 0.84.4 and 0.85.1. Requires Node.js 22.19.0 or newer.
Update
pi update npm:pi-glance
Contributing
Issues and pull requests are welcome. See CONTEXT.md for development notes.
License
MIT © 2026 linys77
