github-repo-size
github-repo-size copied to clipboard
A Firefox addon showing the size of a Github repository.
A Firefox addon to display a Github repository's size
Add repository size to the Github's summary.

⚠ This addon use the size as returned by the GitHub API and may be innacurate due to how GitHub stores git repositories! See here and here for more informations.
Usage
Download the addon from addons.mozilla.org or, if you prefer, you can download this project as a userscript from the GitHub releases page.
Private Repositories
A Personal Access Token from an account with access to the private repository is
required for this addon to work. You can create a Personal Access Token
here. Don't forget to check the repo scope.
You can also show the dialog to save your token by clicking on the element added by the addon on any repository, public or private, or you can visit the addon's settings page.
Building
- Use
yarn buildto build the Firefox webextension - Use
yarn watchto have an automated build on changes andyarn webext:runto test the addon