A Firefox addon to display a Github repository's size
Add repository size to the Github's summary.
Download the addon from addons.mozilla.org or, if you prefer, you can download this project as a userscript on OpenUserJs (also available on the GitHub releases page). ⚠ If you are using ViolentMonkey as a UserScript manager on Firefox, the script will not work due to security constraints on Webextensions in Firefox, see violentmonkey/violentmonkey#173.
To enable this addon on private repositories, either go to a private
repository and a dialog will ask for a token automatically, or click on the
size on any public repository.
You can get a Personnal Access Token in your GitHub settings.
Don't forget to check the
npm run build-webextto build the Firefox webextension
npm run build-userscriptto build the UserScript
npm run webextto have an automated build on changes