Go 1.10+ is required. Golang Getting Started
$ go install github.com/juev/starred@latest
or download binary file from Release page
$ starred --help
Usage: starred [OPTIONS]
GitHub starred
creating your own Awesome List used GitHub stars!
example:
starred --username juev --sort > README.md
Options:
-h, --help show this message and exit
-m, --message string commit message (default "update stars")
-r, --repository string repository name
-s, --sort sort by language
-t, --token string GitHub token
-u, --username string GitHub username (required)
-v, --version show the version and exit
# automatically create the repository
$ export GITHUB_TOKEN=yourtoken
$ starred --username yourname --repository awesome-stars --sort
- juev/awesome-stars
- update awesome-stars every day by GitHub Action the example with GitHub Action
-
Generate new token
-
Why do I need a token?
- For unauthenticated requests, the rate limit is 60 requests per hour. see Github Api Rate Limiting
- The token must be passed together when you want to automatically create the repository.