GitHub отображает размеры файлов и папок

Отображает размер каждого файла и папки в репозитории GitHub. Он использует API GitHub для получения деталей, включая рекурсивные размеры папок, что позволяет легко увидеть общий размер вложенных каталогов. Размер отображения файла в KB, MB или GB

Автор
人民的勤务员
Установок в день
0
Всего установок
5
Оценки
0 0 0
Версия
2025.5.26.1
Создано
26.05.2025
Обновлено
26.05.2025
Размер
85,0 КБ
Совместимость
Совместим с Firefox Совместим с Chrome Совместим с Opera Совместим с Safari Совместим с Edge
Лицензия
MIT
Работает на

简体中文 | English | 한국어 | Tiếng Việt | 繁體中文
👆️access GitHub Readme file on for a better experience。

Recommended use:
Support
Support
Support
💡 Tip: The script manager and browser listed above do not represent all
The script runs normally in the following environment
Passed

GitHub displays file and folder sizes

「 Displays the size of each file and folder in the GitHub repository. It uses the GitHub API to get details, including recursive folder sizes, making it easy to see the total size of nested directories. Display file size in KB, MB, or GB 」

Views

Download:Github | ⭐Greasy Fork

GitHub File Size Viewer (GitHub document/Folder Size Display Tool)

This script passes GitHub API Get the size of files and folders,and display it in GitHub Files corresponding to the warehouse page/Next to the folder link。
Support recursive calculation of folder size,Provides a humanized size format。

Functional Features

  • show GitHub File and folder size
  • Automatically recursively calculate the total folder size
  • In the file/Display size visually next to the folder link

How to use

  • Make sure the configuration is valid GitHub Personal access token(GITHUB_TOKENHereGenerate a new token,To avoid API Request restrictions。
  • Open any GitHub Warehouse page,The script will run automatically,And in the file/Display size next to folder link。

💖 The script referenced or used the following script:

GitHub File Size Viewer

2025.05.26 2025.05.26

Help

Recommended browser and script manager:

  • Greasemonkey + Waterfox
  • Tampermonkey/Violentmonkey + Firefox
  • Tampermonkey/Violentmonkey + Chrome
  • Userscripts + ios Safari
  • Violentmonkey/KiWiBrowser + Android

If you need to learn more about how to install user scripts,Click meView the teaching of pictures and texts!

View all publish scripts

长期地址
遇到问题?请前往 GitHub 提 Issues。