OpenGrok icon

OpenGrok

OpenGrok is an open-source, self-hosted code search and cross-reference engine. It indexes large mono-repos or many projects and provides fast full-text, definition/identifier, path, and history search via a web UI and REST API. It integrates with Universal Ctags for language-aware cross-references and understands history from many SCMs (Git, Mercurial, Subversion, Perforce, ClearCase, and more). Deploy it as a Java webapp (WAR) on Tomcat/GlassFish, point it at your source roots, and use the indexer to keep results fresh with incremental updates. Features include syntax-highlighted browsing with x-refs, per-project configuration, a type-ahead suggester, blame/annotate views, downloadable files, and Docker-based setups for quick starts. Licensed under CDDL and actively maintained by Oracle and the community.

No discussions yet

Be the first to start a discussion about OpenGrok

Demo Video for OpenGrok

Developer

Oracle stewards and contributes to a wide range of open-source projects. OpenGrok is developed in the open with community maintainers.

Pricing and Plans

PlanPriceFeatures
Open Source (CDDL)Free
  • Full feature set under CDDL license
  • Self-hosted deployment
  • Community support via GitHub Discussions/Issues

System Requirements

Operating System
WINDOWS, MACOS, LINUX
Memory (RAM)
8 GB+ JVM heap recommended for indexer; allocate more for the webapp on large codebases
Processor
64-bit CPU, 4+ cores recommended for parallel indexing
Disk Space
Varies with codebase; allow space for sources plus multi-GB indexes