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

codexpethub

v0.1.0

Published

CodexPetHub CLI — install custom OpenAI Codex pets with one command. Verifies sha256 against the public registry.

Downloads

280

Readme

codexpethub

The official CLI for CodexPetHub — install custom pets for OpenAI Codex with a single, verified command.

npx codexpethub install null-puff

The CLI fetches the pet's install manifest from codexpethub.com, verifies every file against the published sha256, and writes the result into your Codex pets folder.

Install location

Pets are installed under your Codex home directory:

| Platform | Default install root | | --- | --- | | macOS / Linux | $CODEX_HOME if set, otherwise ~/.codex | | Windows | %CODEX_HOME% if set, otherwise %USERPROFILE%\.codex |

A pet named null-puff lands at ~/.codex/pets/null-puff/ and contains:

~/.codex/pets/null-puff/
├── pet.json          # Pet metadata + atlas geometry
└── spritesheet.webp  # Animated sprites

Override the location with --codex-home <path>.

Usage

codexpethub install <slug> [options]

Options

| Flag | Description | | --- | --- | | --codex-home <path> | Override the install root (default: $CODEX_HOME or ~/.codex). | | --overwrite | Replace an existing install for this slug. Without it, the CLI refuses to clobber. | | --registry-url <url> | Use a custom registry. Allow-listed: https://codexpethub.com, https://assets.codexpethub.com. | | -h, --help | Show usage and exit. |

Examples

# Install the latest published version of null-puff
npx codexpethub install null-puff

# Reinstall on top of an existing folder
npx codexpethub install boba --overwrite

# Install into a sandbox dir (useful for CI / testing)
npx codexpethub install boba --codex-home /tmp/test-codex

Verification

Every install:

  1. Fetches <registry-url>/api/v1/pets/<slug>/install-manifest.json.
  2. Validates schema_version === "codexpethub.install.v1".
  3. Confirms every download URL is on the host allow-list.
  4. Streams files to a temp directory, computing sha256 on the fly.
  5. Aborts (and cleans up) if any hash, size cap, or file format check fails.
  6. Atomically moves the verified files into the install dir.

Exit codes:

| Code | Reason | | --- | --- | | 0 | Success or --help. | | 1 | sha256 mismatch. | | 2 | File exceeded the size cap. | | 3 | Manifest URL or download URL outside the allow-list. | | 4 | Install folder exists and --overwrite was not passed. | | 5 | Network error fetching the manifest or a file. | | 64 | Usage error (unknown flag, missing subcommand, etc.). |

After install

  1. Open Codex → Settings → Appearance → Pets.
  2. Click Refresh custom pets.
  3. Send /pet in a chat to wake the new pet.

Source

The CLI source lives at https://github.com/CodexPetHub/CodexPetHub/tree/main/packages/cli. It has zero runtime dependencies — only Node.js builtins.

License

MIT © CodexPetHub.