livegrep VS zoekt

Compare livegrep vs zoekt and see what are their differences.

livegrep

Interactively grep source code. Source for http://livegrep.com/ (by livegrep)

zoekt

Fast trigram based code search (by sourcegraph)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
livegrep zoekt
11 8
2,088 922
1.0% 8.2%
4.6 9.0
4 months ago about 21 hours ago
C++ Go
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

livegrep

Posts with mentions or reviews of livegrep. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-10.

zoekt

Posts with mentions or reviews of zoekt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-10-01.
  • Show HN: Sourcebot, an open-source Sourcegraph alternative
    10 projects | news.ycombinator.com | 1 Oct 2024
    Not the author, but given that this is a relatively small UI wrapper of a zoekt[1] backend, it seems like the risk here is isolated to the upstream Sourcegraph-maintained search dependency. By relatively small, I mean that the total SLOC for UI code in the entire project is around ~3.5k (compared to the backend which is currently 25x the size). Seems difficult to ascribe any enterprise motivations given that and additionally the UI seems very useful as-is even if you had to fork it and build a new community from there.

    [1] https://github.com/sourcegraph/zoekt

  • Build a serverless ACID database with this one neat trick (atomic PutIfAbsent)
    3 projects | news.ycombinator.com | 29 Sep 2024
    I have also been thinking about this:

    https://slatedb.io/ is new and KV on object storage. Maybe helpful.

    There is lots of similar work over ipfs, I have not had the chance to experiment yet, but I'd like to see what a workflow is like with (eg): summa: https://github.com/izihawa/summa

    I tried to implement trigram search on object storage using Zoekt: https://github.com/sourcegraph/zoekt, but I found that common queries load 30-40% of the entire index, so setting it up without some kind of caching strategy felt a little ridiculous.

  • Code Search at Google: The Story of Han-Wen and Zoekt
    2 projects | news.ycombinator.com | 21 Nov 2023
    Russ Cox' trigram approach uses document IDs for the posting list, which makes the index much smaller, but gives less precise (ie. slower) matching. This is mentioned in the design doc at https://github.com/sourcegraph/zoekt/blob/main/doc/design.md....
  • Cody – The AI that knows your entire codebase
    14 projects | news.ycombinator.com | 26 Aug 2023
    https://github.com/sourcegraph/zoekt seems to be doing a fair but of heavy lifting for Cody.
  • Sourcegraph is no longer Open Source
    26 projects | news.ycombinator.com | 4 Jul 2023
    What is a good open-source system for code search if I want to plug 100 or so git repos into it and have it available over the web? GH search is not desirable because it would search too broadly and would not cover repos on Gitlab etc.

    I looked at the Debian code search [1] in the past, but for some reason thought it required a bit too much effort and didn't complete my investigation of it. Though [2] looks pretty approachable.

    Sourcegraph mentioned Zoekt [3], but I am not sure how usable it is. If it was pretty good, why did Sourcegraph OSS exist?

    Finally, from all the discussion how Sourcegraph OSS was very behind in the past few years, I guess there is no serious plan to fork it?

    [1]: https://github.com/Debian/dcs

    [2]: https://github.com/Debian/dcs/blob/main/howto/building.md

    [3]: https://github.com/sourcegraph/zoekt

What are some alternatives?

When comparing livegrep and zoekt you can also consider the following projects:

Glean - System for collecting, deriving and working with facts about source code.

git-peek - git repo to local editor instantly

linguist - Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

lsp-cody - A Client to Connect to the Cody LSP Gateway

PyMISP - Python library using the MISP Rest API

cody - Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured

Did you know that C++ is
the 7th most popular programming language
based on number of references?