An open API service indexing awesome lists of open source software.

https://github.com/robertpiosik/gemini-coder

Non-agentic 100% free & open source coding tool for AI-assisted programming.
https://github.com/robertpiosik/gemini-coder

Last synced: 12 months ago
JSON representation

Non-agentic 100% free & open source coding tool for AI-assisted programming.

Awesome Lists containing this project

README

          


logo


Gemini Coder - free AI coding


Copy folders and files for chatbots or initialize them hands-free!

Use built-in API tools for code completions, file refactoring and applying chat responses.



Download from Visual Studio Code Marketplace
Download from Open VSX Registry
MIT License
X



Documentation

Non-agentic 100% free & open source coding tool for AI-assisted programming.

All manually selected folders and files are fully attached with chats, code completions and file refactorings. Gemini Coder initializes AI Studio, Gemini and 10+ other popular chatbots, hands-free. Whenever you're happy with a chat response, integrate it with the codebase with a single click.

Gemini Coder is for you if:

- you're an experienced developer working on a large codebase
- coding agents failed you too many times
- student or hobbyist on a budget

Not affiliated with Google.


Walkthrough


## Overview

- Intuitive context selection
- Web chat initialization
- Chat response integration
- Code completions with any model
- Effective file refactoring
- Not limited to Gemini
- Any website in context
- Commit message generation
- Totally free
- Does not track usage
- Lightweight ~1.3MB

## You own the context

Other tools try to "guess" what pieces of the codebase matter for the given task, often struggling to get it right. They workaround this problem by overloading context with excessive information, hurting model's performance and your wallet.

Gemini Coder works differently:

- **You select** which folders and files are relevant to the task
- **You decide** what examples of coding conventions will work best
- **You know** exactly how much tokens you have in the context

The result? Unmatched in cost, speed and accuracy AI assistance.

> Too many tokens fighting for attention may _decrease_ performance due to being too "distracting", diffusing attention too broadly and decreasing a signal to noise ratio in the features. ~Andrej Karpathy

## Web chats

As everyone have their own favourite web chat interface, each with unique features and feel not feasible to integrate within the editor, Gemini Coder have you covered by initializing Gemini, AI Studio and many other popular chatbots with your context, instructions and settings, hands-free!

**You can start chats in one of two modes:**

- Ask anything
- Ask for code completion

**_Apply Chat Response_** is a smart tool that automatically integrates chat responses with the codebase, either replacing original files ("whole" code blocks) or refactoring with API (truncated code blocks).

**Supported chatbots:**

- AI Studio
- Gemini
- Open WebUI (self-hosted)

**Also works with:** _(Alphabetically)_

- ChatGPT
- Claude
- DeepSeek
- Grok
- HuggingChat
- Mistral
- Qwen

The Connector extension is available in [Chrome Web Store](https://chromewebstore.google.com/detail/gemini-coder-connector/ljookipcanaglfaocjbgdicfbdhhjffp) and [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/gemini-coder-connector/).

> **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

Support your day-to-day work with all must-have AI features.

**Bring your own API keys for:**

- Gemini API
- OpenRouter


API keys are stored locally on your computer and all requests are sent directly to the provider.

#### đŸ› ī¸ Code completions

Use any model for accurate code completions. The tool attaches selected context in each request.

#### đŸ› ī¸ File refactoring

Modify the active file based on natural language instructions. When used directly, the tool attaches selected context in each request. Indirect use involves modyfing files when applying a chat response of which code blocks contain truncation comments, e.g. "// ..."

#### đŸ› ī¸ Commit messages

Generate meaningful commit messages based on contents of affected files and diffs of changes.

## Quick start for chat

1. Open the new Gemini Coder view from the activity bar (sparkles icon).
2. Select folders and files to include in the context.
3. Enter instructions and copy generated prompt.
4. (optional) Install [browser integration](https://gemini-coder.netlify.app/docs/installation/web-browser-integration) for hands-free initializations.

## Quick start for code completions

1. Open the new Gemini Coder view from the activity bar (sparkles icon).
2. Select folders and files to include in the context.
3. Place caret where you want code completion to appear.
4. Use Command Palette (Ctrl/Cmd + Shift + P) and type "Code Completion".
5. Bind the command to a keyboard shortcut by opening Keyboard Shortcuts (Ctrl/Cmd+K Ctrl/Cmd+S), searching for `Gemini Coder: Code Completion`, clicking the + icon, and pressing your preferred key combination (e.g. Ctrl/Cmd+I).

## Commands

#### Code completions

- `Gemini Coder: Code Completion` - Get code completion.
- `Gemini Coder: Code Completion with Suggestions` - Get code completion that follows given suggestions.
- `Gemini Coder: Code Completion to Clipboard` - Copy code completion prompt to clipboard.
- `Gemini Coder: Code Completion with Suggestions to Clipboard` - Copy code completion with suggestions prompt to clipboard.
- `Gemini Coder: Code Completion in Chat` - Send code completion prompt to web chat using default preset.
- `Gemini Coder: Code Completion in Chat with...` - Send code completion prompt to web chat with preset selection.

#### Refactoring

- `Gemini Coder: Refactor` - Refactor active editor.
- `Gemini Coder: Refactor to Clipboard` - Copy refactoring prompt to clipboard.

#### Applying chat responses

- `Gemini Coder: Apply Chat Response` - Apply changes suggested by AI using clipboard content.
- `Gemini Coder: Apply Chat Response (Fast replace)` - Apply changes suggested by AI using clipboard content (Fast replace).
- `Gemini Coder: Apply Chat Response (Intelligent update)` - Apply changes suggested by AI using clipboard content (Intelligent update).
- `Gemini Coder: Revert Last Applied Changes` - Revert the last applied changes.

#### Chat

- `Gemini Coder: Web Chat` - Open web chat with default preset.
- `Gemini Coder: Web Chat with...` - Open web chat with preset selection.
- `Gemini Coder: Chat to Clipboard` - Enter instructions and copy to clipboard.

#### Context

- `Gemini Coder: Copy Context` - Copy selected folders/files and websites to clipboard.

## Contributing

All contributions are welcome. Feel free to submit pull requests or create issues and discussions.

## License

Copyright ÂŠī¸ 2025 [Robert Piosik](https://buymeacoffee.com/robertpiosik).
📨 `robertpiosik[at]gmail.com`
📃 [MIT License](https://github.com/robertpiosik/gemini-coder/blob/master/LICENSE)

## Kind Words From Users

_"You did exactly what I wished, I feel you bro. Thank you very much for the early Christmas gift!"_ — [Coffee from Dat LQ.](https://buymeacoffee.com/robertpiosik)

_"Gemini Coder is amazing!"_ — [Coffee from Matt](https://buymeacoffee.com/robertpiosik)

_"You've built something incredibly helpful and useful man. Saves money and time. Thanks"_ — [Coffee from Kieron Dixon](https://buymeacoffee.com/robertpiosik)

_"First time I've used a tool that improved my life so substantially that clicking the "buymeacoffee" button was a no brainer"_ — [Coffee from Gabriel Bryk](https://buymeacoffee.com/robertpiosik)

_"This has been SUPER helpful with coding. Appreciate you putting it out into the world!"_ — [Coffee from Sebastian Kipman](https://buymeacoffee.com/robertpiosik)

_"Seriously love Gemini Coder and your fast support! It's genuinely the best tool I've found for actually understanding big codebases and learning new things. Really hope more people discover this gem! Thanks!"_ — [Coffee from mazuralexandru](https://buymeacoffee.com/robertpiosik)

_"Love this plugin, perfectly emulates my preferred way to AI pair program (using browser rather than IDE autocomplete)"_ — [Coffee from wecraw](https://buymeacoffee.com/robertpiosik)