您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Displays the total size of files in a GitHub repository (excluding .git directory) next to the repo name, using smart caching.
当前为
Displays the total size of repository files (excluding the .git
directory) directly on GitHub repository pages, next to the Public/Private label.
Why? GitHub doesn't show the total size of the checked-out code easily. This script calculates it using the GitHub API, giving you a quick understanding of a project's codebase size before you clone it.
repo
(or public_repo
) scope to interact with the GitHub API respectfully and avoid rate limits. It will prompt you if one isn't found and store it securely using your userscript manager (GM_setValue
). You can also set/update it via the script's menu command.blobs
) reported by the API. It handles potentially truncated results from the API for very large repositories.14.3 MB
, 2.1 GB
) next to the repo's Public/Private label.
(loading...)
or (validating...)
during checks.PAT Required
or other errors if issues occur.~
prefix (e.g., ~1.5 GB
) if the API indicated the file list was truncated (size is approximate)..git
directory for a practical code size estimate.repo
scope (or at least public_repo
if you only browse public repositories).repo
(or just public_repo
for public repos only).~
symbol before the size in these cases, indicating it's a minimum estimate based on the data received.QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址