OpenGrok vs Zoekt
OpenGrok
oracle.github.ioZoekt
github.comSide by side
| Figure | OpenGrok | Zoekt |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | Yes |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Code Search Tools | 7.8 (#11) | 7.2 (#25) |
| API | The web application provides a REST API under `/api/v1/`. | The webserver can expose a JSON search API and a gRPC API for structured queries and streaming search results. |
| Purpose | OpenGrok is a Java source code search and cross-reference engine for searching, cross-referencing, and navigating source trees. | Zoekt is a text search engine intended for source code. |
| Security | OpenGrok provides a granular authorization framework, while authentication is handled by the application server or a reverse proxy. | The design document describes a public-facing deployment using HTTPS without authentication and identifies repository credentials, TLS certificates, and query logs as sensitive data. |
Plans
In their own words
OpenGrok
OpenGrok is a Java source code search and cross-reference engine for searching and navigating source trees. It searches full text, definitions, symbols, paths and revision history, with subtree searches, wildcards and date-range filters. Its read-only web interface provides syntax-highlighted cross-references, file and directory history, and revision diffs. Supported revision control systems include Git, Mercurial, Subversion, CVS, Perforce, ClearCase, Bazaar, Monotone, Razor, RCS, SCCS, Teamware and AccuRev. Plugins can add support for programming languages or revision control systems. The web application provides a REST API under `/api/v1/` and a granular authorization framework; authentication is handled by the application server or a reverse proxy. Setup requires creating an index and deploying the web application. The guide lists Java 21 through 25, Universal Ctags and a servlet container such as Tomcat 10.x. OpenGrok is free and open source under the CDDL license, and is maintained by volunteers. Support and project requests go through discussions, mailing lists and GitHub Issues.