Automatically adds repository size to GitHub's repository summary.
Screenshot
Private Repository
To enable viewing size of private repositories;
- Install extension from chrome webstore, if you haven't.
- Go to https://github.com/settings/tokens to generate your personal access token.
- Click on the Github Repo Size extension (this extension)'s icon aside the address bar.
- Paste your access token there in the prompt box.
Temporarily override then token
You can set x-github-token
in localStorage
to your access token, and the extension will use this value even if you've previously set token.
localStorage.setItem('x-github-token', <YOUR-PERSONAL-ACCESS-TOKEN>)
and then remove it to use previously set token;
localStorage.removeItem('x-github-token')
Development
- Clone this repo
- Go to chrome extensions chrome://extensions
- Enable developer mode
- Click on load unpacked extension and select this cloned repo
License
MIT