betaHi

Use GitHub Copilot as a local OpenAI/Anthropic-compatible API for Codex CLI, Claude Code, and Continue.

10
0
69% credibility
Found Apr 30, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

This project creates a compatible interface so GitHub Copilot can be used directly with AI coding tools expecting OpenAI or Anthropic formats.

How It Works

1
๐Ÿ” Discover the Bridge

You hear about a handy tool that lets your GitHub Copilot chat with other AI coding helpers without hassle.

2
๐Ÿ”‘ Sign In Once

You connect your GitHub account with a quick device login, like approving on your phone.

3
๐Ÿš€ Turn It On

With one simple action, you launch the bridge and it automatically prepares your coding tools to use Copilot.

4
โš™๏ธ Tools Ready

Your favorite AI assistants like coding helpers now see Copilot as their perfect match, all set up behind the scenes.

5
๐Ÿ’ฌ Start Chatting

You ask questions or get code suggestions in your usual tools, powered by Copilot's smarts.

๐ŸŽ‰ Copilot Everywhere

Enjoy seamless AI help across your apps, making coding faster and more fun every day.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is copilot-bridge?

Copilot-bridge is a TypeScript tool that runs a local OpenAI/Anthropic-compatible API server, proxying requests to your GitHub Copilot subscription. Fire up `npx betahi-copilot-bridge@latest auth` for GitHub login, then `npx betahi-copilot-bridge@latest start` to spin up endpoints like `/v1/chat/completions`, `/v1/embeddings`, and `/v1/models` on port 4142. It auto-configures Codex CLI and Claude Code via managed blocks in `~/.codex/config.toml` and `~/.claude/settings.json`, letting you use Copilot models (gpt-5.x, Claude, Gemini) in those tools or Continue.dev without VS Code.

Why is it gaining traction?

This copilot api bridge sidesteps Copilot's VS Code lock-in, exposing github copilot cli and agents via standard APIs for any OpenAI/Anthropic client. Rate limiting (`--rate-limit`), debug logs, and a usage viewer link prevent abuse flags from github copilot business or pro plans, while model aliases and reasoning effort clamping handle quirks like claude-opus-4.7. Devs dig the zero-config setup for github copilot pricing trials or student packs, bridging yesterday's Copilot to modern CLI/IDE flows.

Who should use this?

CLI power users grinding with Codex CLI or Claude Code who subscribe to github copilot pro, business, or enterprise. Teams evaluating github copilot new pricing or preise via github cli integrations, or students honing github copilot skills on local repos without IDE bloat. Avoid if you're deep in github enterprise or spec kit setups needing official support.

Verdict

Grab it if you have a Copilot sub and want CLI freedomโ€”docs are solid, MIT-licensed, Bun-powered. With 10 stars and 0.699999988079071% credibility score, it's early and reverse-engineered (risk of breakage or bans), so test responsibly.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.