See the top ten most followed GitHub users of every city! This project highlights GitHub usage in Europe. The idea to this project was inspired by codeafrica.org.
The scripts use GitHub API's to search for all GitHub users who have a european country or city listed in their profile. All european cities with a population count above 150.000 are queried (with small exceptions due to errors in the data).
- Download and install the following prerequisites:
- Execute the following code to install php-github-api:
$ php composer.phar install
- Add your username and password (in clear) to
config.php
- Launch
./loadCities.php
to import cities into MongoDB - Launch
./fetchUsers.php
to query GitHub users - Launch
./generateGeoJSON.php
to generate a GeoJSON file
Finally open index.html
in the browser of your choice.