{"id":16540156,"url":"https://github.com/rickstaa/get-stargazers-info","last_synced_at":"2026-06-24T17:31:10.741Z","repository":{"id":182768891,"uuid":"655408544","full_name":"rickstaa/get-stargazers-info","owner":"rickstaa","description":"Contains some scripts that can be used to get information about the stargazers of a GitHub repository.","archived":false,"fork":false,"pushed_at":"2023-07-21T09:08:01.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T03:24:23.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/rickstaa.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}},"created_at":"2023-06-18T19:57:39.000Z","updated_at":"2023-06-18T19:58:18.000Z","dependencies_parsed_at":"2023-07-21T10:52:45.259Z","dependency_job_id":null,"html_url":"https://github.com/rickstaa/get-stargazers-info","commit_stats":null,"previous_names":["rickstaa/get-stargazers-info"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rickstaa/get-stargazers-info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fget-stargazers-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fget-stargazers-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fget-stargazers-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fget-stargazers-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickstaa","download_url":"https://codeload.github.com/rickstaa/get-stargazers-info/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fget-stargazers-info/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34743465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"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":[],"created_at":"2024-10-11T18:51:42.285Z","updated_at":"2026-06-24T17:31:10.719Z","avatar_url":"https://github.com/rickstaa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get Stargazer Info\n\nContains scripts that can be used to get information about the stargazers of a GitHub repository.\n\n## How to use\n\n1. Install the npm dependencies with `npm install`.\n2. Create a `.env` file with the following content:\n\n```env\nGITHUB_TOKEN=YOUR_GITHUB_TOKEN\nREPO=REPOSITORY_NAME\nOWNER=REPOSITORY_OWNER\nLOG_FREQUENCY=50\nSAVE_FREQUENCY=100\nMAIN_INFO=true\nTOTAL_COMMITS=false\nUSE_GRAPHQL=false # Only use for the 'get-stargazers' script. Slower but doesn't have a 40 pages limit.\nLOAD=false # Whether to continue from the last saved point or start from scratch. Only use for the 'get-stargazers' script.\nREMOVE_ZERO_VALUES=false # Only used for the `calculate-stargazers-info-stats` script.\nREMOVE_ZERO_USERS=false # Only used for the `calculate-stargazers-info-stats` script.\n```\n\n1. Run the `get-stargazers.js` script with `npm run get-stargazers` to get the stargazers of the repository.\n2. Run the `get-stargazer-info.js` script with `npm run get-stargazer-info` to get the information about the stargazers.\n\nData is stored in the `data` folder. The `get-stargazers.js` script will create a `\u003cOWNER\u003e-\u003cREPO\u003e-stargazers.json` file with the stargazers of the repository. The `get-stargazer-info.js` script will create a `\u003cOWNER\u003e-\u003cREPO\u003e-stargazer-info.json` file with the information about the stargazers.\n\n\u003e [!WARNING]\\\n\u003e This script uses the [@octokit/plugin-throttling](https://www.npmjs.com/package/@octokit/plugin-throttling) to avoid hitting the [GitHub API rate limit](https://docs.github.com/en/graphql/overview/resource-limitations). This is done by waiting for the time specified in the `retry-after` header. This means that if the source of interest has many stargazers, it will take a long time to get all the data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickstaa%2Fget-stargazers-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickstaa%2Fget-stargazers-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickstaa%2Fget-stargazers-info/lists"}