Hacker News new | past | comments | ask | show | jobs | submit login
Searching in source code on GitHub requires login (github.com/search)
3 points by oever on Sept 6, 2021 | hide | past | favorite | 4 comments



I doesn't need a login from me. Would be pretty bad if they would, no love for instagithub.


When doing the search, the number of results for code is not listed. Instead a '?' is shown. The submission removed the url parameters. Here's a full example:

   https://github.com/search?q=boilingfrog&type=code
Perhaps the behavior depends on the user IP address.

    $ curl 'https://github.com/search?q=boilingfrog&type=code'
    <html><body>You are being <a href="https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsearch%3Fq%3Dboilingfrog%26type%3Dcode">redirected</a>.</body></html>


> https://github.com/search?q=boilingfrog&type=code

Visiting this link sends me to the log-in page.


Ah, indeed.

https://github.com/search?q=boilingfrog&ref=simplesearch nets results, but you are correct when we talk about code search.

Damn, this is moving backwards again... fitting search term. People should start to host their projects on alternative sites.




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

Search: