Starred
Install
Go 1.10+ is required. Golang Getting Started
$ go install github.com/juev/starred@latest
or download binary file from Release page
Usage
$ 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
Demo
# automatically create the repository
$ export GITHUB_TOKEN=yourtoken
$ starred --username yourname --repository awesome-stars --sort
FAQ
-
Generate new token
link: Github Personal access tokens
-
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.