Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Shywim/github-repo-size
A Firefox addon showing the size of a Github repository.
https://github.com/Shywim/github-repo-size
addon firefox-addon github webextension
Last synced: about 1 month ago
JSON representation
A Firefox addon showing the size of a Github repository.
- Host: GitHub
- URL: https://github.com/Shywim/github-repo-size
- Owner: Shywim
- License: mit
- Created: 2017-08-25T16:46:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T21:23:57.000Z (5 months ago)
- Last Synced: 2024-08-01T16:56:22.004Z (4 months ago)
- Topics: addon, firefox-addon, github, webextension
- Language: TypeScript
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/github-repo-size/
- Size: 1.13 MB
- Stars: 70
- Watchers: 3
- Forks: 8
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - Shywim/github-repo-size - A Firefox addon showing the size of a Github repository. (TypeScript)
README
# A Firefox addon to display a Github repository's size
[![Mozilla Add-on](https://img.shields.io/amo/v/github-repo-size.svg?style=flat-square)][amo]
Add repository size to the Github's summary.
![Addon screenshot](art/screenshot.png)
**⚠ This addon use the size as returned by the GitHub API and may be
innacurate due to how GitHub stores git repositories! See [here][soq] and
[here][ghb] for more informations.**## Usage
Download the addon from **[addons.mozilla.org][amo]** or, if you prefer, you
can download this project as a userscript from the **[GitHub releases page][ghreleases]**.### 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][ghsettings]. **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[amo]: https://addons.mozilla.org/firefox/addon/github-repo-size/
[ujs]: https://github.com/Shywim/github-repo-size/releases/latest/download/github-repo-size.user.js
[ghreleases]: https://github.com/Shywim/github-repo-size/releases
[soq]: https://stackoverflow.com/a/8679592/1424030
[ghb]: https://git-blame.blogspot.fr/2012/08/bringing-bit-more-sanity-to-alternates.html
[ghsettings]: https://github.com/settings/tokens