CodeWebChat

CodeWebChat

Initialize your favorite chatbot with code and instructions, hands-free!

Stars: 1158

Visit
 screenshot

Code Web Chat is a versatile, free, and open-source AI pair programming tool with a unique web-based workflow. Users can select files, type instructions, and initialize various chatbots like ChatGPT, Gemini, Claude, and more hands-free. The tool helps users save money with free tiers and subscription-based billing and save time with multi-file edits from a single prompt. It supports chatbot initialization through the Connector browser extension and offers API tools for code completions, editing context, intelligent updates, and commit messages. Users can handle AI responses, code completions, and version control through various commands. The tool is privacy-focused, operates locally, and supports any OpenAI-API compatible provider for its utilities.

README:

Code Web Chat

Get from Visual Studio Code Marketplace Get from Open VSX Registry License: GPL-3.0

Code Web Chat is a community-driven, free and open-source (FOSS) AI coding tool that initializes your favorite chatbot with code and instructions, hands-free!

All popular chatbots—auto-run ChatGPT, Claude, Qwen, DeepSeek, among others
Apply chat responses—integrate changes in whole, truncated or diff edit format
Cost-efficient AI coding—use generous free tiers and subscription-based billing
Zero tool calling—manually pick context for unmatched accuracy and speed

Available in VS Code, Cursor, and other forks.

Walkthrough

⭐️ Guiding principles

  • Privacy first—operate locally, don't collect any data
  • Initialize chatbots—don't scrape responses
  • Free forever—community effort

⭐️ CWC is for you if you're

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

⭐️ The workflow

Select folders and files for context, type instructions, and pick your favorite chatbot—to continue in the browser, or call a model provider of choice—to stay in the editor.

Once the response is ready, suggested multi-file changes can be integrated with the codebase after you review them in a transparent and safe way.

Chatbot initialization

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

It uses a simple content script to insert prepared prompt, change model, etc., on your behalf, but is not required for CWC to function.

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 injected, yellow [Apply response with CWC] button is not a means of automatic output extraction, it's an alias for the original copy to clipboard button—changes integration process uses clipboard-stored chat response text.

API Tools

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

🛠️ Edit Context
Modify, create or delete 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 chat 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, or want to help others, you're always welcome in our community.

Donations

If you enjoy using Code Web Chat, buying a $3 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

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for CodeWebChat

Similar Open Source Tools

For similar tasks

For similar jobs