Skip to content

RichardSouzza/SortStars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SortStars

Program to sort starred repositories.

Execution

Token Generation

  1. In GitHub, go to Settings / Developer Settings / Personal access tokens / Tokens (classic);

  2. Click "Generate new token" and "Generate new token (classic)";

Tip

Or simply click here 😉

  1. In the "Note" input, give your token a name.

  2. Check the "public_repo" scope;

  3. Scroll down the page and click "Generate token";

  4. Copy the token code.

Sorting stars! ⭐

  1. Clone the repository:
git clone https://github.com/RichardSouzza/SortStars
  1. Install the dependencies:
npm i
  1. Create an env file containing your token:
echo USER_TOKEN=your_token_here > .env
  1. Sort your stars!
node .

Troubleshooting

Unauthorized

The token you provided may be incorrect.

Incorrect ordering

GitHub handles star requests asynchronously, which can sometimes lead to one repository being starred before another.

To fix this, simply increase the delay time.

About

Script to sort starred repositories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •