techgaun / active-forks

Find active github forks of a repo https://git.io/vSnrC
https://techgaun.github.io/active-forks/index.html
2.29k stars 299 forks source link

use graphql to request repo & fork info #22

Open techgaun opened 5 years ago

techgaun commented 5 years ago

This does not work yet. Also, github graphql requires oauth token right now so not really interested in getting this in until github probably provides read-only access without token

milahu commented 4 years ago

graphQL can also get fork commits, see here

so we can get ahead/behind status of forks with just one query and even more fancy stuff like plotting a commit graph

This does not work yet.

i even got variables and pagination to work ^^ included suggestions for oauth, fetch-retry, graphql-client

github graphql requires oauth token right now so not really interested in getting this in until github probably provides read-only access without token

poor excuse : P the benefits of graphql are well worth the "sign in with github" click we can still offer a "light version" without login

related projects:

github has its own network graph in the repo-insights menu

gitgraph.js can render commit graphs in html + svg has support for different graph styles

graphql rover is a graphQL schema browser, rendering to canvas/webGL

a study on: Commit graph drawing algorithms

SO/pretty-git-branch-graphs has a huge list of commit graphs and SO/visualizing-branch-topology-in-git has even more its hard to choose only one graph style, so ideally provide a variety of styles

toddsifleet.com/projects/github-forks is another github fork browser, also with d3.js visuals [found here]

hbt/git-forks-analysis is a git fork analyzer, only html