A utility tool to enable unrestricted features in GitHub Copilot Chat extensions.
Use at your own risk. This tool modifies extension files which may violate GitHub Copilot's terms of service.
This tool scans your VS Code extensions directory (or custom specified path) for GitHub Copilot Chat installations and modifies them to:
- Enable all models for LM API usage by removing authentication restrictions
- Enable BYOK (Bring Your Own Key) feature for Business and Enterprise users
- Enable CodeReview features for free users
# Run with default paths
node github-copilot-freedom.js
# Or use curl
curl -sSL https://raw.githubusercontent.com/DaydreamCoding/github-copilot-freedom/master/github-copilot-freedom.js | node
# Run with a custom path
node github-copilot-freedom.js $HOME/.vscode/extensions
# Or use curl
curl -sSL https://raw.githubusercontent.com/DaydreamCoding/github-copilot-freedom/master/github-copilot-freedom.js > /tmp/copilot-freedom.js && node /tmp/copilot-freedom.js $HOME/.vscode/extensionsThe tool automatically checks the following paths for VS Code extensions:
~/.vscode/extensions~/.vscode-server/extensions~/.vscode-insiders/extensions~/.vscode-server-insiders/extensions~/.cursor/extensions~/.cursor-server/extensions~/.vscode-oss/extensions~/.vscode-oss-dev/extensions
- The tool identifies GitHub Copilot Chat extension directories
- Creates a backup of the original files
- Modifies the JavaScript code to enable restricted features
- Reports which files have been modified
- After modifying the extension files, you may need to restart VS Code for the changes to take effect.
- Node.js
This repository is licensed under the MIT License. See the LICENSE file for more information.