Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/gaocegege/scala-github-relationship
- Owner: gaocegege
- Created: 2015-06-15T02:11:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-11T07:57:31.000Z (about 5 years ago)
- Last Synced: 2024-10-03T12:35:34.235Z (about 1 month ago)
- Topics: github, scala, social-network-analysis, spider
- Language: Scala
- Homepage:
- Size: 20.8 MB
- Stars: 38
- Watchers: 4
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
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`
orsbt "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.