https://github.com/lineville/star-scraper
Utility to scrape info about repo stars
https://github.com/lineville/star-scraper
cli github nodejs stars
Last synced: about 1 year ago
JSON representation
Utility to scrape info about repo stars
- Host: GitHub
- URL: https://github.com/lineville/star-scraper
- Owner: lineville
- License: mit
- Created: 2022-06-18T02:50:12.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T16:10:13.000Z (over 2 years ago)
- Last Synced: 2025-03-29T12:51:25.883Z (about 1 year ago)
- Topics: cli, github, nodejs, stars
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/star-scraper
- Size: 248 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
# 🌟 Star Scraper [](https://badge.fury.io/js/star-scraper) 
CLI 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 👀
- Create a GitHub PAT (Personal Access Token) with `org:read` scope and set it as the `$GITHUB_TOKEN` environment variable
## Installation
```bash
yarn global add star-scraper
# or
# npm i -g star-scraper
# or
# cargo install star-scraper
```

## Usage
```bash
star-scraper --org \
--repo \
--token \
--limit
```
- `--org`, `--repo` and `--token` are required.
- `--token` can optionally be supplied as an environment variable via `GITHUB_TOKEN`.
- `--limit` is optional and defaults to 100,000.
## Run as a GitHub action
- Fork this repo
- Set the `GH_TOKEN` actions secret on the repo
- Manually run the star gazer report workflow