HEXUXIU/M365-Copilot2API
Microsoft 365 Copilot → OpenAI / Anthropic 兼容 API 网关。
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
Ranks #50 of 2,503 repositories GStars tracks this week (top 2%).
5 releases in the last 90 days, the latest 6 days ago, with 7 contributors on GitHub.
Use Cases & Benefits
- Provides a self-hosted Go API gateway translating Microsoft 365 Copilot's private ChatHub WebSocket protocol into OpenAI and Anthropic compatible APIs.
- Enables seamless use of Microsoft 365 Copilot services through standard OpenAI/Anthropic API formats with multi-account management and automatic failover.
- Use for integrating Microsoft 365 Copilot capabilities into existing OpenAI-compatible client applications without protocol changes.
- Use for managing multiple Microsoft 365 accounts with automatic load balancing and fault tolerance in a private API gateway setup.
- Use for deploying a local web console to control API keys, proxy pools, usage statistics, and cloud conversation management for personal or research use.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Other
GitHub could not identify this license; read the LICENSE file before depending on it.
Community files
- README: present
- Contributing guide: present
Watch-outs
- License not identified by GitHub; read the LICENSE file before depending on it.
General guidance from repository metadata, not legal advice. How we score
From the README
Microsoft 365 Copilot → OpenAI / Anthropic 兼容 API 网关
M365 Copilot2API 是一个用 Go 编写的自托管网关,把微软 365 Copilot 商业订阅背后的 ChatHub 私有协议(WebSocket)翻译成标准的 OpenAI / Anthropic 兼容 API。Claude Code、OpenCode、Cursor 以及任何 OpenAI 客户端都可以直接用熟悉的格式调用 M365 Copilot。
工作原理概括:ChatHub 私有协议 ⇄ OpenAI / Anthropic 兼容 API