Skip to content

Latest commit

 

History

History
61 lines (36 loc) · 1.03 KB

File metadata and controls

61 lines (36 loc) · 1.03 KB

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.