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

harshjv/github-repo-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

74 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ 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