Skip to content

juev/starred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starred

ci

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

  1. Generate new token

    link: Github Personal access tokens

  2. 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.