OpenGrok
OpenGrok is a source code search and cross-reference engine. It helps programmers to search, cross-reference, and navigate source code trees to aid code comprehension.
![]() | |
Developer(s) | Sun Microsystems/Oracle Corporation |
---|---|
Stable release | 1.12.14[1]
/ 22 August 2023 |
Repository | |
Written in | Java |
Operating system | Cross-platform |
Type | Indexer and cross-referencer with Revision control |
License | CDDL |
Website | oracle![]() |
It can understand various program file formats and version control histories such as Monotone, SCCS, RCS, CVS, Subversion, Mercurial, Git, Clearcase, Perforce, and Bazaar.[2]
The name comes from the term grok, a computing jargon term meaning 'intuitive understanding.'
OpenGrok is being developed mainly by the community with the help of a few engineers from Oracle Corporation (which absorbed Sun Microsystems). OpenGrok is released under the terms of the Common Development and Distribution License (CDDL).
It is mainly written in Java, with some tooling done in Python. It relies on the analysis done by Ctags. There is an official Docker image available.
Features
OpenGrok supports:
- Full text Search
- Definition Search
- Identifier Search
- Path search
- History Search
- Shows matching lines
- Hierarchical Search
- query syntax like AND, OR, field:
- Incremental update
- Syntax highlighting cross references (Xref)
- Quick navigation inside the file
- Interface for SCM
- Usable URLs
- Individual file download
- Changes at directory level
- Multi language support
- Suggester
- RESTful API
See also
References
- "Release 1.12.14". 22 August 2023. Retrieved 18 September 2023.
- "Supported Revision Control Systems · oracle/Opengrok Wiki". GitHub.
External links