DEV Community

Cover image for Turn any browser chatbot into a VS Code coding agent (no API keys!)
EffessDev
EffessDev

Posted on

Turn any browser chatbot into a VS Code coding agent (no API keys!)

Ok here is how it works:

Paste your project as clean Markdown context into any free Chatbot, and apply the generated diffs in one click.

Already know about ReptClip? Skip to v2.1 updates!

Watch the video demo below to see it in action πŸ”₯

How ReptClip works (briefly)

ReptClip is a free, open-source VS Code extension. Installing it adds a ReptClip tab to the bottom panel in VS Code. This is where everything happens:

You can move it anywhere you want (like the sidebar), and the ReptClip UI will adapt!

Step 1: Copy context to clipboard

By default, the context consists of the Project structure, AI instructions, attached files, and an empty Prompt section to put your prompt. All in Markdown.

Use "Files to attach" text box to attach files to the context. You can use relative paths or glob patterns (e.g., **/*.py to add all Python files). You will get live suggestion dropdowns and syntax highlighting as you type. Press "Enter" or click the "Context" button to copy the context straight to your clipboard.

If no files are selected, ReptClip shows "No files attached." and keeps the remaining enabled context sections.

Step 2: Paste context to your chatbot, along with your prompt

The chatbot will generate the diffs in a single code block, according to the instructions provided in the context.

Step 3: Apply the generated diffs

The chatbot outputs all diffs in a single code block covering line removals, additions, edits, updates, file moves or renames, file creation, and file deletion. Copy the block and click Apply Diffs to apply the changes.

Didn't like it? Click the Undo button. Changed your mind? Click the Redo button!

Optional step (before step 3): Add more context

If the chatbot wants to see more files or search the project, it will generate a code block containing the following custom commands:

  • cat <path> To read a file.
  • read-lines <path> <start_line> [end_line] To read sections of a file.
  • grep <flags> <pattern> [paths...]: To search across the project with grepts.

You can copy that block and click the "More Context" button to copy the output to the clipboard, and paste it back to the chatbot.

Other key features

  • UI state remembered per project: You don't have to re-enter them every time, and they won't be mixed up with other projects.
  • Hide labels: To save screen space once you memorize the layout.
  • Context customization: Each section in the context can be easily toggled on/off using checkboxes.
  • Zero dependencies: ReptClip doesn't need Git initialized (a .git folder), or Git installed in your system.
  • Estimated token count: Displayed in the status.
  • And much more!

Why you can trust it

ReptClip only touches files that are tracked by git. Anything your .gitignore files (at any depth) exclude is completely off-limits, for reading, searching, writing, creating, deleting, whatever. .git folders are always off-limits too. If something ever goes wrong anyway, you can simply discard the changes with git, since they are tracked.

If the AI attempts to touch a .gitignore file, ReptClip for confirmation first, since that can un-ignore something that was previously protected.

And that's just the beginning! Check out the README to learn more about ReptClip & its full feature set and security measures. Or continue reading for the updates!

Ok. Now, the updates πŸ₯³

Here is what changed:

  • Now, you can hide the labels: The labels take up too much vertical space. Since I have memorized the layout, I wanted a way to hide them. This setting is remembered globally, not project-wise.
  • Now, it shows an estimated token count: It uses the cheap number of characters / 4 rule.
  • Optimize UI for the sidebar: Before this update, certain parts of the UI would overflow. I optimized it so it adapts to wherever you put it:

You can even put it under the explorer so your files, terminal, and ReptClip are all visible at the same time!

Also, the ReptClip panel finally has an icon!!!

Ah, and I started CHANGELOG.md. Now it's MUCH easier to post the updates when I release a new version (I wish I had started earlier).

If you liked ReptClip, or think it'd be useful for you or others, I'd appreciate it if you could drop a ⭐ on GitHub πŸ₯ΊπŸ™

Top comments (3)

Collapse
 
userxnom profile image
Abdullah Naseer •

The safety boundary is the part I liked most: ReptClip only touches files tracked by git, and anything in .gitignore is off-limits for reading, searching, writing or creating. That is a clearer guarantee than most clipboard-based agent workflows give, and the confirmation step before touching a .gitignore file itself is a good catch.

The v2.1 details are practical too β€” the estimated token count using the characters / 4 rule, and the hide-labels option once you have memorized the layout.

One question: with a free browser chatbot, where does this start to break down on a larger project? Roughly how many files or tokens of context can you paste before the chatbot loses track, and do the cat / read-lines / grep follow-ups you described actually keep it on track at that size?

Collapse
 
effessdev profile image
EffessDev •

Thanks a lot for the comment! πŸ™‚ If the project has a lot of files, the first copy would take a while to complete (as of Nov 23, 2026). Once, I tried it with Godot source code and just the project structure was gigantic πŸ˜‚ Also we do not have any way to remove files from the project structure so if you have many auto-generated files in your repo, it can clutter the context. Thanks for asking these questions; it made me remember the limitations! I added these to my todo! Anything else you noticed?

Collapse
 
akhourianmolkumar profile image
Akhouri Anmol Kumar •

bro what if I commented on a post of founder @dev.to and say him that you can follow me on dev.to and if your wish then github too then what you think?
option1)he will do so acting like a good founder
option2) he will say I can't but would give me 10% stake @forem at a valuation of 0dollars for free so that I won't feel sad
option3) he will follow me on dev.to but not in github or follow in github but not in dev.to
option4)he will ban me from dev.to
option5)he will say me: noob, first became a successful man and have a networth of at least million dollar shut up noob bruh and don't message me again I'm thanos and in front of me you're just a spiderman
option6) he will just ignore
option7)all of the above

I don't know why but I'm serious.