Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

GitHub's code search functionality is only available to people who are logged in.

It used to be possible to perform global/multi-org/multi-repo/single-repo code searches without being logged in but over time they removed all code search functionality for people who are not logged in.

It is completely stupid that it's not possible for a non-logged-in person to code search even within a single repo[0].

It is textbook enshittification by a company with an monumental amount of leverage over developers.

(The process will presumably continue until the day when being logged in is required to even view code from the myriad Free and Open Source projects who find themselves trapped there.)

[0] Which is why I, somewhat begrudgingly[1], use Sourcegraph for my non-local code search needs these days.

[1] Primarily because Sourcegraph are susceptible to the same forces that lead to enshittification but given they also have less leverage I've left that as a problem for future me to worry about. (But also the site is quite "heavy" for when one just wants to do a "quick" search in a single repo...)



You make it sound as if being logged in to github is somehow a big hurdle. It's free and it's easy, so why should one care if it's only available to logged in users?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: