Skip to content

ntk148v/starred

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starred

ci Upload Python Package

Install

$ pip install git+https://github.com/ntk148v/starred.git
$ starred --username ntk148v --token=xxxxxxx --sort > README.md

Usage

$ starred --help

$ starred --help

Usage: starred [OPTIONS]

  GitHub starred

  creating your own Awesome List by GitHub stars!

    example:     starred --username ntk148v --sort > README.md

Options:
    --username TEXT        GitHub username
    --token TEXT           GitHub token
    --sort                 sort by language
    --topic                category by topic, default is category by language
                        [default: False]
    --topic_limit INTEGER  topic stargazer_count gt number, set bigger to reduce
                          topics number  [default: 500]
    --repository TEXT      repository name
    --filename TEXT        file name  [default: README.md]
    --message TEXT         commit message  [default: update stars]
    --private              include private repos  [default: False]
    --format [table|list]  output repository information format. Table by default.
    --version              Show the version and exit.\
    --help                 Show this message and exit.

Demo

# automatically create the repository
$ export GITHUB_TOKEN=yourtoken
$ starred --username yourname --repository awesome-stars --sort

Who uses starred?

Use awesome-stars as template

The simple way to create an awesome-stars repository is to use ntk148v/awesome-stars as template. It will auto update your awesome-stars repository every day by GitHub Action.

  1. Click Create a new repository from awesome-stars

use-awesome-stars-as-template

  1. Setting the permissions of the GITHUB_TOKEN for your repository

set permissions to Read and write permissions and click Save button

workflow-permissions

  1. Run the workflow first time

click Run workflow button

run-workflow

  1. Customize the workflow schedule

schedule

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.
  3. Install the master branch version

    $ poetry build
    $ pip install -e git+https://github.com/ntk148v/starred#egg=starred
  4. Dev & RUN

    poetry run starred --help

About

creating your own Awesome List by GitHub stars!

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages

  • Python 100.0%