Skip to content

brunolm/codersrank-analyzer

Repository files navigation

codersrank-analyzer

Does the same as codersrank-org/repo_info_extractor, but it's written in Node.js with TypeScript and allows you to analyze your entire GitHub collection at once.

Usage

REQUIRED: Node v12 (does not work with most recent versions)

Setup env options

$env:SALT="Optional PJSalt"
$env:GITHUB_TOKEN="token with repo permisson https://github.com/settings/tokens"
$env:GITLAB_TOKEN="token with permissions https://gitlab.com/-/profile/personal_access_tokens"
$env:BASE_GITLAB_API_URL="defaults to public instance; url of self-hosted gitlab instance: https://gitlab.company.net/api/v4"

Bash

export SALT="Optional PJSalt"
export GITHUB_TOKEN="token with repo permisson https://github.com/settings/tokens"
export GITLAB_TOKEN="token with permissions https://gitlab.com/-/profile/personal_access_tokens"
export BASE_GITLAB_API_URL="defaults to public instance; url of self-hosted gitlab instance: https://gitlab.company.net/api/v4"

Run

# github
npx @brunolm/codersrank-analyzer github -e "e1@e1.com,e2@e2.com" --private --upload

# gitlab
npx @brunolm/codersrank-analyzer gitlab -e "e1@e1.com,e2@e2.com" --private --upload

# folder and subfolders on local file system
npx @brunolm/codersrank-analyzer file -e "e1@e1.com,e2@e2.com" -p <ROOT_PATH> --upload

Help

npx @brunolm/codersrank-analyzer --help

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •