3,702 prompts from top AI collections
← Back to Market
[UNTESTED] [yuchanns/copilot-openai-api] 5 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,279 characters
Status: [UNTESTED] Endpoints found: http://localhost:9191/v1/chat/completions http://localhost:9191/v1/embeddings http://localhost:9191/v1/responses http://localhost:9191/v1/models http://localhost:9191/v1/models/gpt-5.1 Source: https://github.com/yuchanns/copilot-openai-api # 🤖 Copilot OpenAI API [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/) [![FastAPI](https://img.shields.io/badge/FastAPI-modern-green.svg)](https://fastapi.tiangolo.com/) [![Docker](https://img.shields.io/badge/docker-ready-blue.svg)](https://www.docker.com/) [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE) [![Image Tags](https://ghcr-badge.yuchanns.xyz/yuchanns/copilot-openai-api/tags?ignore=latest)](https://ghcr.io/yuchanns/copilot-openai-api) ![Image Size](https://ghcr-badge.yuchanns.xyz/yuchanns/copilot-openai-api/size) A FastAPI proxy server that seamlessly turns GitHub Copilot's chat completion/embeddings/responses capabilities into OpenAI compatible API service. ## ✨ Key Features 🚀 **Advanced Integration** - Seamless GitHub Copilot chat completion API proxy - Real-time streaming response support - High-performance request handling 🔐 **Security & Reliability** - Secure authentication middleware - Automatic token management and refresh - Built-in CORS support for web applications 💻 **Universal Compatibility** - Cross-platform support (Windows and Unix-based systems) - Docker containerization ready - Flexible deployment options ## 🚀 Prerequisites - Python 3.10+ - pip (Python package manager) - GitHub Copilot subscription - GitHub authentication token ## 📦 Installation 1. Clone the repository: ```bash git clone https://github.com/yuchanns/copilot-openai-api.git cd copilot-openai-api ``` 2. Install dependencies: ```bash # Install PDM first if you haven't pip install -U pdm # Install project dependencies using PDM pdm install --prod ``` ## ⚙️ Configuration 1. Set up environment variables: ```bash # Windows set COPILOT_TOKEN=your_access_token_here set COPILOT_SERVER_PORT=9191 # Optional: Server port (default: 9191) set COPILOT_SERVER_WORKERS=4 # Optional: Number of workers (default: min(CPU_COUNT, 4)) # Unix/Linux/macOS
Download .txt