Skip to content

CWC connects VS Code with ChatGPT, AI Studio, DeepSeek, and 10+ other free chatbots. Saves you money and time.

License

Notifications You must be signed in to change notification settings

robertpiosik/CodeWebChat

Repository files navigation

Code Web Chat

Get from Visual Studio Code Marketplace Get from Open VSX Registry

Code Web Chat is a versatile, free and open-source (FOSS) AI coding tool that connects VS Code with ChatGPT, AI Studio, DeepSeek, and 10+ other free chatbots.

Save money—use generous free tiers and subscription-based billing
Save time—integrate multi-file changes from a single response

Available in VS Code, Cursor, and other forks.

Walkthrough

Guiding principles

  • Initialize chatbots—don't scrape responses
  • Respect user privacy—don't collect any data
  • Free forever—open-source community effort

CWC is for you if you're

  • a professional working on a large codebase
  • a student or hobbyist on a budget

Chatbot initialization

Install the Connector browser extension and never copy&paste again.

Supported chatbots:

  • AI Studio
  • ChatGPT
  • Claude
  • DeepSeek
  • Doubao
  • Gemini
  • Grok
  • Kimi
  • Mistral
  • Open WebUI
  • OpenRouter Chat
  • Perplexity
  • Qwen
  • Together
  • Yuanbao
  • Z.AI

Legal Disclaimer: The extension does only basic web interactions to start a new conversation. The injected Apply response with CWC button is not a means of automatic output extraction, it's an alias for the original copy to clipboard button.

API Tools

CWC is not limited to chatbot initializations. To use built-in API tools, bring your own keys (BYOK) for any OpenAI-API compatible model provider for usage-based billing.

🛠️ Edit Context
Modify files based on natural language instructions.

🛠️ Code Completions
Get accurate code-at-cursor from state-of-the-art reasoning models.

🛠️ Intelligent Update
Integrate truncated code blocks and fix malformed diffs.

🛠️ Commit Messages
Generate meaningful summaries of changes adhering to your style.

Commands

Handling AI responses

  • Code Web Chat: Apply Chat Response - Integrate with the codebase a copied to clipboard overall chat response or a single code block.
  • Code Web Chat: Apply Clipboard Content to Active Editor - Serves as a flexible fallback for applying AI-generated edits, e.g. broken diffs.
  • Code Web Chat: Undo Last Changes - Revert applied AI-suggested edits.

Code completions

  • Code Web Chat: Code Completion - Get code-at-cursor using API tool.
  • Code Web Chat: Code Completion using... - ...with configuration selection.
  • Code Web Chat: Code Completion with Instructions - ...with instructions.
  • Code Web Chat: Code Completion with Instructions using... - ...with instructions and configuration selection.

Enterprise security

Code Web Chat operates exclusively on your machine. All your code and instructions are sent directly to chatbots via editor-browser communication channel run on local Websockets. Model providers for API tools are called directly.

The tool does not collect telemetry.

Community

If you have a question about CWC, or want to help others, you're always welcome to join the conversation:

Donations

Buy me a coffee

BTC: bc1qfzajl0fc4347knr6n5hhuk52ufr4sau04su5te

ETH: 0x532eA8CA70aBfbA6bfE35e6B3b7b301b175Cf86D

XMR: 84whVjApZJtSeRb2eEbZ1pJ7yuBoGoWHGA4JuiFvdXVBXnaRYyQ3S4kTEuzgKjpxyr3nxn1XHt9yWTRqZ3XGfY35L4yDm6R

Contributing

All contributions are welcome. Feel free to submit pull requests, feature requests and bug reports.


Copyright © 2025 Robert Piosik
E-mail: robertpiosik@gmail.com
Telegram: @robertpiosik

About

CWC connects VS Code with ChatGPT, AI Studio, DeepSeek, and 10+ other free chatbots. Saves you money and time.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project