5 ms·
Since people seem confused... I didn't make this, I saw it on Twitter and posted it. I think this is what it does: - gets list of stargazers (starring users)
by polm23 6y ago
Since people seem confused...
I didn't make this, I saw it on Twitter and posted it.
I think this is what it does:
- gets list of stargazers (starring users) from Github
- checks user's profile for Location
- uses geolocation via Mapbox
- renders map with Mapbox
A lot of this happens in your browser, so if the repo has many stars they may load progressively. On the other hand I haven't seen it error out.
The Mapbox geolocation API has some quirks - it seems it always returns coordinates for a location, even if it's a random string, so you get things like "somewhere else before" being in the Phillipines, or "Okinawa, Japan" being in Florida. (I guess that has to be some weird US base thing, but still...)
There is definitely some weird JS on the input box, but I am able to type "-" without issue.
- Koshkin 6y agoWhat we desperately need now is a map of people who clicked on the link.