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.

Find out how many users/repos Github has by a simple search

41 pointsby vashishthajogiover 11 years ago

12 comments

wldlyinaccurateover 11 years ago
It seems to work with @{any letter}. Can anybody explain to me how GitHub is interpreting this search term?
评论 #6533537 未加载
评论 #6532615 未加载
petercooperover 11 years ago
Sorting by &quot;Least recently joined&quot; is interesting. The GitHub team are all there, naturally, but I&#x27;m intrigued what &quot;tater&quot; is about. Yehuda Katz is famously user ID 4 but tater shows up as user 611789 through the API.<p>Other than that, the first 10 pages or so are a real who&#x27;s who of the Ruby scene in 2007-2008 :-)
评论 #6532195 未加载
评论 #6532973 未加载
评论 #6532010 未加载
pearjuiceover 11 years ago
So how does this work? From the search its cheat sheet:<p>&quot;@defunkt Get all repositories from the user defunkt.&quot;<p>Seeing as there _is_ a user called &quot;a: (<a href="http://github.com/a" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;a</a>) but he doesn&#x27;t have a single line of code, no repositories and no active issues either; the search breaks somehow and returns the repository, issue and code (LOC?) count of ALL people.<p>For example trying it with &quot;@b&quot; (or any existing user after the at-sign) does yield the correct results (the respective counts for user b: <a href="http://github.com/b" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;b</a>). Trying it with someone with no repositories, code and issues OR a user which does not exist (@thisuserdoesnotexist) results in the same behavior.
评论 #6533441 未加载
weavieover 11 years ago
Wow. Its good to see Linus takes the occasional day off : <a href="https://github.com/torvalds" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;torvalds</a>
评论 #6532099 未加载
lolwutfover 11 years ago
In case this gets broken anytime soon, I see:<p>Repositories: 4,236,263<p>Code: 962,748,183<p>Issues: 5,952,195<p>Users: 4,472,663
评论 #6532068 未加载
pstadlerover 11 years ago
This seems to be valid compared to numbers released in April 2013 [1]. GitHub is growing fast.<p>[1] <a href="https://github.com/blog/1470-five-years" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;blog&#x2F;1470-five-years</a>
rohanjonover 11 years ago
This query is incorrect, because it doesn&#x27;t include private repos and forks. The headlines on this page <a href="https://github.com/search" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;search</a> are accurate. As of this comment.<p>Search more than 4.3M Users<p>Search more than 8.8M Repositories<p>Search more than 18.7M Issues
ak47surveover 11 years ago
BTW <a href="https://github.com/search?q=%40y&amp;type=Users&amp;ref=searchresults" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;search?q=%40y&amp;type=Users&amp;ref=searchresult...</a> i.e. &#x27;@y&#x27; also gives similar results :)
a_chungover 11 years ago
Assume this is going to disappear once they wake up in the US...
joshribakoffover 11 years ago
If I search &quot;@z&quot; I get 13 repos. So why exactly do you think that searching &quot;@a&quot; is yielding all repos?
misterdaiover 11 years ago
You could also get away with a search for created:&gt;2007 Not really sure what the &quot;@&quot; is doing.
roryoldershawover 11 years ago
So now you could scrape the name of every GitHub user and their email if it is public.
评论 #6532972 未加载
评论 #6532166 未加载
评论 #6532353 未加载