Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.

michaelhealy/github-graph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script to create a visualisation for a graph of Github repositories.

For a set of root repositories, the script discovers other associated projects by looking at each user who has starred the repo and then loading all other repos that user also starred. The resulting graph is weighted by the number of starring users in common.

NetworkX is used to create both a static image and an interative version with D3.

To Run

python github-graph.py --github-token xxx --plot-file testrepo.png --json-file testrepo.json github/testrepo
display testrepo.png

python -m SimpleHTTPServer &
open 'http://localhost:8000/index.html?d=testrepo.json'

Output

Example for ionic:

ionic graph

Try the interactive version at index.html.

About

Script to create a visualisation for a graph of Github repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 61.4%
  • HTML 38.6%