December 4, 2025

Spinach, search, and spicy shade

Fast trigram based code search

Zoekt wins hearts for fast code search as users side‑eye GitHub’s quirks

TLDR: Zoekt is a fast, open-source code search tool that developers praise for speed and simplicity, with web and API options. In the comments, fans slam GitHub’s Code Search and urge Microsoft to improve it, noting Sourcegraph can’t search private repos—making this a real productivity battleground for big codebases.

Zoekt, the open-source code search engine, just rolled in like a caffeine shot for tired developers: fast, simple, and laser-focused on finding the right lines across huge codebases. It can index your projects, run smart queries, and even serve results via a web page or API—pronounced “zooked,” if you’re wondering. The vibe kicked off with the cheeky motto “seek, and ye shall eat spinach,” and the crowd ran with it.

Community energy? Spicy. Creator Han-Wen dropped in with more background, while power users started comparing notes. The loudest take: GitHub Code Search is clunky next to Zoekt-powered sites like cs.android.com and cs.bazel.build. One commenter begged Microsoft to invest, pointing out Sourcegraph can’t search private repos, which leaves GitHub’s tool as the only choice for many teams—cue the “we love Zoekt, but we’re stuck” groans.

Humor flew too: the “spinach” line spawned a whole Popeye energy—strong arms, stronger searches—while others cheered Zoekt’s no-frills speed over corporate glitter. The subtext drama is classic: indie tool beloved for reliability vs. a tech giant that feels sluggish and underloved. For many devs, Zoekt isn’t just faster; it’s the search that actually gets out of your way.

Key Points

  • Zoekt is a fast code search engine for source code supporting substring and regex queries with a rich boolean query language.
  • It uses trigram indexing and syntactic parsing, ranking results with code-aware signals such as symbol matches.
  • The project offers CLI tools for local indexing/search and services (indexserver/webserver) for large-scale, remote repository search.
  • Installation uses the Go toolchain, with Universal ctags recommended to improve symbol-based ranking.
  • The web server provides a web UI, JSON API (with streaming, BM25 scoring, context lines), and a gRPC API for advanced, structured queries.

Hottest takes

"GitHub Code Search has too many quirks" — darkamaul
"Sourcegraph can't search private repositories" — darkamaul
"more background: https://sourcegraph.com/blog/zoekt-creating-internal-tools-at-google" — hanwenn
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.