Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gaocegege/scala-github-relationship

A graphical view of the relationships between github users.
https://github.com/gaocegege/scala-github-relationship

github scala social-network-analysis spider

Last synced: 15 days ago
JSON representation

A graphical view of the relationships between github users.

Awesome Lists containing this project

README

        

# 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](https://developer.github.com/v3/#abuse-rate-limits), so.