Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spencerkimball/stargazers
Analyze GitHub stars
https://github.com/spencerkimball/stargazers
Last synced: 3 days ago
JSON representation
Analyze GitHub stars
- Host: GitHub
- URL: https://github.com/spencerkimball/stargazers
- Owner: spencerkimball
- License: apache-2.0
- Created: 2016-01-19T16:56:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-07-06T20:52:59.000Z (over 3 years ago)
- Last Synced: 2024-08-02T15:48:22.873Z (3 months ago)
- Language: Go
- Size: 27.3 KB
- Stars: 492
- Watchers: 7
- Forks: 42
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- project-awesome - spencerkimball/stargazers - Analyze GitHub stars (Go)
README
## stargazers
illuminate your GitHub community by delving into your repo's stars
### Synopsis
GitHub allows visitors to star a repo to bookmark it for later
perusal. Stars represent a casual interest in a repo, and when enough
of them accumulate, it's natural to wonder what's driving interest.
Stargazers attempts to get a handle on who these users are by finding
out what else they've starred, which other repositories they've
contributed to, and who's following them on GitHub.Basic starting point:
1. List all stargazers
2. Fetch user info for each stargazer
3. For each stargazer, get list of starred repos & subscriptions
4. For each stargazer subscription, query the repo statistics to
get additions / deletions & commit counts for that stargazer
5. Run analyses on stargazer data```
stargazers :owner/:repo --token=:access_token
```### Examples
```
stargazers cockroachdb/cockroach --token=f87456b1112dadb2d831a5792bf2ca9a6afca7bc
```### Options
```
--alsologtostderr logs at or above this threshold go to stderr (default NONE)
-c, --cache string directory for storing cached GitHub API responses (default "./stargazer_cache")
--log-backtrace-at when logging hits line file:N, emit a stack trace (default :0)
--log-dir if non-empty, write log files in this directory (default /var/folders/83/r_nmcwd969g5qc0b7my9wl900000gn/T/)
--logtostderr log to standard error instead of files (default true)
--no-color disable standard error log colorization
-r, --repo string GitHub owner and repository, formatted as :owner/:repo
-t, --token string GitHub access token for authorized rate limits
--verbosity log level for V logs
--vmodule comma-separated list of pattern=N settings for file-filtered logging
```