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-ghost-autocomplete

v0.9.1

Published

Inline ghost-text autocomplete extension for the Pi coding agent (pi.dev). Cloud and local LLM providers, zero-flicker rendering, no popup interference.

Readme

pi-ghost-autocomplete

English | Deutsch | Français | Español | 中文 | 日本語 | Português | Italiano | Русский

Pi 编程助手@earendil-works/pi-coding-agent)的行内幽灵文本自动补全。

当你在 Pi 提示符中输入时,LLM 会预测当前行最可能的续写,并在光标右侧 以灰色"幽灵文本"显示。按右箭头接受。

多语言支持(Session 52):Unicode 感知的分词处理中文、日文、韩文 脚本,以及德语变音符号和法语重音。基于寄存器的路由确保散文以原始 语言补全,而不会被重新定义为编程指令。

快速开始

1. 获取 Mercury Edit 2 API 密钥

export INCEPTION_API_KEY="你的密钥"

2. 安装扩展

pi install npm:pi-ghost-autocomplete

3. 启动 Pi

pi

配置

| 变量 | 默认值 | 效果 | | --- | --- | --- | | PI_GHOST_DISABLED | 未设置 | 设为 1 禁用 | | PI_GHOST_PROVIDER | Mercury Edit 2 | cloudlocalrouter | | INCEPTION_API_KEY | — | API 密钥 | | PI_GHOST_CHAT_MAX_TOKENS | 256 | 聊天令牌上限 | | PI_GHOST_CHAT_TEMPERATURE | 0.75 | 聊天温度 |

完整配置参考请参阅英文 README

寄存器路由

| 寄存器 | 分支 | 系统提示词 | | --- | --- | --- | | code | FIM | 补全代码/命令/路径 | | agent-message | 聊天 | 「继续写给助手的消息」 | | general-prose | 聊天 | 「自然地续写文本,保持相同语言」 |

PI_GHOST_PROVIDER=router INCEPTION_API_KEY=你的密钥 pi ...

命令

| 命令 | 效果 | | --- | --- | | /ghost | 显示配置 | | /ghost on | 本次会话启用 | | /ghost off | 本次会话禁用 |

完整文档:英文 READMEdocs/