GitHub affiche les tailles de fichiers et de dossiers

Affiche la taille de chaque fichier et dossier dans le référentiel GitHub. Il utilise l’API GitHub pour obtenir des détails, y compris les tailles de dossiers récursives, ce qui facilite la vision de la taille totale des répertoires imbriqués. Afficher la taille du fichier dans KB, MB ou GB

Auteur
人民的勤务员
Nombre d'installations quotidiennes
0
Nombre d'installations
3
Évaluations
0 0 0
Version
2025.5.26.1
Créer
2025-05-26
Mis à jour
2025-05-26
Taille
85 ko
Compatibilité
Compatible avec Firefox Compatible avec Chrome Compatible avec Opera Compatible avec Safari Compatible avec Edge
Licence
MIT
S'applique à

简体中文 | 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