TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Sourcegraph Server 2.4: free, powerful search for private code

188 pointsby azmenakover 7 years ago

10 comments

hanwennover 7 years ago
For people interested in searching code using an open source solution, you might be interested in Zoekt too, github.com&#x2F;google&#x2F;zoekt.<p>There is a demo site where you can search 30G of source code (including the Linux kernel, Android and Chrome) supporting regular expressions, and file name search:<p><a href="https:&#x2F;&#x2F;cs.bazel.build&#x2F;?q=%20" rel="nofollow">https:&#x2F;&#x2F;cs.bazel.build&#x2F;?q=%20</a><p>For example, <a href="https:&#x2F;&#x2F;cs.bazel.build&#x2F;search?q=+r%3Atorvalds+craz%5Byi%5D&amp;num=50" rel="nofollow">https:&#x2F;&#x2F;cs.bazel.build&#x2F;search?q=+r%3Atorvalds+craz%5Byi%5D&amp;n...</a> looks for craz[iy] across the Linux kernel.
评论 #16124291 未加载
sqsover 7 years ago
Sourcegraph CEO here. Thanks for this post. We packed a lot of stuff into 2.4: faster, more powerful code search, Google Alerts-style search monitoring, diff searches, and more.<p>It’s now free on a single server for any number of users and repositories.<p>Happy to answer questions here.
评论 #16122134 未加载
评论 #16124304 未加载
评论 #16122341 未加载
评论 #16120338 未加载
评论 #16123295 未加载
评论 #16120250 未加载
评论 #16121182 未加载
评论 #16121884 未加载
评论 #16123742 未加载
评论 #16121418 未加载
评论 #16120123 未加载
评论 #16121375 未加载
评论 #16123068 未加载
mikevmover 7 years ago
How does this differ from OpenGrok <a href="https:&#x2F;&#x2F;oracle.github.io&#x2F;opengrok&#x2F;" rel="nofollow">https:&#x2F;&#x2F;oracle.github.io&#x2F;opengrok&#x2F;</a> ?
评论 #16128943 未加载
评论 #16127248 未加载
评论 #16123245 未加载
exikyutover 7 years ago
I couldn&#x27;t help but notice some interesting items get cloned in the onboarding GIF (which was 16MB, yikes)<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph-classic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph-classic</a><p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph-archive-private-20160601" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph-archive-private-2...</a><p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;infrastructure" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;infrastructure</a><p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph</a><p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;definfo-prototype" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;definfo-prototype</a><p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph-desktop" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph-desktop</a><p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph-emacs-beta" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph-emacs-beta</a><p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;splunk-promethus-alerts" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;splunk-promethus-alerts</a><p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;ZARCHIVED-corporate" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;ZARCHIVED-corporate</a><p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;css-langserver" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;css-langserver</a><p>Listed as they showed up in the GIF. That was fun!
the_common_manover 7 years ago
Very cool, will give it a try later for our gitlab repos. Is gitlab supported?<p>Also, I cannot find the code for sourcegraph on github. It used to be available under a fair source license. Anyone have a link to the code?
评论 #16120320 未加载
ausjkeover 7 years ago
does it support gitea? gitea has become my sole self-hosted git repository portal, lightweight comparing to gitlab and get the job done super well.
评论 #16122132 未加载
tomalphaover 7 years ago
Do you have any plans to add more languages to code intelligence? (Particularly C and C++)
orsenthilover 7 years ago
Why should we use this instead of the github search (for our private repos) ?
评论 #16120313 未加载
评论 #16120841 未加载
评论 #16120358 未加载
评论 #16121101 未加载
评论 #16120309 未加载
hetohover 7 years ago
What is the License for the free install ? MIT&#x2F;BSD&#x2F;Apache ?
评论 #16120700 未加载
评论 #16120790 未加载
alkonautover 7 years ago
Which version control systems are supported?