The following graph shows my followers and my repositories watchers:
- Click on user/repository to show followers/watchers
- Control + Click to open the user/repository in new window.
Recently, I got a few followers and some watchers of repositories. That's why I wanted to see how and what they follow and watch. The graph uses D3.js' Force-Directed Graph. I can't find an icon for repository, GitHub doesn't provide one in returned data since you don't have repository logo option in the first place. I use Git logo as the representation, that actually makes much sense.
This is my first time to use D3.js if I recall correctly, so this graph isn't perfect. Feel free to point out and give advises. Since such graph requires CPU to process for animation, so the script only retrieve first page of data, some may not be graphed for this reason. GitHub allows 5,000 requests per hour, that should be enough for many queries. For my username, it uses around 25 calls, mainly for repository's watchers list.
I am sure many of you have more followers/watchers a.k.a. CPU-resource-sucker, don't be hesitating to post a screenshot in comment (Disqus supports image upload, so use it), or just drop your GitHub username.
Interesting idea, awesome animation.
ReplyDeleteId also like to see *my* watched repos, because I know no way on GitHub to do this.
ReplyDeleteDo you mean watchers (subscribers) of your repositories like this API or repositories being watched by you?
ReplyDeleteI cant find any way to see either on GitHub. I probably can make another page to use API to list those. But it seems API call limit has been changed, not really sure, I just reached the limit with only two or three graphs in this page.
We limit requests to 60 per hour for unauthenticated requests.
A non-web script might be a better option. There might already be one somewhere on the Internet.
Why isnt this built-in to Github? This would be very useful to have!
ReplyDeleteShoot em an email, but I doubt they would accept it. If I were them, I wouldnt, its a fun graph, but not so much of usefulness in my opinion.
ReplyDelete