{"id":20915405,"url":"https://github.com/lineville/star-scraper","last_synced_at":"2025-04-19T20:27:05.696Z","repository":{"id":38833473,"uuid":"504727576","full_name":"lineville/star-scraper","owner":"lineville","description":"Utility to scrape info about repo stars","archived":false,"fork":false,"pushed_at":"2024-01-19T16:10:13.000Z","size":254,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T12:51:25.883Z","etag":null,"topics":["cli","github","nodejs","stars"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/star-scraper","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/lineville.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","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-06-18T02:50:12.000Z","updated_at":"2025-02-15T18:26:17.000Z","dependencies_parsed_at":"2024-11-19T05:02:01.457Z","dependency_job_id":null,"html_url":"https://github.com/lineville/star-scraper","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lineville%2Fstar-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lineville%2Fstar-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lineville%2Fstar-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lineville%2Fstar-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lineville","download_url":"https://codeload.github.com/lineville/star-scraper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650772,"owners_count":21139684,"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":["cli","github","nodejs","stars"],"created_at":"2024-11-18T16:14:42.324Z","updated_at":"2025-04-19T20:27:05.667Z","avatar_url":"https://github.com/lineville.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌟 Star Scraper [![npm version](https://badge.fury.io/js/star-scraper.svg)](https://badge.fury.io/js/star-scraper) ![crates.io](https://img.shields.io/crates/v/star-scraper.svg)\n\nCLI tool and GitHub Action to get some basic stats about a repo's stars and how many of those stars come from members of that organization 👀\n\n- Create a GitHub PAT (Personal Access Token) with `org:read` scope and set it as the `$GITHUB_TOKEN` environment variable\n\n## Installation\n\n```bash\nyarn global add star-scraper\n# or\n# npm i -g star-scraper\n# or\n# cargo install star-scraper\n```\n\n![star-scraper](https://user-images.githubusercontent.com/25349044/175988348-fbb5f343-7faa-4fe1-a38f-d092296b522a.gif)\n\n## Usage\n\n```bash\nstar-scraper --org \u003cmy-github-org\u003e \\\n             --repo \u003cmy-github-repo\u003e \\\n             --token \u003cmy-github-pat\u003e \\\n             --limit \u003cmax-records-to-fetch\u003e\n```\n\n- `--org`, `--repo` and `--token` are required.\n- `--token` can optionally be supplied as an environment variable via `GITHUB_TOKEN`.\n- `--limit` is optional and defaults to 100,000.\n\n## Run as a GitHub action\n\n- Fork this repo\n- Set the `GH_TOKEN` actions secret on the repo\n- Manually run the star gazer report workflow\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flineville%2Fstar-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flineville%2Fstar-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flineville%2Fstar-scraper/lists"}