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

githubrelay

v0.3.1

Published

One-line installer for GitHub Model Relay. Turns your GitHub Copilot subscription into a local API for Claude Code, Codex, OpenCode, and Pi.

Readme

githubrelay

One-line installer for GitHub Model Relay. It turns your own GitHub Copilot subscription into a local, loopback-only API that Claude Code, Codex, OpenCode, and Pi can talk to — without running VS Code.

Unofficial community tool. Not affiliated with or endorsed by GitHub.

Install

npm install -g githubrelay@latest
githubrelay setup

setup walks through five steps: prerequisite checks, gateway install, GitHub device sign-in, client configuration, and start. Sign-in opens a browser and asks for a device code, so it runs as an explicit step rather than silently during install. npm 12 blocks dependency lifecycle scripts by default, so no postinstall is used.

On a machine without Node.js, this installs Node through winget first and then does the same thing:

irm https://raw.githubusercontent.com/saketlunker/githubRelay/main/web-install.ps1 | iex

Requirements

  • Windows 10 or 11
  • Node.js 22.13.0 or newer
  • An eligible GitHub Copilot subscription

Nothing else. You do not need VS Code, the GitHub CLI, or a Copilot extension. The relay performs its own device sign-in.

Everyday commands

| Command | What it does | | --- | --- | | githubrelay status | Show gateway status | | githubrelay health | Run a health check | | githubrelay logs -Tail 200 | Show recent logs | | githubrelay models | List or refresh available models | | githubrelay start / stop / restart | Control the gateway | | githubrelay clients | Re-link coding agents to the relay | | githubrelay shortcut | Recreate the desktop re-link shortcut | | githubrelay auth | Re-run GitHub sign-in | | githubrelay doctor | Print a redacted report for support |

Day to day

Nothing to do. The gateway starts when you sign in to Windows through a least-privilege scheduled task, and your agents are already pointed at it.

The one recurring step: after installing a new coding agent, run githubrelay clients — or double-click the desktop shortcut Connect coding agents to GitHub Relay — so that agent learns about the relay.

When something breaks

githubrelay doctor

This prints prerequisites, gateway status and health, recent logs, and the state of each coding agent. Secrets are redacted before the report is produced and your home directory is shortened to ~. Review it once, then share it.

It also catches failures that are easy to misread. npm 12 blocks dependency lifecycle scripts by default, and Claude Code places its native binary in postinstall, so npm install -g can report success and still leave a command that cannot run. Separately, npm may resolve a platform-specific build that declares no command at all. Those need different fixes, so they are reported differently:

  Claude Code: installed but broken
      its native binary is missing, which is what a blocked postinstall script leaves behind
      fix: npm install -g @anthropic-ai/claude-code --allow-scripts=@anthropic-ai/claude-code

  Codex: installed but not on PATH
      npm linked no codex command for this build; the binary itself is at ...\vendor\...\bin\codex.exe
      fix: run it from that path, or reinstall with: npm install -g @openai/codex@latest

To write the report to a file instead:

githubrelay doctor --out relay-report.md

Updating

Updates are automatic. The launcher checks for a newer release on startup and installs it, then brings the installed gateway up to the same version. The gateway check costs one process spawn, so it runs once per launcher version rather than on every command.

To disable automatic updates:

set GITHUBRELAY_DISABLE_AUTO_UPDATE=1

Use GITHUBRELAY_OFFLINE=1 to skip all startup network calls.

Limitations

The backend is unofficial and reverse-engineered. GitHub can change service behavior or enforce abuse controls at any time. The relay does not bypass quotas, pool accounts, or listen beyond 127.0.0.1.

Source: https://github.com/saketlunker/githubRelay