Skip to content

robertpiosik/CodeWebChat

Repository files navigation

Code Web Chat

Get from Visual Studio Code Marketplace Follow on X Join subreddit /r/CodeWebChat

A versatile AI pair programming tool connecting VS Code with free chatbots. With emphasis put on context management, it delivers accuracy, predictability, speed and cost effectiveness unmatched by IDE or terminal based coding agents. CWC is designed for real-world programming, saving you sanity, money and time.

Initializes 15+ chatbots hands-free
Intelligently applies chat responses
Includes all the essential API tools

Walkthrough

With CWC you can:

  • Step into the new era of AI-assisted coding:
    • granularly select folders and files,
    • type something and pick "edit format" instructions (whole/truncated/diff),
    • initialize new chat or send an API request and integrate multi-file changes.
  • Get accurate code completions using the selected context with SOTA reasoning models.
  • Generate meaningful summaries of changes by referencing the original state of the modified files.
  • Include in context any website in a markdown format.

Guiding principles:

  • initialize chatbots—don't scrape responses
  • complete privacy—local processing
  • free—open source community effort
  • 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

Chatbot initialization

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
  • Kimi
  • Mistral
  • Open WebUI
  • OpenRouter Chat
  • Perplexity
  • Qwen
  • Together
  • 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.

API Tools

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

Edit Context
Modify files based on natural language instructions.

Intelligent Update
Integrate AI responses in "truncated" edit format and fix malformed diffs.

Commit Messages
Generate meaningful summaries of changes precisely adhering to your preferred style.

Commands

Handling AI responses

  • Code Web Chat: Apply Chat Response - Integrate with the codebase copied to clipboard overall chat response or a single code block.
  • Code Web Chat: Revert Last Changes - Revert above command.

Code completions

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

Version Control

  • Code Web Chat: Commit Changes - Generate a commit message for staged changes and commit.

Community

Please be welcomed in discussions and /r/CodeWebChat.

Donations

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

Contributing

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