/boc

utility to summarize programming language usage stats for a github user

Primary LanguageGo

boc

boc is a simple utility to count the bytes of code for a given Github user.

setup

clone the repository:

$ git clone https://github.com/gtr/boc.git; cd boc

build:

$ go build

read this article on how to create an access token for the GitHub API. make sure you select access for repositories.

once you have the access token, create a file config.json:

$ touch config.json; 

and edit it to include this:

{
    "MY_KEY": "<YOUR-KEY-HERE>"
}

paste your access key as a value to MY_KEY as shown above.

usage

to use the utility, run the the boc binary followed by the desired username.

$ ./boc gtr

output for my username gtr:

gtr