Oh I got it. There is multiple reason that can happen and I called those are Ghosts accounts. There is high chance if you request to GitHub they will grant use it.
> those are Ghost accounts… high chance if you request to GitHub they will grant use
From sibling comment:
wheybags 0 minutes ago | root | parent | next [–]
My username is wheybags on github, I actively use the account,
both public and private repos, and it shows as available on your site.
This doesn’t sound like a ghost account.
More to the point, I’m reasonably aggressive about registering my preferred nick, and your site thinks it is available where it is definitely in use by me.
GitHub shows available, it is not.
Based on what comes up as green vs. red when I test your site, it occurs to me you may be failing to detect the difference between public and private preference settings. For instance, if someone turned off public search preference, or public graph.
Chiming in here — not sure about this. I checked for a name that showed as "available" on the link above. I requested the owner of that Github handle a year ago if they were willing to release it to me, as they have zero public repos on there. Long story short, they didn't.
No chance that Github will take the handle off them and give it to us too.
My point is, this is definitely a bug, since the above account is not a ghost account.
I'm not sure that's correct. My account is very definitely active on GitHub, but you're showing it as available.
https://api.github.com/users/myname shows myname as being active. The "updated_at" field shows 2021-11-16. Unless you're counting a 4-month break as being a "ghost account," there's some error.
----
Edit: And, in case you are counting a 4-month break as a "ghost," I looked up the most prolific GitHub user (according to some list), fabpot, and your site is also showing his name as available.
My account is definitely not inactive (I've done multiple pushes to it yesterday and today) and the API you're using confirms I'm active yet it still shows as available on your site. So there's definitely a bug in your code somewhere.
Aside from that though, this is a neat idea. If you can iron out the kinks you should be on to a really good platform here.
https://api.github.com/users/yournamehere
Tell me the above one is working for you or not?