{"id":20030101,"url":"https://github.com/just1not2/github-pr-counter","last_synced_at":"2026-05-11T11:37:22.398Z","repository":{"id":216241099,"uuid":"571663404","full_name":"just1not2/github-pr-counter","owner":"just1not2","description":"A small counter of participants on Github pull requests in NodeJS","archived":false,"fork":false,"pushed_at":"2022-11-30T19:23:40.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T21:02:30.711Z","etag":null,"topics":["github","participants","pull-request"],"latest_commit_sha":null,"homepage":"","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/just1not2.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-28T16:05:21.000Z","updated_at":"2022-11-30T19:28:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"891363b7-8ce3-4281-a9e0-db3032424010","html_url":"https://github.com/just1not2/github-pr-counter","commit_stats":null,"previous_names":["just1not2/github-pr-counter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/just1not2/github-pr-counter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just1not2%2Fgithub-pr-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just1not2%2Fgithub-pr-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just1not2%2Fgithub-pr-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just1not2%2Fgithub-pr-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/just1not2","download_url":"https://codeload.github.com/just1not2/github-pr-counter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/just1not2%2Fgithub-pr-counter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32893842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","participants","pull-request"],"created_at":"2024-11-13T09:24:39.771Z","updated_at":"2026-05-11T11:37:22.375Z","avatar_url":"https://github.com/just1not2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GITHUB PR COUNTER\n\nA NodeJS script that fetches the number of participants in a Github pull request.\n\n**Warning: as this script uses web scraping on an undocumented page to get the required information, it may break on any Github frontend updates.**\n\n\n## Installion of dependencies\n\nTo install dev and production dependencies, just launch the following command:\n\n```bash\nnpm install\n```\n\n\n## Configuration\n\nTo configure the Github PR Counter, copy the env file template with:\n\n```bash\nnpm run template\n```\n\nThen, the following configuration environment variables should be filled:\n* `GITHUB_USER`: owner of the repository of the PR\n* `GITHUB_REPOSITORY`: name of the repository of the PR\n* `GITHUB_PR_NUMBER`: number of the PR in the repository\n\n\n## Launching the script\n\nTo start the Github PR Counter, just launch the following command:\n\n```bash\nnpm run start\n```\n\n\n## Tests\n\nTwo testing suites have been configured to test the script with Mocha. Try it out with:\n\n```bash\nnpm run test\n```\n\n\n## See Also\n\n* [Github API documentation about pull requests](https://docs.github.com/en/rest/pulls/pulls#get-a-pull-request)\n* [Mocha documentation](https://mochajs.org)\n\n\n## Licensing\n\nMIT License.\n\nSee [LICENSE](./LICENSE) to see the full text.\n\n\n## Author Information\n\nThis script was created in 2022 by Justin Béra.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust1not2%2Fgithub-pr-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjust1not2%2Fgithub-pr-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust1not2%2Fgithub-pr-counter/lists"}