An open API service indexing awesome lists of open source software.

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

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
```