100% free and open source VS Code extension for AI-assisted pair programming.
✅ Initializes 15+ chatbots hands-free
✅ Integrates chat responses with the codebase
✅ Includes all the essential API tools
CWC saves you money and time.
With CWC you can:
- Granularly select folders and files to copy them as XML-formatted text.
- Type your task, pick edit format (whole/truncated/diff), initialize a chatbot hands-free (or send an API request) and automatically integrate the response with the codebase.
- Get accurate code completions using the selected context with SOTA reasoning models.
- Generate meaningful commit messages by referencing the original state of the modified files.
- Include websites parsed to markdown in context.
Guiding principles:
- initialize chatbots—don't scrape responses
- complete privacy—local processing
- lightweight—about 1MB of code
CWC is for you if:
- you're an experienced developer working on a large codebase
- you're a student or hobbyist on a budget
Code with your favorite chatbot without tedious copy-pasting. The Connector extension bridges your editor and the browser through a locally run WebSockets server.
Supported chatbots:
- AI Studio
- ChatGPT
- Claude
- DeepSeek
- Doubao
- Gemini
- Grok
- Mistral
- Open WebUI
- OpenRouter Chat
- Perplexity
- Kimi
- Qwen
- Yuanbao
- Z.AI
Legal Disclaimer: After chat initialization, the extension does not read the incoming message. The injected Apply response button is not a means of automatic output extraction, it's an alias for the original copy to clipboard button.
Code Completions
Get code at cursor from state-of-the-art reasoning models.
Edit Context
Create and modify files in context based on natural language instructions.
Intelligent Update
Integrate chat/API responses in "truncated" edit format. Fix malformed diffs.
Commit Messages
Generate meaningful commit messages precisely adhering to your preferred style.
Code Web Chat: Apply Chat Response
- Integrate with the codebase copied overall chat response or a single code block.Code Web Chat: Revert Last Changes
- Revert above command.
Code Web Chat: Copy Context
- Copy selected files and websites to clipboard.Code Web Chat: Apply Context from Clipboard
- Find file paths in the clipboard text.
Code Web Chat: Code Completion
- Get code at cursor using API tool.Code Web Chat: Code Completion to Clipboard
- Copy the code completion prompt to clipboard.
Code Web Chat: Commit Changes
- Generate a commit message for staged changes and commit.
Code Web Chat: Settings
- Open settings wizard
Please be welcomed in discussions and /r/CodeWebChat.
If you use CWC daily, buying a coffee is a great way to show your support for the project.
BTC: bc1qfzajl0fc4347knr6n5hhuk52ufr4sau04su5te
ETH: 0x532eA8CA70aBfbA6bfE35e6B3b7b301b175Cf86D
XMR: 84whVjApZJtSeRb2eEbZ1pJ7yuBoGoWHGA4JuiFvdXVBXnaRYyQ3S4kTEuzgKjpxyr3nxn1XHt9yWTRqZ3XGfY35L4yDm6R
All contributions are welcome. Feel free to submit pull requests, feature requests and bug reports.
Copyright © 2025 Robert Piosik
E-mail: [email protected]
Telegram: @robertpiosik