6 ms·
If anyone's looking for an open-source search tool for grepping across repos (or even one large repo) at insane speed, I highly recommend livegrep: https://git
by rattray 3y ago
If anyone's looking for an open-source search tool for grepping across repos (or even one large repo) at insane speed, I highly recommend livegrep:
https://github.com/livegrep/livegrep https://github.com/livegrep/livegrep
Demo at https://livegrep.com/search/linux https://livegrep.com/search/linux
We used it at Stripe and it was quite popular; often, searching even a single repo was faster on livegrep than with ripgrep locally.
A post reviewing it: https://www.alexdebrie.com/posts/faster-code-search-livegrep/ https://www.alexdebrie.com/posts/faster-code-search-livegrep...
A post by its creator, nelhage, on its impact: https://blog.nelhage.com/post/reflections-on-performance/ https://blog.nelhage.com/post/reflections-on-performance/ and another on its architecture: https://blog.nelhage.com/2015/02/regular-expression-search-with-suffix-arrays/ https://blog.nelhage.com/2015/02/regular-expression-search-w...
- synergy20 3y agohttps://oracle.github.io/opengrok/ https://oracle.github.io/opengrok/ is open source and very good at huge source base, e.g. for the whole android and linux kernel together, fast and useful.
- smarx007 3y agoAny guides on deploying it, preferably with ready-made Dockerfile and docker-compose.yml files? I looked into it a while ago and all I found was quite outdated.
- synergy20 3y agoit took me about one hour in the past to install it, no docker though, not really that difficult and I feel it's really worthwhile once it starts to run.
- mynonameaccount 3y agotoo bad it is associated with Oracle
- smarx007 3y agoI don’t think it’s fair. It’s a Sun tool that Oracle inherited and never made an attempt to monetize.
- mst 3y agoAnd as multiple previous sequences of events have made clear, attempting to apply obnoxious monetisation strategies to a Sun-inherited project with a substantial userbase tends to mostly be a really good way to get it forked out from under you.
- smarx007 3y agoGoodbye Hudson, hello Jenkins!
- kjs3 3y agonever made an attempt to monetize Yet.
- boyter 3y agoI'll add something I have been working on https://github.com/boyter/cs https://github.com/boyter/cs which is aimed at a smaller scale. It works fine for multiple repositories so long as they aren't too large.
- ryan_lane 3y agolivegrep is... fine. It's literally what it says it is. It's a web version of grep. livegrep is definitely not a replacement for sourcegraph, which actually understands the underlying code, and lets you follow code paths, search for references, etc.