Skip to content

Shywim/github-repo-size

Repository files navigation

A Firefox addon to display a Github repository's size

Mozilla Add-on

Add repository size to the Github's summary.

Addon screenshot

⚠ 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 build to build the Firefox webextension
  • Use yarn watch to have an automated build on changes and yarn webext:run to test the addon