← Back to Leaderboard
Obernardo-bruning

bernardo-bruning/ollama-copilot

A Go proxy for Copilot-style code completions with local or hosted models

View on GitHub ↗
AI Coding ToolQuickstart ↓
Engineering Health (Methodology)
B+ · 67/100
Maintenance Activity
● Updated 2mo ago
Latest Release
v0.3.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance20/35
Fork Adoption16/25
Release Cadence11/20
License Clarity20/20
Local AICLIAPI
Total Stars
★ 889
24h Growth
+0
7d Growth
+1
Forks
96

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

bernardo-bruning/ollama-copilot Star History (2024-04-24 - 2026-12-04) ALL-TIME STAR HISTORY (2024-04 – 2026-12) +888 in 954d · avg +1/day 939 470 0 2024-04-24: ★ 12024-06-22: ★ 1212024-08-24: ★ 2382024-10-26: ★ 3092024-12-28: ★ 3772025-03-01: ★ 4982025-05-03: ★ 6032025-07-05: ★ 6662025-09-06: ★ 7252025-11-08: ★ 7672026-01-10: ★ 7832026-03-14: ★ 8362026-05-16: ★ 8652026-07-18: ★ 8802026-09-19: ★ 8832026-12-04: ★ 889 ★ 889 2024-04 2025-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Ollama Copilot is a standalone Go compatibility proxy for inline code completion. A Copilot-compatible editor client sends requests to a direct endpoint or through a proxy listener, depending on the editor setup. The process routes generation to the configured provider and returns the completion to the client. It reuses the editor's existing completion UI rather than shipping its own editor plugin or implementing an MCP server.

The codebase has a root main.go entry point and an internal/ directory. The module declares Go 1.24.1 and pins github.com/ollama/ollama to v0.15.2. The CLI is the configuration surface for listeners, TLS, provider selection, and prompt construction. With Ollama or llmman, model serving is a separate process, so proxy health and inference health need to be checked independently.

Key Capabilities & Differentiators

Ollama is the default provider and codellama:code is the default model. -provider also accepts llmman, OpenRouter, DeepSeek, Mistral, and OpenAI. llmman serves the Ollama API on port 17434; its configuration example uses hf.co/unsloth/Qwen3.5-0.8B-GGUF. Hosted-provider examples pair DeepSeek with deepseek-coder and Mistral with codestral-latest, using -token to supply credentials.

The fill-in-the-middle template can include both {{.Prefix}} and {{.Suffix}}. -system sets the system prompt, while -num-ctx and -num-predict control context size and generated length. The prediction limit defaults to 250 tokens, with 25 suggested as a starting point for short inline suggestions. Validate that the selected model and provider handle the template well before treating a backend switch as a drop-in change.

Trade-offs & Limitations

The proxy is useful when keeping a Copilot-compatible editor client matters more than simplifying the integration. An editor extension that calls Ollama directly removes the Copilot compatibility layer; hosted GitHub Copilot avoids operating the proxy and inference backend, but not with the same control over model selection and inference location. Locally, size for the chosen model, context window, and concurrency, not for the Go proxy alone. With a hosted provider, completion latency and operating cost instead depend in part on network round trips and API usage.

Editor-specific routing settings are a maintenance dependency. The VS Code setup uses debug.overrideProxyUrl, and several editor recipes turn off certificate verification or accept untrusted certificates. Prefer trusted TLS where supported, scope proxy overrides as narrowly as possible, and verify what code context reaches the selected provider. A local runner does not make the whole integration offline: the Neovim and VS Code setups still include GitHub sign-in.

Hardware & Deployment Guide

For local inference, run Ollama, pull codellama:code, and start the proxy. Build or install with a toolchain that satisfies the module's Go version, using go install github.com/bernardo-bruning/ollama-copilot@latest or the repository's install.sh. The script installs to ~/.local/bin/ollama-copilot, offers systemd setup, and can configure Neovim, VS Code, and Zed. OLLAMA_HOST or LLMMAN_HOST can point the proxy at a separately hosted runner; switching to a hosted API shifts inference and its network dependency outside the workstation.

Verify the editor's endpoint before rollout: the direct HTTP listener defaults to :11437, while several editor examples point at the proxy on :11435; the experimental Emacs example instead uses 11434. Check the actual listener and TLS behavior rather than assuming the snippets are interchangeable. v0.3.0, released January 30, 2026, added a proxy domain and addressed both completion 404s and goroutines hanging after completion errors.

Editor integration: A standalone Go proxy reuses Copilot-compatible editor clients; it is not an MCP server or a model runner.
Provider selection: -provider supports Ollama, llmman, OpenRouter, DeepSeek, Mistral, and OpenAI; -model selects the model.
Fill-in-the-middle: -template exposes {{.Prefix}} and {{.Suffix}}; -num-ctx and -num-predict tune context and output length.
Network layout: Separate direct HTTP/HTTPS listeners (:11437/:11436) and HTTP/HTTPS proxy listeners (:11438/:11435), with custom TLS via -cert and -key.
Workstation deployment: install.sh installs to ~/.local/bin/ollama-copilot, offers systemd setup, and can configure Neovim, VS Code, and Zed.
Release maintenance: v0.3.0 added a proxy domain, fixed completion 404s and goroutines hanging on completion errors, and added experimental Emacs configuration.
Best For

Developers or teams that want to keep a Copilot-compatible editor client while choosing where code completion runs, and can validate editor versions, TLS settings, and model behavior.

Skip If

You require a fully offline workflow with no GitHub sign-in dependency, a centrally managed rollout without editor-specific network settings, or a native editor extension that connects directly to the model runner.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Local AICLIAPI
curl -fsSL https://ollama.com/install.sh | sh

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
ollama-copilot ★889+1GoMITA Go proxy for Copilot-style code completions with local or hosted models
open-code-review58.1k+1.2kGoApache-2.0Deterministic review pipelines and LLM agents for line-level code feedback
opencode230.9k+1.3kTypeScriptMITTerminal-first coding agent with separate planning and editing modes
claude-code158k+709TypeScript—A terminal coding agent for navigating codebases, running tasks, and handling Gi

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/bernardo-bruning/ollama-copilot.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

bernardo-bruning/ollama-copilot Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about ollama-copilot

Does this replace the editor extension or eliminate GitHub sign-in?

No. Ollama Copilot is a Go process that runs alongside the editor. The editor's Copilot-compatible client sends completion requests through the proxy, and the proxy delegates generation to the selected backend. The integration uses HTTP/HTTPS endpoints, not an MCP server. For Neovim, complete :Copilot signin before enabling the proxy.

How should I size RAM and VRAM for local completions?

Size the model runner separately from the Go proxy. The runner bears the model-loading and inference costs; memory and responsiveness depend on the selected model, context size, and concurrent requests. Start with a representative editor workload on the intended hardware, then adjust -num-ctx and -num-predict based on completion quality and responsiveness. There is no fixed VRAM requirement for the proxy and backend together.

Can a company self-host or redistribute this proxy?

Yes. MIT permits commercial use, modification, and redistribution of the proxy, provided the required copyright and license notices are retained when distributing copies or substantial portions. Separately review the terms for model weights, editor extensions, and hosted APIs. A local inference backend keeps the generation request on that backend, but it does not by itself establish that the editor or extension makes no external requests.

How does it compare with an Ollama-native extension or hosted Copilot?

Choose the proxy if keeping the existing Copilot-compatible editor client is important and you can maintain the routing and TLS configuration. An extension with native Ollama support avoids the Copilot endpoint emulation and its associated compatibility risks. Hosted Copilot avoids running a proxy and model runner but gives you less control over where inference happens and which model serves it.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining bernardo-bruning/ollama-copilot? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature bernardo-bruning/ollama-copilot on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare