← all repositories
hieunc229/copilot-clone

Copilot without the AI: it scrapes StackOverflow instead

A VSCode extension that replaces neural nets with Google search and copy-paste from StackOverflow and GitHub Gists.

1.8k stars TypeScript Coding Assistants
copilot-clone
Velocity · 7d
+1.0
★ / day
Trend
steady
star history

What it does

Captain Stack is a VSCode extension that autocompletes code by querying Google, then pulling answers from StackOverflow and GitHub Gists. You type // find binary search in JavaScript. (note the mandatory period) and it drops search results straight into your editor. It now also supports OpenAI and OpenRouter for actual AI generation, but only if you bring your own API key.

The interesting bit

The original hook was deliberately low-tech: no model training, no GPU, just web scraping and regex hope. It’s a kind of mechanical Turk for Copilot — the intelligence is crowdsourced, the latency is whatever Google returns. The recent AI additions feel like an admission that raw search has limits, but the BYO-key setup keeps it cheap and avoids the subscription tax.

Key highlights

  • Trigger via // find or // generate with a trailing dot — both do the same thing
  • Toggle providers individually: GitHub Gist, StackOverflow, OpenAI, OpenRouter
  • Configurable max results for search, temperature and output count for AI mode
  • OpenRouter requests are hardcoded with X-Title and HTTP-Referer set to GasbyAI (the author’s other project)
  • ~1,800 stars, available on VSCode Marketplace

Caveats

  • The README doesn’t explain how it handles code quality, licensing, or attribution from scraped sources
  • OpenRouter model list links to OpenAI’s docs, which seems like a copy-paste error
  • No mention of rate limits, caching, or what happens when Google changes its HTML

Verdict

Worth a spin if you want Copilot-like autocomplete without monthly fees and don’t mind the occasional StackOverflow special. Skip it if you need guaranteed correctness, privacy guarantees, or work in an environment where copy-pasted code needs clear provenance.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.