A Windows GUI application built with Slint/Rust for managing the GitHub Copilot API proxy server.
No dependencies required (Bun, Node.js, etc.) - everything is bundled into a single exe file.
- One-Click Start - Embedded copilot-api server, works out of the box
- Copilot Auth - GitHub Device Code authentication flow
- Proxy Support - HTTP/SOCKS5 proxy configuration
- Model Selection - Auto-fetch available models list
- Azure OpenAI - Azure model configuration support
- Log Viewer - Built-in real-time log display
Download the latest copilot-api-gui.exe from the Releases page.
- Download and run
copilot-api-gui.exe - Click Copilot Auth to complete GitHub device code authentication
- Configure port and account type
- Click Start Server to launch the service
- Use
http://localhost:PORTas the API endpoint in your application
| Option | Description |
|---|---|
| Port | API server port (default: 4141) |
| Account Type | GitHub account type: individual or enterprise |
| Proxy URL | Proxy server address (optional) |
| Model | Model to use, click refresh to get available list |
# 1. Build copilot-api server
bun install
bun build ./src/main.ts --compile --outfile copilot-api-server.exe
# 2. Build GUI
cd gui-slint
cargo build --releaseThe exe file will be at gui-slint/target/release/copilot-api-gui.exe (~52MB).
- GUI Framework: Slint v1.14
- Backend Service: copilot-api (embedded)
- Bundler: Bun compile + flate2 compression
MIT License
- ericc-ch/copilot-api - Copilot API proxy core
- Slint - Modern Rust GUI framework
一个基于 Slint/Rust 的 Windows 图形界面程序,用于管理 GitHub Copilot API 代理服务。
无需安装任何依赖(Bun、Node.js 等),所有组件已打包到单个 exe 文件中。
- 一键启动 - 内嵌 copilot-api 服务器,开箱即用
- Copilot 认证 - 支持 GitHub Device Code 登录流程
- 代理配置 - 支持 HTTP/SOCKS5 代理设置
- 模型选择 - 自动获取可用模型列表
- Azure OpenAI - 支持 Azure 模型配置
- 日志查看器 - 内置实时日志显示
从 Releases 页面下载最新版本的 copilot-api-gui.exe。
- 下载并运行
copilot-api-gui.exe - 点击 Copilot Auth 完成 GitHub 设备码认证
- 配置端口和账户类型
- 点击 Start Server 启动服务
- 在你的应用中使用
http://localhost:端口作为 API 端点
| 选项 | 说明 |
|---|---|
| Port | API 服务端口(默认 4141) |
| Account Type | GitHub 账户类型:individual 或 enterprise |
| Proxy URL | 代理服务器地址(可选) |
| Model | 使用的模型,点击刷新按钮获取可用列表 |
Author / 作者: Jason Liang