ghx

by Bruno Borges

A caching proxy for the GitHub CLI that makes repeated commands instant. Singleflight coalescing means 10 agents asking the same thing triggers just 1 API call.

Version
1.5.2
License
MIT
Installer
zip
Architecture
x64
Package ID
BrunoBorges.ghx
clighgithub
Install winget install BrunoBorges.ghx Click to copy
↓ Download Installer

About ghx

A caching proxy for the GitHub CLI (gh) that eliminates redundant API calls, prevents rate limiting, and dramatically speeds up repeated commands. Built for AI agent workflows where multiple agents (Copilot CLI, coding agents, MCP servers) hammer the same gh commands simultaneously. Highlights - 10x faster cached responses (~0.1s vs ~1s) - Singleflight coalescing — 5 agents asking the same thing = 1 API call - Allowlist-based — only caches known-safe read-only commands - Auto-invalidation — mutations flush related cache entries - Web dashboard — real-time hit rates, per-command stats, request log - Drop-in replacement — just use ghx instead of gh - No gh required — auto-downloads GitHub CLI on first use if not installed

Frequently Asked Questions

How do I install ghx using winget?
Open Windows Terminal or PowerShell and run: winget install BrunoBorges.ghx. Winget is built into Windows 10 (version 1809+) and Windows 11 — no separate download required.
What is ghx?
A caching proxy for the GitHub CLI that makes repeated commands instant. Singleflight coalescing means 10 agents asking the same thing triggers just 1 API call.
Is ghx free to download?
ghx is available under the MIT license. Use the winget command above or click the download button to get the installer directly from the publisher.
How do I update ghx with winget?
Run winget upgrade BrunoBorges.ghx in Windows Terminal or PowerShell to update ghx to the latest available version.
What Windows versions support ghx?
The installer for ghx targets the x64 architecture. Check the publisher’s documentation for minimum Windows version requirements. Winget itself requires Windows 10 version 1809 or later.