GitHub Copilot Proxy v0.1.0
The initial release of GitHub Copilot Proxy, enabling Cursor IDE to use GitHub Copilot's services.
Features
- OAuth Device Flow Authentication: Secure authentication with GitHub Copilot
- OpenAI-Compatible API: Implementation of
/v1/models
and/v1/chat/completions
endpoints - Unlimited Completions: Bypass Cursor's 500 premium requests/month limit by using your GitHub Copilot subscription
- Token Management: Automatic token refresh and validation
- Streaming Support: Real-time streaming responses for completions
- Rate Limiting: Configurable request and token-based rate limiting
- Usage Monitoring: Tracking and visualization of usage metrics
- Web Interface: Authentication UI and usage dashboard
Installation
- Clone the repository
- Install dependencies with
npm install
- Create a
.env
file based on.env.example
- Build with
npm run build
- Start with
npm start
Usage
- Configure Cursor IDE to use the proxy server as a custom OpenAI API endpoint
- Follow the authentication steps in the web interface
- Enjoy unlimited AI-powered completions in Cursor IDE
This release is stable for developer use but is still considered beta. Please report any issues through GitHub Issues.