Skip to content

betaHi/copilot-api

 
 

Repository files navigation

copilot-api (DEPRECATED — use copilot-bridge)

Important

This repository is no longer maintained. Active development has moved to copilot-bridge, which supports both Codex CLI and Claude Code out of the box.

What's new in copilot-bridge

  • Codex CLI support (auto-writes ~/.codex/config.toml)
  • Claude Code support (no flags needed)
  • Web Search support
  • End-to-end reasoning support
  • End-to-end tested with the real Codex / Claude CLIs

Migration

Replace any old commands:

# old
npx betahi-copilot-api@latest start

# new
npx betahi-copilot-bridge@latest start

For Claude Code, set ANTHROPIC_BASE_URL to the bridge port (default 4142) in ~/.claude/settings.json. For Codex CLI, just run start once — the bridge writes a managed block into ~/.codex/config.toml for you.

See the new README: https://github.com/betaHi/copilot-bridge#readme

Archive

The original README has been preserved as README_DEPRECATED.md for reference.

About

Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 82.0%
  • HTML 11.5%
  • JavaScript 5.8%
  • Other 0.7%