Response from Martin Woodward, GitHub’s VP of Developer Relations:

Sorry for the inconvenience @koepnick - while searching across all repos has required being logged in for a long time, when we enhanced the search capabilities earlier in the 2023 we had to extend this to repos as well (see https://github.blog/changelog/2023-06-07-code-search-now-requires-login/).

This is primarily to ensure we can support the load for developers on GitHub and help protect the servers from being overwhelmed by anonymous requests from bots etc.

  • i_am_not_a_robot
    link
    fedilink
    English
    arrow-up
    8
    ·
    7 months ago

    They’re not walling off any code. They’re restricting use of their server-side search resources. Other repository hosting services don’t have code search at all.