A graphical view of the relationships between github users.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
src/main/scala
.gitignore
build.sbt
readme.md
userinfo.ini.example

readme.md

Scala-Github-Relationship

A graphical view of the relationships between github users.

Environment

  • SBT 0.13.8
  • Java 1.6 or higher
  • Scala 2.11

Usage

First, the tool needs a account to get the higher rate limit in using Github API, so new a file named userinfo.ini, and the content of the file is the same as userinfo.ini.example. Then,

./bin/run.sh `login-name`

or

sbt "run-main Main `login-name`"

login name here is the username, not the email or else. For example

In the picture, the login name of the user is gaocegege.

PS: when run the command for the first time, it will takes some time to download the libraries.

Output

Finally, you will get the headless_simple.png & headless_simple.svg

The node in the graph represents a user, and a edge from A to B means A follows B. The color of the node depends on the degree, and the size of the node depends on the PageRank score.

Q & A

  • Why don't I use actor model to speed up the program?

If I use it, the github API will return Abuse rate limit, so.