mozsearch VS zoekt

Compare mozsearch vs zoekt and see what are their differences.

mozsearch

Mozilla code search website. (Please file bugs in bugzilla at https://mzl.la/2YtXmoN) (by mozsearch)

zoekt

Fast trigram based code search (by sourcegraph)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
mozsearch zoekt
17 4
234 501
0.9% 15.0%
8.9 9.1
2 days ago 4 days ago
Rust Go
Mozilla Public License 2.0 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.

mozsearch

Posts with mentions or reviews of mozsearch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-10.
  • Firefox tooltip bug fixed after 22 years
    4 projects | news.ycombinator.com | 10 Oct 2023
    - code browsing is primitive compared to https://searchfox.org/ (but most code browsing tool are, in comparison)

    - my notifications are completely flooded by lots of useless information on GitHub, but that might be fixable

    - our CI system (treeherder/taskcluster) scales, works on Linux/Mac/windows/Android and a bunch of version and arch, integrated with all of the other tools mentioned. Things such as auto-running tests based on the content of the patch, automatic categorization and prioritization of intermittent test failures, or auto-recording test failures and offering a pernosco recording showing the issue are just some of the features that we use daily without even thinking

  • Why SQLite Does Not Use Git
    13 projects | news.ycombinator.com | 22 Jul 2023
    All the time. I would say at least 50% of my code browsing is done from my phone. I make heavily use of the mobile GitHub web interface for this (find-references support has been a godsend, search is still meh, I hate how they keep breaking basic find-in-page with SPA jank). Also Searchfox [0] when I need to comb through Firefox code (fast, excellent, no complaints).

    Context: grad student, programming languages and systems research plus a bunch of IoT hacking on my own time. Either elder Gen Z or youngest possible Millennial, depending where you put the cutoff.

    [0] https://searchfox.org

  • Sourcegraph is no longer Open Source
    26 projects | news.ycombinator.com | 4 Jul 2023
    [4] is not really a usable 'product'. Livegrep (https://github.com/livegrep/livegrep) was inspired by it and is very usable.

    [3] used to be a Google open source project as well, but it fell out of maintenance, and Sourcegraph took it over. It powers most of the basic regex/literal search in Sourcegraph.

    Mozilla's code is searchable in Searchfox (https://searchfox.org/) which uses the indexer from Livegrep, combined with their own Git indexer and language-specific cross reference databases.

    OpenGrok (https://github.com/oracle/opengrok) is also rather well known, but I have found it to have a slightly worse UI than alternatives.

  • Firefox 113.x quietly adds new Linux system requirements
    1 project | /r/firefox | 4 Jun 2023
    Try using Searchfox to find references to those libraries. When you open a result, hover your mouse over the left column to see what commit added each line.
  • Fetch API Implementation source
    1 project | /r/firefox | 24 May 2023
  • How to find the name of elements for firefox css
    1 project | /r/FirefoxCSS | 8 Apr 2023
    You might want to lokk at this, and this, and this .
  • What environment variables does Firefox need on Linux?
    1 project | /r/firefox | 18 Mar 2023
  • Does this CSS rule crash anyone else's firefox?
    1 project | /r/FirefoxCSS | 22 Nov 2022
    Layout is hella broken, obviously, but it doesn't crash. You can do a search for progresschunck at https://searchfox.org to find what it means.
  • Swipe to navigate arrow indicator
    1 project | /r/FirefoxCSS | 6 Oct 2022
    https://searchfox.org/ should be you go-to tool to search Firefox code-base.
  • How to apply some css changes only to one (firefox's dark) theme?
    1 project | /r/FirefoxCSS | 24 Jul 2022
    Also, you can use browser toolbox to inspect Firefox UI and see what styles are being applied to it and to figure out what selectors to use. Of course, there is also https://searchfox.org/ for when you need to figure out exactly how Firefox is doing some feature x.

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 2023-11-21.
  • 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 mozsearch and zoekt you can also consider the following projects:

opengrok - OpenGrok is a fast and usable source code search and cross reference engine, written in Java

livegrep - Interactively grep source code. Source for http://livegrep.com/

hoogle - Haskell API search engine

cody - AI that knows your entire codebase

sourcegraph - Code AI platform with Code Search & Cody

git-peek - git repo to local editor instantly

chrono - Date and time library for Rust

hound - Lightning fast code searching made easy

codesearch - Fast, indexed regexp search over large file trees

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

dcs - Debian Code Search (codesearch.debian.net) is a search engine that searches through all the 130 GB of open source software that is included in Debian. Supports regular expressions!