Narnia's Psychedelic Mushrooms
Learn how companies like Phone2Action are using npm in their front-end developmentJoin the conversation »

stargazed

2.0.2 • Public • Published

stargazed npm version

Creating your own Awesome List of GitHub Stars!

Build Status

Install

Ensure you have Node.js 8 or later installed. Then run the following:

$ npm install --global stargazed

If you don't want to install the CLI globally, you can use npx to run the CLI:

$ npx stargazed --help

Usage

$ stargazed --help

  Creating your own Awesome List of GitHub Stars!

  Options
    -u, --username TEXT    GitHub username
    -t, --token TEXT       GitHub token
    -s, --sort             sort by language
    -r, --repo TEXT  	   repository name
    -m, --message TEXT     commit message
    -w, --workflow         Setup GitHub Actions for Daily AutoUpdate
    -v, --version          Show the version and exit with code 0

  Examples
    $ stargazed --username abhijithvijayan --token "GITHUB-TOKEN" --sort
    $ stargazed -u "abhijithvijayan" -r "awesome-stars" -t "GITHUB-TOKEN" -s -w
    $ stargazed -u "abhijithvijayan" -r "awesome-stars" -t "GITHUB-TOKEN" -m "COMMIT_MESSAGE" -s

Demo

FAQ

Generate new token

Goto Personal access tokens

Why do I need a token?

  • For unauthenticated requests, the rate limit is 60 requests per hour. see Rate Limiting
  • The token must be passed together when you want to automatically create the repository.

How can I automate the process after initial run?

1. Sign up for GitHub actions beta
https://github.com/features/actions

2. Use -w, --workflow flag to set up GitHub workflow that updates the repo at 00:30 everyday.

$ stargazed -u "abhijithvijayan" -r "awesome-stars" -t "GITHUB-TOKEN" -s -w

Contributing

Thanks for being willing to contribute! Kindly check the contribution guidelines for more details

License

MIT © Abhijith Vijayan

Install

npm i stargazed

DownloadsWeekly Downloads

277

Version

2.0.2

License

MIT

Unpacked Size

24.8 kB

Total Files

13

Last publish

Collaborators

  • avatar