Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Latest commit

 

History

History
45 lines (24 loc) · 2.06 KB

README.md

File metadata and controls

45 lines (24 loc) · 2.06 KB

🚀 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 the 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