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

@carlosgtrz/pi-codex-aliases

v0.1.4

Published

Pi extension that adds personal and work aliases for the built-in OpenAI Codex provider.

Readme

@carlosgtrz/pi-codex-aliases

Pi extension that registers two aliases for Pi's built-in OpenAI Codex provider:

  • openai-codex-personal — shown in /login as ChatGPT Plus/Pro (Codex Subscription) - Personal
  • openai-codex-work — shown in /login as ChatGPT Plus/Pro (Codex Subscription) - Work

This is useful when you have both a personal ChatGPT account and a work ChatGPT account. You can keep both logged in at the same time, then switch between them using Pi's provider/model selection instead of logging in and out.

Install

pi install npm:@carlosgtrz/pi-codex-aliases

Try without installing permanently:

pi -e npm:@carlosgtrz/pi-codex-aliases

For one-off testing from this repo:

pi -e ./packages/codex-aliases

Usage

After installation, start Pi:

pi

Use /login to authenticate each alias separately. In the provider list, choose:

  1. ChatGPT Plus/Pro (Codex Subscription) - Personal for your personal ChatGPT account.
  2. ChatGPT Plus/Pro (Codex Subscription) - Work for your work ChatGPT account.

For example, /login shows entries like:

Select provider to configure:

 → ChatGPT Plus/Pro (Codex Subscription) • unconfigured
   ChatGPT Plus/Pro (Codex Subscription) - Personal ✓ configured
   ChatGPT Plus/Pro (Codex Subscription) - Work ✓ configured

Then use Pi's provider/model selection UI or command to choose a Codex model under either alias:

  • openai-codex-personal
  • openai-codex-work

Each alias uses the same built-in OpenAI Codex model list, but stores separate OAuth credentials.

The extension also syncs the selected alias token into Codex-related environment variables for compatible extensions/tools during the active session.

Sub-bar compatibility

This extension is compatible with sub-bar, the Pi usage/status bar extension.

When you select either openai-codex-personal or openai-codex-work, this extension exposes the selected alias credentials through Codex-compatible environment variables and asks sub-bar's shared sub-core to refresh. This lets sub-bar show usage for the currently selected Codex alias instead of only Pi's default Codex provider.

Note

You can log out of Pi's default OpenAI Codex provider if you only want to use the aliases, or keep the default provider logged in and use it for a third ChatGPT account.

License

MIT