Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
art
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

A Firefox addon to display a Github repository's size

Build Status Mozilla Add-on UserScript

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.

The addon will ask for a token automatically the first time you visit a private repository, you can also show the dialog by clicking on the element added by the addon or you can visit the addon's settings page (Firefox only).

Building

  • Use yarn build-webext to build the Firefox webextension
  • Use yarn build-userscript to build the UserScript
  • Use yarn webext to have an automated build on changes