GitHub Code Search Alternatives

Comments criticize GitHub's code search limitations and heavily recommend alternatives like SourceGraph for searching code across public repositories.

📉 Falling 0.3x Open Source
3,571
Comments
20
Years Active
5
Top Authors
#307
Topic ID

Activity Over Time

2007
2
2008
3
2009
19
2010
24
2011
94
2012
108
2013
127
2014
152
2015
155
2016
241
2017
183
2018
235
2019
144
2020
360
2021
333
2022
347
2023
463
2024
295
2025
262
2026
24

Keywords

e.g candidate.code SafeSandboxedEvaluatorFactoryFactory github.blog SSH IDE UI You.com options.py CE search github code repo ce code bases regex candidate query def

Sample Comments

mapleoin Oct 14, 2011 View on HN

Well github's code search is a pretty good replacement, although it's limited to github.

tshanmu Jun 12, 2024 View on HN

Why would I use this instead of github code search, which appears to be quite comprehensive?

solarkraft Feb 6, 2023 View on HN

Damn, it's about time, the current search sucks. What I have found to work very well is SourceGraph; they offer search for public repos. Maybe this'll be an alternative to it.

anshukla Aug 6, 2015 View on HN

Depending on what you're trying to search for, maybe something intelligent like Sourcegraph would work?

beyang Nov 11, 2022 View on HN

Would Sourcegraph satisfy this use case? https://sourcegraph.com/search

foota Nov 29, 2023 View on HN

Github's codesearch leaves something to be desired.

yesimahuman Jan 26, 2011 View on HN

Hey thanks! I wish github had search through code bases!

speedgoose Apr 29, 2023 View on HN

SourceGraph is great to search in many repos.

mtmail Dec 12, 2014 View on HN

you mean something like https://searchcode.com/ ?

latenightcoding Feb 23, 2020 View on HN

github's code search is notoriously bad, feels like a huge missed opportunity. Nice to see you guys reaching out to other people working in this area.