Greasy Fork is available in English.

GitHub Repo Size

Show GitHub Repo size in side panel

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Tác giả
cscnk52
Cài đặt hàng ngày
0
Số lần cài đặt
9
Đánh giá
1 0 0
Phiên bản
1.2
Đã tạo
02-12-2024
Đã cập nhật
10-08-2025
Kích thước
4 KB
Giấy phép
MIT
Áp dụng cho

GitHub Repo Size

GitHub Repo Size is a userscript that allows you to quickly view the size of a GitHub repository directly from its page. This tool adds a size indicator to the repository interface, making it easier for developers and collaborators to get an overview of the repository's size without needing to clone or download the repository.

Features

  • Displays the total size of the repository (including all branches and tags) directly on the GitHub repository page.
  • No need to clone or manually check the repository size, saving time and improving workflow efficiency.
  • Easy to install and use with any modern web browser that supports userscripts.

Installation

Prerequisites

Install UserScript:

  1. Install Tampermonkey or Greasemonkey extension in your browser.
  2. Download the GitHub Repo Size userscript:
  3. Click the "Install" button below to automatically add the userscript to your userscript manager.

Configure token

  1. Open token page.
  2. Enter token name GitHub-Repo-Size.
  3. Select Expiration (Recommend select No expiration).
  4. Select Repository access (Recommend All repositories).
  5. Select Permissions -> Repository permissions -> Metadata -> ACCESS: Read-only.
  6. click Generate token.
  7. copy generated token to clipboard.
  8. click Tampermonkey, find GitHub-Repo-Size, click config token.
  9. Enter token, Click ok.
  10. All done, enjoy!

Usage

Once the script is installed, navigate to any GitHub repository. The size of the repository will appear in a new location on the page, typically near the repository description.

Contributing

Feel free to fork this project and submit pull requests if you want to contribute new features or improvements!

License

This project is licensed under the MIT License. See the LICENSE file for more details.