{"id":37195127,"url":"https://github.com/heisantosh/gitstats","last_synced_at":"2026-01-14T22:41:15.754Z","repository":{"id":57549862,"uuid":"307068508","full_name":"heisantosh/gitstats","owner":"heisantosh","description":"Print stats of contributors of a git repository.","archived":false,"fork":false,"pushed_at":"2020-10-26T13:59:25.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T15:52:44.967Z","etag":null,"topics":["git","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/heisantosh.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":"2020-10-25T09:54:36.000Z","updated_at":"2024-02-19T09:20:46.000Z","dependencies_parsed_at":"2022-09-26T18:41:46.382Z","dependency_job_id":null,"html_url":"https://github.com/heisantosh/gitstats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/heisantosh/gitstats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heisantosh%2Fgitstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heisantosh%2Fgitstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heisantosh%2Fgitstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heisantosh%2Fgitstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heisantosh","download_url":"https://codeload.github.com/heisantosh/gitstats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heisantosh%2Fgitstats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28436711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["git","golang"],"created_at":"2026-01-14T22:41:15.244Z","updated_at":"2026-01-14T22:41:15.738Z","avatar_url":"https://github.com/heisantosh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/heisantosh/gitstats)](https://goreportcard.com/report/github.com/heisantosh/gitstats)\n\n# gitstat\nA CLI wrapper around git commands to get contributors stats of a repo for all branches.\n\n## Usage\nSupported output formats are table/JSON/CSV. Default output format is table.\nStats can be sorted by commits, additions, deletions.\n\n### Example\nRunning for a local copy of https://github.com/nshepperd/gpt-2.git.\n```bash\n$ git remote -v\norigin\thttps://github.com/nshepperd/gpt-2.git (fetch)\norigin\thttps://github.com/nshepperd/gpt-2.git (push)\n$ gitstats -output csv\nContributor,Commits,Additions,Deletions,Files\nNeil Shepperd \u003cnshepperd@google.com\u003e,40,2092,560,19\nJeff Wu \u003cwuthefwasthat@gmail.com\u003e,25,137298,137136,24\nJeff Wu \u003cWuTheFWasThat@gmail.com\u003e,4,478,5,8\nTimothy Liu \u003ctlkh@live.co.uk\u003e,3,274,2,2\nIgnacio Lopez-Francos \u003ciglopezfrancos@ignacios-mbp.attlocal.net\u003e,2,5,5,2\nJames B. Pollack \u003cjamesbradenpollack@gmail.com\u003e,2,2,2,2\nNathan Murthy \u003c1788878+natemurthy@users.noreply.github.com\u003e,2,8,2,1\nNeil Shepperd \u003cnshepperd@gmail.com\u003e,2,141,0,3\n子兎音 \u003cfunaox@gmail.com\u003e,2,2,2,2\nAnders \u003coracleliaprojekt@gmail.com\u003e,1,26,0,2\nArmaan Bhullar \u003cArmaanBhullar@users.noreply.github.com\u003e,1,50,1,3\nBiranchi \u003c191425+biranchi2018@users.noreply.github.com\u003e,1,3,0,1\nMadison May \u003cmadison@indico.io\u003e,1,50,0,3\nMathieu Rene \u003cmathieu@zia.ai\u003e,1,6,2,2\nMax Woolf \u003cmax@minimaxir.com\u003e,1,1,1,1\nMemo Akten \u003cmemo@users.noreply.github.com\u003e,1,17,9,3\nN Shepperd \u003cnshepperd@google.com\u003e,1,0,0,0\nSantosh Heigrujam \u003csantosh.hei@gmail.com\u003e,1,123,0,2\nSvilen Todorov \u003csviltodorov@gmail.com\u003e,1,1,0,1\nstephan orlowsky \u003cstephan.orlowsky@aperto.com\u003e,1,6,0,1\n$\n$ gitstats -o table\n+------------------------------------------------+---------+-----------+-----------+-------+\n|                  CONTRIBUTOR                   | COMMITS | ADDITIONS | DELETIONS | FILES |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Neil Shepperd                                  |      40 |      2092 |       560 |    19 |\n| \u003cnshepperd@google.com\u003e                         |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Jeff Wu                                        |      25 |    137298 |    137136 |    24 |\n| \u003cwuthefwasthat@gmail.com\u003e                      |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Jeff Wu                                        |       4 |       478 |         5 |     8 |\n| \u003cWuTheFWasThat@gmail.com\u003e                      |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Timothy Liu \u003ctlkh@live.co.uk\u003e                  |       3 |       274 |         2 |     2 |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Ignacio Lopez-Francos                          |       2 |         5 |         5 |     2 |\n| \u003ciglopezfrancos@ignacios-mbp.attlocal.net\u003e     |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| James B. Pollack                               |       2 |         2 |         2 |     2 |\n| \u003cjamesbradenpollack@gmail.com\u003e                 |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Nathan Murthy                                  |       2 |         8 |         2 |     1 |\n| \u003c1788878+natemurthy@users.noreply.github.com\u003e  |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Neil Shepperd                                  |       2 |       141 |         0 |     3 |\n| \u003cnshepperd@gmail.com\u003e                          |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| 子兎音 \u003cfunaox@gmail.com\u003e                      |       2 |         2 |         2 |     2 |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Anders                                         |       1 |        26 |         0 |     2 |\n| \u003coracleliaprojekt@gmail.com\u003e                   |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Armaan Bhullar                                 |       1 |        50 |         1 |     3 |\n| \u003cArmaanBhullar@users.noreply.github.com\u003e       |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Biranchi                                       |       1 |         3 |         0 |     1 |\n| \u003c191425+biranchi2018@users.noreply.github.com\u003e |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Madison May                                    |       1 |        50 |         0 |     3 |\n| \u003cmadison@indico.io\u003e                            |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Mathieu Rene \u003cmathieu@zia.ai\u003e                  |       1 |         6 |         2 |     2 |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Max Woolf \u003cmax@minimaxir.com\u003e                  |       1 |         1 |         1 |     1 |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Memo Akten                                     |       1 |        17 |         9 |     3 |\n| \u003cmemo@users.noreply.github.com\u003e                |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| N Shepperd                                     |       1 |         0 |         0 |     0 |\n| \u003cnshepperd@google.com\u003e                         |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Santosh Heigrujam                              |       1 |       123 |         0 |     2 |\n| \u003csantosh.hei@gmail.com\u003e                        |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| Svilen Todorov                                 |       1 |         1 |         0 |     1 |\n| \u003csviltodorov@gmail.com\u003e                        |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n| stephan orlowsky                               |       1 |         6 |         0 |     1 |\n| \u003cstephan.orlowsky@aperto.com\u003e                  |         |           |           |       |\n+------------------------------------------------+---------+-----------+-----------+-------+\n```\n\nTo sort by number of commits, then by number of files\n```bash\n$ gitstats -sort-by=commits,files\n```\n\n## Installation\n\n### Using Go\n```bash\ngo get -v -u github.com/heisantosh/gitstats\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheisantosh%2Fgitstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheisantosh%2Fgitstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheisantosh%2Fgitstats/lists"}