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

v0.7.3

Published

A rounded editor and adaptive status line for Pi.

Downloads

1,541

Readme

◌ pi-glance

Pi 的圆角编辑器与状态栏。

English · 简体中文

npm CI license pi

安装

# 仅在当前会话试用
pi -e npm:pi-glance

# 或长期安装
pi install npm:pi-glance

重启 Pi,或执行 /reload。

功能

  • 圆角编辑器 — 保留 Pi 原有的编辑、历史、自动补全和快捷键。
  • 自适应状态栏 — Git · 费用 · 模型速度 · 上下文 · Tokens · 扩展状态 · 模型。空间不足时,模型最后隐藏。
  • 输入暂存 — alt+s 暂存提示词,再按恢复;输入框已有新内容时,两份内容交换。
  • Activity 状态 — 默认使用下边框文字;也可选择工作扫光、压缩/摘要倍率扫光和重试闪烁,调整速度、配色、倍率及闪烁频率。
  • 22 套配色 — 分别选择亮色与暗色方案,实时预览。

无额外运行时依赖,不收集遥测数据。

设置

运行 /glance,设置 Appearance(外观)、Status line(状态栏)、Activity(活动状态) 和 Input(输入)。Tab 切换分区,方向键调整,S 保存。

预览在设置下方按完整输入区宽度显示;关闭面板后保留输入内容和光标位置。

预览图使用示例数据。

说明

  • 默认使用 Nerd Font 图标。使用普通字体时,可在 /glance → Appearance → Icons 中选择 Plain。
  • 本次升级统一切换为 Text 文字模式。可在 Activity 选择 Sweep 恢复动效;原速度和配色保留。
  • Git 默认及旧配置升级均使用 Summary,显示变更文件数和已跟踪内容的增删行数。Auto fetch 每 5 分钟更新上游,可在 Status line → Git 关闭。
  • 草稿按会话保存在本机,重载后可取回,恢复后删除;--no-session 仅使用内存。
  • Extensions 在顶部显示兼容插件发布的状态文字。可在 Status line 中开关、排序或查看详情;无状态时不占位。
  • 其他编辑器或页脚扩展可能覆盖 Glance 的部分显示。
  • 需要 Pi 0.86.1+、Node.js 22.19.0 或更高版本。

更新

pi update npm:pi-glance

参与贡献

欢迎提交 Issue 和 Pull Request。开发说明见 CONTEXT.md。

许可证

MIT © 2026 linys77