GitHub's markup and CSS keep changing, and it's not worth it to me to keep this updated, since that means constantly patching deps. Sorry, folks.
This is a little command-line utility to scrape Github for useful things!
It's essentially just a wrapper around this.
npm i -g scrapegh.
scrapegh usernamescrapegh username reposscrapegh username followersscrapegh username followingscrapegh username starredscrapegh username reponame
You can see the above with
It'll give you what you've asked for, in nice, pretty JSON.
Try it with jq:
scrapegh zacanger following | jq .
Or with ccat:
scrapegh r-walsh | ccat.
Or with prettyjson:
scrapegh geordyn repos | prettyjson
Or just on its own:
scrapegh pharaoh-js pharaoh
github-scraper's functionality in this tool.