AI Personal Learning
and practical guidance

Copilot backend proxy service: taking over the GitHub Copilot plugin server with other models

General Introduction

The Copilot Backend Agent Service is an open source project designed to manage the GitHub Copilot plugin server side by leveraging other FIM models such as DeepSeek, while supporting multiple people sharing official accounts. The service supports a variety of IDEs , including VSCode, Jetbrains IDE series , Visual Studio 2022 and HBuilderX , and is able to achieve the local model in the disconnected environment . By using the local model, developers can continue to enjoy code completion and hinting features in offline environments, thus improving development efficiency.

Free public service endpoint: mycopilot.noteo.cn Configuration


 

Function List

  • Multiple IDEs are supported: including VSCode, the Jetbrains IDE family, Visual Studio 2022, and HBuilderX.
  • Local Model Support: Runs in disconnected environments, ensuring that developers can use code completion and hints even when they are offline.
  • Multiple people sharing official account: Support multiple people sharing GitHub Copilot official account to reduce the cost of use.
  • Code Completion and Hints: Provide intelligent code completion and hints to improve development efficiency.
  • Docker Deployment: Supports rapid deployment using Docker, simplifying the installation and configuration process.
  • Environment Variable Configuration: Provide detailed environment variable configuration instructions to facilitate users to customize the settings according to their needs.
  • Automatic SSL Certificate Renewal: Automatically renew SSL certificates to ensure the security and stability of the service.

 

Using Help

Installation process

  1. To download the latest version of the executable, visitReleases pageThe
  2. Create a directory at the same level as the executable.envDocumentation, reference.env.examplefile for configuration.
  3. Starting the service: Execute the following command to start the service:
    docker-compose up -d
    
  4. Configure IDE: Configure the corresponding IDE according to the following method.
    • VSCode::
      1. Install the GitHub Copilot plugin.
      2. Modify the VSCode'ssettings.jsonfile, add the following configuration:
        "github.copilot.advanced": {
        "authProvider": "github-enterprise",
        "debug.overrideCAPIUrl": "https://api.copilot.supercopilot.top",
        "debug.overrideProxyUrl": "https://copilot-proxy.copilot.supercopilot.top",
        "debug.chatOverrideProxyUrl": "https://api.copilot.supercopilot.top/chat/completions",
        "debug.overrideFastRewriteEngine": "v1/engines/copilot-centralus-h100", "debug.overrideFastRewriteEngine": "v1/engines/copilot-centralus-h100",
        "debug.overrideFastRewriteUrl": "https://api.copilot.supercopilot.top"
        }, "overrideFastRewriteUrl":"".
        "github-enterprise.uri": "https://copilot.supercopilot.top"
        
      3. Restart VSCode and log in to the GitHub Copilot plugin.
    • Jetbrains IDE Series::
      1. Open Settings > Languages & Frameworks > GitHub Copilot > Authentication Provider, fill in the value ofcopilot.supercopilot.topThe
    • Visual Studio 2022::
      1. Update to the latest version (at least 17.10.x).
      2. Open Tools > Environment > Accounts and check Include GitHub Enterprise server account.
      3. Restart Visual Studio 2022.
      4. Click Add GitHub Account, switch to the GitHub Enterprise tab, and enter thehttps://copilot.supercopilot.topThe
    • HBuilderX::
      1. downloadingcopilot-for-hbuilderx-v1.zipPlugin to local.
      2. Install the plugin into theplugindirectory, refer to the Offline Plugin Installation Guide.
      3. Restart HBuilderX and log in to the GitHub Copilot plugin.

Usage

  1. After starting the service, access thehttps://copilot.supercopilot.top/github/login/device/codegainghu_Parameters.
  2. directory of retrieved dataghu_The parameters are filled in to the.envin the fileCOPILOT_GHU_TOKENin the environment variables.
  3. Restart the service and IDE to use the code completion and hinting features of the GitHub Copilot plugin.
May not be reproduced without permission:Chief AI Sharing Circle " Copilot backend proxy service: taking over the GitHub Copilot plugin server with other models

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish