Re:Show HN: Sourcebot, an open-source Sourcegraph alternative
by jmakov on Tuesday October 01, 2024 @02:30PM
(#41712278)
Can somebody share the use case of this? Why not just use your IDE?
[ Parent
| on HN ]
Re:Show HN: Sourcebot, an open-source Sourcegraph alternative
by eptcyka on Tuesday October 01, 2024 @04:04PM
(#41713488)
I cannot run Xcode on Linux, I cannot run Visual Studio on Linux, I might not have an IDE set up for the language that I want to inspect. Many reasons.
Also, some languages practically require arbitrary code execution to make a build, which I'd much prefer to shove into an isolated VM.
Re:Show HN: Sourcebot, an open-source Sourcegraph alternative
by bshzzle on Tuesday October 01, 2024 @02:37PM
(#41712403)
yea it's a fair question - an IDE is often more convenient when you have the code checked-out locally. This becomes a pain when you work in a organization with potentially hundreds of repositories that you need to search across (e.g., a org stores their 100+ microservices in separate repos, and you need to find all places where they make a request to your service).
Re:Show HN: Sourcebot, an open-source Sourcegraph alternative
by Hackbraten on Wednesday October 02, 2024 @02:54AM
(#41717892)
I use ghorg in tandem with ripgrep to address that problem. The former is for checking out the main branches of all repositories, the latter to perform the actual search.
Re:Show HN: Sourcebot, an open-source Sourcegraph alternative
by metadaemon on Tuesday October 01, 2024 @03:25PM
(#41713066)
Finding examples of how others implement similar logic is my biggest use case for code searching, but since GitHub copied SourceGraph, I don't have much of a need for these self-hosted solutions.
Re:Show HN: Sourcebot, an open-source Sourcegraph alternative
by rafaelgoncalves on Wednesday October 02, 2024 @01:59PM
(#41723344)
yeah, github has a nice search now, the only complaint is that you need to be logged on to use, besides this is really nice.