Skip to content

Blazing fast AI coding with chatbots/APIs

License

Notifications You must be signed in to change notification settings

robertpiosik/CodeWebChat

Repository files navigation

Logo

Blazing fast AI coding with chatbots/APIs

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

Code Web Chat is a free and open-source AI coding toolkit. You can use CWC in VS Code family of editors (Cursor, Antigravity, VSCodium etc.) for a much faster and cost efficient* development experience.

* Compared to coding agents.

✍️ Construct coding prompts for...

  • Chatbots—ChatGPT, Gemini, Claude, Grok, DeepSeek, etc.
  • APIs—Gemini API, OpenRouter, local Ollama, etc.

💅 Apply responses—interactive edits integration with checkpoints for state restoration
🤙 Fully-featured—code completions with reasoning models, commit messages, and more
🫰 Cost-efficient—zero-overhead prompts optimized for prompt caching
Privacy-first—zero telemetry, operates 100% on your machine

Screenshot

Introduction

With its focus on context engineering, CWC addresses pitfalls of coding agents.

The problem

We believe the agentic context retrieval is inherently flawed. Since the model has to first read the keyword-matched file to understand its role, the context window gets polluted by default. That may cause it reason about wrong things, leading to regressions. These could be overwhelmingly hard to fix with the very approach that created them.

The solution

CWC proposes a non-agentic approach, where all the necessary for the task files, includnig useful examples, are picked with engineer's intent. Such guided model is easy to prompt and as accurate as it can get.

When pair-programming with Code Web Chat you foster codebase understanding, iterate on changes easier to review, and enter the flow state like in the good old days!

Enabling autofill in browser

Start using projects (also called gems or spaces) without the tedious copy and paste!

Like all of CWC, the extension is open-source and works with minimal permissions for your absolute privacy and security.

List of supported chatbots:

  • AI Studio
  • ChatGPT
  • Claude
  • Copilot
  • DeepSeek
  • Doubao
  • Gemini
  • GitHub Copilot
  • Grok
  • HuggingChat
  • Kimi
  • LMArena
  • Mistral
  • Open WebUI
  • OpenRouter
  • Qwen
  • Together
  • Yuanbao
  • Z AI

Tip

With the browser extension you can include markdown-parsed websites in context. Go to target website, click the extension's icon in the browser's toolbar and click Enable for context.

Important

The Apply response button placed under responses is not a means of automatic output extraction, it's an alias for the original copy to s button. Review the content script for implementation details.

Note

Use port forwarding on port 55155 when using remote machine via SSH.

API tools for common tasks

🛠️ Edit Context
Work on your codebase with natural language instructions.

🛠️ Code Completions
Get accurate code at cursor from reasoning models.

🛠️ Intelligent Update
Fix malformed AI responses.

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

Enterprise security

Code Web Chat operates exclusively on your machine. Your prompts are sent directly to chatbots via editor-browser communication channel run on local Websockets. For API tools, model providers are called directly.

Commands

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.

Checkpoints

  • Code Web Chat: Checkpoints - Restore the overall workspace state to the saved checkpoint.
  • Code Web Chat: Create New Checkpoint - Save the current state of the workspace.

Context

  • Code Web Chat: Apply Context - Apply a saved context or save the current file selection.
  • Code Web Chat: Add File to Context - Search and add file (or parent folder via file action) to the context.
  • Code Web Chat: Remove File from Context - Search and remove file (or parent folder via file action) from the context.
  • Code Web Chat: Copy Context - Copy XML-formatted checked files from the Workspace view to the clipboard.
  • Code Web Chat: Copy Context of Open Editors - Copy XML-formatted checked files from the Open Editors view to the clipboard.
  • Code Web Chat: Find Paths in Clipboard - Select files based on paths found in the clipboard text.

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

Blazing fast AI coding with chatbots/APIs

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors 9