gitilang
v1.3.4
Published
Welcome to Gitilang Find π languages that you mostly use β€οΈ
Maintainers
Readme
GitiLang
Welcome to Gitilang Find π languages that you mostly use β€οΈ
Installation
You must have installed
NodeJSin your machine.You have a
GitHub AccountSTEPS
- Here's are steps to get GitHub Token.
- Visit https://github.com/settings/profile
- Visit inside
Developers Settings > Personal access tokens. - Click on
Generate new token. - Inside Select scope select all
repo scope. - Now you copy your token.
- Open your terminal
- Export your copied token as
$> export GITHUB_TOKEN=YOUR_COPIED_TOKEN - Install
gitilangpackage$> npm install -g gitilang - Verify gitilang is installed
$> gitilang
Usage
- Note: Gitilang only show
public repo statistics. - Consider you want to see
Googleused top 10 languages. - Open
terminal
# Verify gitilang is globally installed!
$> gitilang
VERSION
gitilang/1.0.0 linux-x64 node-v10.14.2 # May vary version.
USAGE
$ gitilang [COMMAND]
COMMANDS
help display help for gitilang
show Show you have used top 10 languages in Github Account :D
# Show all commands
$> gitilang help
# Particular command help
$> gitilang show -h
Show you have used top 10 languages in Github Account :D
USAGE
$ gitilang show [USERNAME]
OPTIONS
-h, --help show CLI help
EXAMPLE
export GITHUB_TOKEN=YOUR_TOKEN
$> gitilang show [UserName]
$> gitilang show BhautikChudasama
# We want to see Google used top 10 languages
$> gitilang show google
# Remember Google is organization so select org
? Given Username is Organization or User? β¦
βΈ org
user
β
Repositories Fetched!
β
Repositories languages analyzed!
# Do you want to export fetched languages data, This case no
? Do you want to export fetched data? β¦
yes
βΈ no
# Now you see Google have used top 10 languages bytes.
β Do you want to export fetched data? Β· no
βββββββββββ¬βββββββββββββββ¬βββββββββββ
β (index) β 0 β 1 β
βββββββββββΌβββββββββββββββΌβββββββββββ€
β 0 β 'JavaScript' β 14099827 β
β 1 β 'C++' β 13078046 β
β 2 β 'Java' β 7022866 β
β 3 β 'TeX' β 6184970 β
β 4 β 'HTML' β 1742227 β
β 5 β 'Python' β 530826 β
β 6 β 'CSS' β 487097 β
β 7 β 'C' β 285801 β
β 8 β 'Starlark' β 246761 β
β 9 β 'Kotlin' β 121027 β
βββββββββββ΄βββββββββββββββ΄βββββββββββ
# Column 0 repesents language name
# Column 1 repesents language bytesDocker Usage
You can also use docker to used our CLI.
# Pull docker image
$> docker pull bhautikchudasama/gitilang
# Run
$> docker run -i -e GITHUB_TOKEN=YOUR_COPIED_TOKEN bhautikchudasama/gitilang google
# -i => Interactive to retain CLI
# -e => Pass your GITHUB_TOKEN to container
# google => We want to see google has used top 10 languages in their public Github repositories.
Contributors
- BhautikChudasama (@bhautiktweets).
