{"id":37204820,"url":"https://github.com/worldofprasanna/github-stats","last_synced_at":"2026-01-14T23:36:24.994Z","repository":{"id":143230143,"uuid":"222389123","full_name":"worldofprasanna/github-stats","owner":"worldofprasanna","description":"Command line utility to extract info from Github","archived":false,"fork":false,"pushed_at":"2020-08-09T07:58:19.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T00:38:11.540Z","etag":null,"topics":["github-api","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/worldofprasanna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-18T07:34:50.000Z","updated_at":"2020-08-09T07:58:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf55c14c-93f9-42c7-ac5f-23a7932feeb9","html_url":"https://github.com/worldofprasanna/github-stats","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/worldofprasanna/github-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldofprasanna%2Fgithub-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldofprasanna%2Fgithub-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldofprasanna%2Fgithub-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldofprasanna%2Fgithub-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/worldofprasanna","download_url":"https://codeload.github.com/worldofprasanna/github-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldofprasanna%2Fgithub-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28438981,"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":["github-api","golang"],"created_at":"2026-01-14T23:36:24.209Z","updated_at":"2026-01-14T23:36:24.976Z","avatar_url":"https://github.com/worldofprasanna.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-stats\n\n[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n[![CircleCI](https://img.shields.io/circleci/build/github/worldofprasanna/github-stats/master?style=flat-square)](https://circleci.com/gh/worldofprasanna/github-stats)\n[![Maintainability](https://api.codeclimate.com/v1/badges/ca9aa9f54f9df2ac62b8/maintainability)](https://codeclimate.com/github/worldofprasanna/github-stats/maintainability)\n\n\u003e Extract info about commits from github\n\n## Table of Contents\n\n- [github-stats](#github-stats)\n  - [Table of Contents](#table-of-contents)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Tech specifics](#tech-specifics)\n  - [Assumptions](#assumptions)\n  - [Maintainers](#maintainers)\n  - [Contributing](#contributing)\n  - [License](#license)\n\n## Installation \n\nThere are 3 ways to install this command line utility,\n\n1. Install from source code. This needs golang to be installed (\u003e 1.11) and GOPATH to be set with properly with GOPATH added to the PATH.\n```\n./bin/install\n```\n\n2. If you prefer Docker,\n```\n# Build the docker container,\ndocker build -t github-stats .\n\n# To test the functionality,\na. Fetch the active day of week along with average commit\ndocker run github-stats activeDay --weeks=20 kubernetes/kubernetes\n\nb. List the average commit for week\ndocker run github-stats listAverageCommits kubernetes/kubernetes\n```\n\n3. Github releases contains binaries targeting difference operating systems. This is generated using [goreleaser](https://github.com/goreleaser/goreleaser)\n\n[Download Binary here](https://github.com/worldofprasanna/github-stats/releases/tag/v1.0.0)\n\n\n## Usage\n\n```\n# To know about the command, use --help option. After installation is successful,\n./bin/run --help\n./bin/run activeDay --weeks=20 kubernetes/kubernetes\n./bin/run listAverageCommits --sort=desc kubernetes/kubernetes\n\n```\n```\n# To run the unit test\n./bin/test\n\n# To run the linter\n./bin/lint\n\n# To get the binary\n./bin/build\n\n```\n\n## Tech specifics\n\n- This uses CircleCI to run unit tests, linters, build and publish the package. You can see the pipelines [here](https://circleci.com/workflow-run/3e861475-a6e1-46de-a664-5395783c92c9)\n- Code climate integration is done to see if there are any code smells\n- This repo depends on Go modules and hence it needs golang \u003e 1.11\n\n## Assumptions\n\n- Number of weeks would be less than or equal to 52\n- Listing the average commits per day can be a separate sub command\n- When listing the average commits per day, it will always fetch for last 52 weeks\n\n## Maintainers\n\n[@worldofprasanna](https://github.com/worldofprasanna)\n\n## Contributing\n\nPRs accepted.\n\nSmall note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n## License\n\nMIT © 2019 Prasanna\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworldofprasanna%2Fgithub-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworldofprasanna%2Fgithub-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworldofprasanna%2Fgithub-stats/lists"}