codesearch
opengrok
codesearch | opengrok | |
---|---|---|
10 | 11 | |
3,422 | 4,232 | |
- | 2.0% | |
0.0 | 9.0 | |
almost 2 years ago | 11 days ago | |
Go | Java | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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.
codesearch
- Regular Expression Matching with a Trigram Index
- How Google Code Search Worked
-
Ask HN: How do you search large code-base before adding a feature or fixing bug?
Whenever I work on huge codebase (think 1M+), I always reach for Russ Cox's codesearch https://github.com/google/codesearch. It requires indexing the codebase first, which takes 15 minutes or so, but after that searches are instant.
-
Improving GitHub Code Search
There is some older version that's open source, I haven't tried it and I don't know how much of today's code search is based on it.
https://github.com/google/codesearch
-
Facebook open sources Glean, its scalable code search and query engine
There's https://github.com/google/codesearch
-
Is there a reliable way to force google to include a search term as plain text on the result or is there a decent search platform with that feature?
If you want to find exact pieces of syntax then you should use a code search engine like GitHub's, Sourcegraph, or Google's codesearch. On the flip side, these won't be as good as Google for finding general ideas because they're focused more toward the precision of answers rather than giving you things that are related.
-
Postgres regex search over 10,000 GitHub repositories (using only a Macbook)
Check https://github.com/google/codesearch or https://swtch.com/~rsc/regexp/regexp4.html, this is actually possible.
opengrok
- OpenGrok: Fast and usable source code search and cross reference engine
-
Sourcegraph is no longer Open Source
[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.
- Ask HN: What services/apps are you self-hosting?
- Searching a large code base.
-
Improving GitHub Code Search
My job uses https://oracle.github.io/opengrok/ and I'm generally happy with it. It has some problems with special character searches at times but generally does what I want. It's certainly better than code search in our on-prem github instance.
-
Is there a tool that would allow me to query (structured search) a codebase?
I used it a long time ago, but I see this is still around: https://oracle.github.io/opengrok/
-
This one made its way into my English textbook
You've never come across https://github.com/oracle/opengrok for example?
-
Ask HN: What are you using to introspect your code base
[2] https://about.sourcegraph.com/
[3] https://oracle.github.io/opengrok/
[4] https://github.com/hound-search/hound
- On Navigating a Large Codebase
What are some alternatives?
zoekt - Fast trigram based code search
hound - Lightning fast code searching made easy
sourcegraph - Code AI platform with Code Search & Cody
Glean - System for collecting, deriving and working with facts about source code.
mozsearch - Mozilla code search website. (Please file bugs in bugzilla at https://mzl.la/2YtXmoN)
the_silver_searcher - A code-searching tool similar to ack, but faster.
postgres-operator - Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service.
Javet - Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java.
QuestDB - An open source time-series database for fast ingest and SQL queries