https://github.com/brunolm/codersrank-analyzer
Generate analysis files for CodersRank
https://github.com/brunolm/codersrank-analyzer
analyzer codersrank npm-package
Last synced: about 2 months ago
JSON representation
Generate analysis files for CodersRank
- Host: GitHub
- URL: https://github.com/brunolm/codersrank-analyzer
- Owner: brunolm
- Created: 2020-06-16T03:13:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T23:57:28.000Z (over 2 years ago)
- Last Synced: 2025-05-07T02:05:38.676Z (about 2 months ago)
- Topics: analyzer, codersrank, npm-package
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@brunolm/codersrank-analyzer
- Size: 384 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codersrank-analyzer
Does the same as [codersrank-org/repo_info_extractor](https://github.com/codersrank-org/repo_info_extractor/tree/master), 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
```powershell
$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
```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
```powershell
# github
npx @brunolm/codersrank-analyzer github -e "[email protected],[email protected]" --private --upload# gitlab
npx @brunolm/codersrank-analyzer gitlab -e "[email protected],[email protected]" --private --upload# folder and subfolders on local file system
npx @brunolm/codersrank-analyzer file -e "[email protected],[email protected]" -p --upload
```### Help
```powershell
npx @brunolm/codersrank-analyzer --help
```