{"id":23136940,"url":"https://github.com/ajwad-shaikh/gitstat","last_synced_at":"2025-05-07T14:47:11.359Z","repository":{"id":126810824,"uuid":"310308854","full_name":"ajwad-shaikh/GitStat","owner":"ajwad-shaikh","description":"An API that serves the ✨ top ✨ forked repositories and the most active 👩‍💻 committees 👨‍💻 on them from an organization on GitHub.","archived":false,"fork":false,"pushed_at":"2020-11-05T15:32:06.000Z","size":28,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T11:11:22.503Z","etag":null,"topics":["api","github","heroku","nodejs","octokit","rest"],"latest_commit_sha":null,"homepage":"https://quiet-atoll-37147.herokuapp.com/org/microsoft?n=1\u0026m=1","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/ajwad-shaikh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-11-05T13:32:24.000Z","updated_at":"2023-12-28T09:03:59.000Z","dependencies_parsed_at":"2023-06-18T13:11:01.326Z","dependency_job_id":null,"html_url":"https://github.com/ajwad-shaikh/GitStat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajwad-shaikh%2FGitStat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajwad-shaikh%2FGitStat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajwad-shaikh%2FGitStat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajwad-shaikh%2FGitStat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajwad-shaikh","download_url":"https://codeload.github.com/ajwad-shaikh/GitStat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252898765,"owners_count":21821678,"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":["api","github","heroku","nodejs","octokit","rest"],"created_at":"2024-12-17T12:26:14.861Z","updated_at":"2025-05-07T14:47:11.334Z","avatar_url":"https://github.com/ajwad-shaikh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitStat\n\n\u003e An API that serves the ✨ top ✨ forked repositories and the most active 👩‍💻 committees 👨‍💻 on them from an organization on GitHub.\n\n### Try the API on Heroku now!\n\n[![Heroku](https://heroku-badge.herokuapp.com/?app=quiet-atoll-37147\u0026root=ping)](https://quiet-atoll-37147.herokuapp.com/org/microsoft?n=2\u0026m=4)\n\n## Getting Started\n\n```sh\n# Clone the repo\ngit clone https://github.com/ajwad-shaikh/GitStat\ncd GitStat\n\n# Install dependencies\nnpm install\n\n# Create .env | Get your token here -\u003e https://github.com/settings/tokens\necho \"GITHUB_AUTH_TOKEN=\u003cYOUR_PERSONAL_GITHUB_AUTHENTICATION_TOKEN\u003e\" \u003e .env\n\n# Run locally\nnpm start\n```\n\n## API \n\n- GET **`/org/:orgName?n=N\u0026m=M`**\n    - Parameters\n        - `orgName` - The organisation for whom you want to query the stats\n        - `n` - The API will fetch the top **N** most forked repositories under the organization (default: 1)\n        - `m` - The API will fetch the top **M** contributors on each repo on basis of the commits they have made to them. (default: 1)\n    - Example\n        - https://quiet-atoll-37147.herokuapp.com/org/microsoft?n=2\u0026m=4\n        \n            Fetches the top 4 contributors on each of the top 2 most forked repositories under the Microsoft organization on GitHub.\n            \n            Response :\n            ```json\n            [{\"repo\":\"vscode\",\"url\":\"https://github.com/microsoft/vscode\",\"forks\":16928,\"contributors\":[{\"user\":\"bpasero\",\"url\":\"https://github.com/bpasero\",\"contributions\":8972},{\"user\":\"joaomoreno\",\"url\":\"https://github.com/joaomoreno\",\"contributions\":7474},{\"user\":\"jrieken\",\"url\":\"https://github.com/jrieken\",\"contributions\":7296},{\"user\":\"mjbvz\",\"url\":\"https://github.com/mjbvz\",\"contributions\":5429}]},{\"repo\":\"TypeScript\",\"url\":\"https://github.com/microsoft/TypeScript\",\"forks\":8759,\"contributors\":[{\"user\":\"ahejlsberg\",\"url\":\"https://github.com/ahejlsberg\",\"contributions\":3629},{\"user\":\"sheetalkamat\",\"url\":\"https://github.com/sheetalkamat\",\"contributions\":2551},{\"user\":\"mhegazy\",\"url\":\"https://github.com/mhegazy\",\"contributions\":2308},{\"user\":\"DanielRosenwasser\",\"url\":\"https://github.com/DanielRosenwasser\",\"contributions\":2240}]}]\n            ```\n\n## Known Limitations\n\n- Constraint on values of `n` and `m`\n    ```\n    n, m \u003c= 100\n\n    This is due to GitHub API limiting items per page to a maximum of 100, we would have to implement additional pagination support to overcome this limit.\n    ```\n\n## Contributing\n\nIf you have suggestions for how GitStat could be improved, or want to report a bug, open an issue! I'd love all and any contributions.\n\nFor more, check out the [Contributing Guide](CONTRIBUTING.md).\n\n## License\n\n[MIT](LICENSE) © 2020 Ajwad Shaikh\n\nMade with :heart: by [Ajwad Shaikh](https://github.com/ajwad-shaikh)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajwad-shaikh%2Fgitstat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajwad-shaikh%2Fgitstat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajwad-shaikh%2Fgitstat/lists"}