The Wayback Machine - https://web.archive.org/web/20180616135007/https://github.com/harshjv/github-repo-size
Skip to content
Learn more
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

JavaScript
Clone or download
Latest commit b84b14b Oct 29, 2017

README.md

πŸš€ Chrome extension to display repository size on GitHub JavaScript Style Guide Chrome Web Store Chrome Web Store

Automatically adds repository size to GitHub's repository summary.

Featured on Product Hunt Install from chrome web store

Screenshot

Screenshot of repository size on GitHub

Private Repository

To enable viewing size of private repositories;

  1. Install extension from chrome webstore, if you haven't.
  2. Go to https://github.com/settings/tokens to generate your personal access token.
  • Check repo scope to enable this extension on private repo.
  1. Click on the Github Repo Size extension (this extension)'s icon aside the address bar.
  2. 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

  1. Clone this repo
  2. Go to chrome extensions chrome://extensions
  3. Enable developer mode
  4. Click on load unpacked extension and select this cloned repo

License

MIT

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.