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

https://github.com/progfay/github-streaks

Check streak on GitHub from CLI
https://github.com/progfay/github-streaks

cli github nodejs streak typescript

Last synced: 3 months ago
JSON representation

Check streak on GitHub from CLI

Awesome Lists containing this project

README

          



```
❯ npx @progfay/github-streaks @progfay

+-------------------+-------------------------+-----------+------+-----+-----+------+---------+
| Category | From ~ To | Day Count | Sum | Max | Min | Mean | Std dev |
+-------------------+-------------------------+-----------+------+-----+-----+------+---------+
| All Contributions | 2016-01-01 ~ 2020-12-31 | 1827 days | 4970 | 56 | 0 | 2.72 | 5.51 |
+-------------------+-------------------------+-----------+------+-----+-----+------+---------+
| Current Streak | 2019-06-10 ~ 2020-09-20 | 469 days | 3202 | 36 | 1 | 6.83 | 6.91 |
+-------------------+-------------------------+-----------+------+-----+-----+------+---------+
| Longest Streak | 2019-06-10 ~ 2020-09-20 | 469 days | 3202 | 36 | 1 | 6.83 | 6.91 |
+-------------------+-------------------------+-----------+------+-----+-----+------+---------+
```

[![Maintainability](https://img.shields.io/codeclimate/maintainability/progfay/github-streaks?style=for-the-badge&message=Code+Climate&labelColor=222222&logo=Code+Climate&logoColor=FFFFFF)](https://codeclimate.com/github/progfay/github-streaks/maintainability)

### Requirements

- Node.js v12.16.3 or later

### Usage

#### Use instantly

```sh
npx @progfay/github-streaks [username]
# or
npm exec @progfay/github-streaks [username]
```

#### Use frequently

```sh
# global install
npm install -g @progfay/github-streaks

# then, call command
ghs [username]
```

### Development

#### Initialization

```sh
git clone git@github.com:progfay/github-streaks.git
cd github-streaks
npm install
```

#### Build

```sh
npm run build
```

#### Lint

```sh
npm run lint
# or
npm run lint:fix
```

#### Test

```sh
npm test
```

#### Debug

- Use [`npm link`](https://docs.npmjs.com/cli/link.html) .