Search your code using Sourcegraph
October 5, 2023
Recently I have figured out how to handle link rot problem using Recoll. Of course you can use it for code searching, but we can do better.
Another method for searching code is using Github, if you don’t mind it’s online. Searching your own code is also easy with syntax user:<username>
. However I want to be faster.
Years ago I tried Sourcegraph. I do not remember why I gave up. Maybe it’s because I was not familiar with Docker. Now I am using Docker everyday, actuaaly docker-compose
, so I decided to give it another try. After finishing writing the previous sentence, I remembered that months ago sourcegraph cloud can host your own code, so I gave up self-hosting.