Skip to content

Small ruby scripts to obtain graphs of GitHub user's follower relation

Notifications You must be signed in to change notification settings

efi/github-followergraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Followergraph

Small ruby scripts to obtain graphs of GitHub user's follower relation

Usage:

ruby discovery.rb 0123456789abcdef0123456789abcdef01234567

where 0123456789abcdef0123456789abcdef01234567 is your personal access token, which you can get from here: https://github.com/settings/applications and which should cover the required permissions.

Calling discovery.rb will create two directories with json files containing followers and "followees"(?) of a certain github handle (the handle is in the file name).

ruby graphbuilder.rb

will create two files in GEXF File Format that contain all the users and their connections which it can find in the abovementioned two json-file-filled directories.

You will need to have Bundler installed and run bundle (recommended) or you will have to replace

require 'bundler'
Bundler.require

with

require 'json'

after manually installing this gem (why would you want to?!!)

Fair License

© 2015, Thomas Efer

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.

About

Small ruby scripts to obtain graphs of GitHub user's follower relation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages