{"id":20333089,"url":"https://github.com/jaebradley/gh-stats-cli","last_synced_at":"2025-04-19T16:50:36.287Z","repository":{"id":44753427,"uuid":"148604767","full_name":"jaebradley/gh-stats-cli","owner":"jaebradley","description":"PR contribution statistics (authored / commented) from the command line","archived":false,"fork":false,"pushed_at":"2022-06-07T21:24:37.000Z","size":3145,"stargazers_count":5,"open_issues_count":17,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T10:28:22.366Z","etag":null,"topics":["command-line","github","nodejs","pull-requests"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@jaebradley/gh-stats-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaebradley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-13T08:11:49.000Z","updated_at":"2025-02-20T20:08:55.000Z","dependencies_parsed_at":"2022-08-28T21:12:37.618Z","dependency_job_id":null,"html_url":"https://github.com/jaebradley/gh-stats-cli","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fgh-stats-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fgh-stats-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fgh-stats-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fgh-stats-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaebradley","download_url":"https://codeload.github.com/jaebradley/gh-stats-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249742054,"owners_count":21318833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","github","nodejs","pull-requests"],"created_at":"2024-11-14T20:29:17.061Z","updated_at":"2025-04-19T16:50:36.271Z","avatar_url":"https://github.com/jaebradley.png","language":"JavaScript","readme":"# `gh-stats-cli`\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/jaebradley/gh-stats-cli.svg)](https://greenkeeper.io/)\n[![Build Status](https://travis-ci.org/jaebradley/gh-stats-cli.svg?branch=master)](https://travis-ci.org/jaebradley/gh-stats-cli)\n[![codecov](https://codecov.io/gh/jaebradley/gh-stats-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/jaebradley/gh-stats-cli)\n[![npm](https://img.shields.io/npm/v/@jaebradley/gh-stats-cli.svg)](https://www.npmjs.com/package/@jaebradley/gh-stats-cli)\n[![npm-total-downloads](https://img.shields.io/npm/dt/@jaebradley/gh-stats-cli.svg)](https://www.npmjs.com/package/@jaebradley/gh-stats-cli)\n![GitHub](https://img.shields.io/github/license/jaebradley/gh-stats-cli)\n\nGet simple `GitHub` `PR` contribution statistics (`PR`s authored and commented on) via the command line.\n\n## Installation\n\n```bash\nnpm install --global @jaebradley/gh-stats-cli\n```\n\n## Usage\n\n* You'll need [a `GitHub` personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) to authenticate `GitHub` API requests\n* The CLI will store the personal access token in the `keychain` when executing `ghstats setup`\n* Because the CLI gets details for each PR (like comments, or merge time) it may make a decent number of API calls\n  * The per hour API limit for personal access tokens is `5,000`\n  * You'll always be asked to confirm that you'd like to make the API calls\n* You'll need to specify a username\n* You can optional specify an `organization`\n* The current options are\n  * `ghstats setup` - save your personal access token to the `keychain`\n  * `ghstats week` - gets contributions over the past `7` days\n  * `ghstats past-day` - gets contributions over the past day (i.e. `24` hours)\n\n## Examples\n\n![first](https://imgur.com/uUdwHUs.png)\n\n![second](https://imgur.com/j15lN3e.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaebradley%2Fgh-stats-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaebradley%2Fgh-stats-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaebradley%2Fgh-stats-cli/lists"}