Chat with GPT-OSS-120B via your Cloudflare Worker directly inside VS Code. This extension provides a sidebar chat interface similar to ChatGPT.
- 💬 Sidebar chat interface
- ⚡ Quick access through Command Palette
- 🔑 Keyboard shortcuts support
- 🌐 Powered by Cloudflare Worker
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Worker AI Chat"
- Click Install
- Clone the repository
git clone https://github.com/needyamin/Worker-AI-Chat-VSCode-Plugin.git
<<<<<<< HEAD
cd Worker-AI-Chat-VSCode-Plugin
=======
cd worker-ai-chat
>>>>>>> d81749075c557e45bc0ee63bd65d65d3d7bb5d87- Install dependencies and vsce
npm install
npm install -g @vscode/vsce- Build the extension
npm run compile- Package the extension
vsce package- Install the generated .vsix file in VS Code:
- Press Ctrl+Shift+P
- Type "Install from VSIX"
- Select the generated .vsix file
- Click the Worker AI Chat icon in the Activity Bar (sidebar)
- Type your question in the input box
- Press Enter or click Send
- View the AI's response in the chat window
- Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Type "Ask Worker AI"
- Enter your question
- Use
Ctrl+Shift+A(Windows/Linux) orCmd+Shift+A(Mac) to quickly ask a question
The extension uses the following Cloudflare Worker URL by default:
https://gpt-oss-120b.md-yamin-hossain.workers.dev
To use your own worker:
- Deploy your Cloudflare Worker
- Update the URL in
src/extension.ts
- VS Code version 1.80.0 or higher
- Active internet connection
- Access to the Cloudflare Worker endpoint
- Worker response time may vary based on network conditions
- Limited to text-based conversations currently
- Fork the repository from Worker-AI-Chat-VSCode-Plugin
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions:
- Open an issue on GitHub
- Contact the developer at [[email protected]]