GitHub Stats is a side project which motivation was to learn how to use the req package by Mark Karpov. It implements a command line utility to make it easier to use.
To get simple stats from any GitHub organization you should run:
$ stack exec -- github-stats -o stackbuildersThe stats produced will have a histogram format. They will look like the upcoming example:
#################################################### Haskell 52
#################### Ruby 20
######### TeX 9
######## JavaScript 8
## Agda 2
## CoffeeScript 2
## HTML 2
## Shell 2
## TypeScript 2
# ATS 1
# Elm 1
# PHP 1-
Fork the project on GitHub and clone your fork locally.
$ git clone git://github.com/username/github-stats.git $ cd github-stats $ git remote add upstream https://github.com/acamino/github-stats.git -
Install Stack.
-
Get the appropriate GHC for the project.
$ stack setup
-
If you want to launch a REPL and have fun with this program.
$ stack repl
The code in this repository is licensed under the terms of the
MIT License.
Please see the LICENSE file for details.