DEDUPED Hot AI repos, turned into use cases Get 5 a day

How to set up the Copilot model connector with one script with Route VSCODE

Run the platform setup script to install the extension and prepare the connector.

Who it is forA team lead or new developer onboarding several machines to Copilot Chat with 9Router on Windows, Linux or macOS.

The problemManual install of the gateway, extension and dashboard across machines takes many steps and is easy to get wrong.

The outcomeThe connector is installed on the machine using the setup script for that platform, ready for the API Key and model selection steps.

What you need first

  • Visual Studio Code with GitHub Copilot Chat
  • Node.js and npm, needed for `npm install -g 9router` and `npm start`
  • A 9Router account or local setup that gives you an API Key from the 9Router dashboard at http://localhost:20128/dashboard
  • Ports 20128, 20129 and 5500 free on your machine

Steps

  1. Open a terminal in the folder where you cloned the repo.
  2. On Windows, run scripts\setup.bat or npm run setup.
  3. On Linux or macOS, run chmod +x scripts/setup.sh and then ./scripts/setup.sh.
  4. Run 9router in a separate terminal and open http://localhost:20128/dashboard to get your API Key.
  5. In VSCode, run 9Router: Set API Key & Base URL and then choose 9Router via Proxy in the Copilot Chat Model Picker.

Prompt for your agent

Using the repo yudaprasetya007/routeVSCODE, run the setup script for this platform (scripts/setup.sh on Linux or macOS, scripts\setup.bat on Windows) and report the output. Verify that the file releases/routevscode.model-connector-2.5.0.vsix was installed into VSCode and that the command `9Router: Status & Info` shows the proxy port 20129.

Caveat. Port 20129 must be free, and the README notes that an older VSCode instance can keep it busy and cause a proxy port conflict.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page