Github 倉庫大小

在 github 搜尋和儲存庫頁面上的儲存庫名稱旁邊新增儲存庫大小

目前為 2024-09-06 提交的版本,檢視 最新版本

作者
人民的勤务员
評價
0 0 0
版本
0.1.2.48
建立日期
2024-07-31
更新日期
2024-09-06
尺寸
16.6 KB
授權條款
MIT
腳本執行於
UserScripts

人民的勤务员/UserScriptsGithub:@ChinaGodMan

The script comes from the vast number of netizens on the Internet,I just made some changes.Thanks netizens If there is any infringement,Contact must be deleted,The script of the orderly can be modified at will.
Gmail

GreasyFork Total Installs Total Daily Installs Scripts Count Good Ratings Ok Ratings Bad Ratings

Github commit forks Issue license CopyRight


starsStar MePlease give me some stars

Add chicken legs to the orderly

githubShow warehouse size

「 existGithubShow warehouse size when viewing and searching warehouses 」

Views

Download:Github | ⭐Greasy Fork

Update record
  • 2024/8/20 05:28 - Ver: 0.1.2.26
  • GitHub Repo Size DisplayUse the setup interface of this script。
  • 2024/8/13 00:19 - Ver: 0.1.2.18
  • Add script menu→set upGitHubTokeninterface,No need to modify within the code.
  • 2024/8/12 21:56 - Ver: 0.1.2.17
  • #254059Added to user profile repository list andorgList shows warehouse size.
  • 2024/8/5 05:18 - Ver: 0.1.2.8
  • #254059The original author’s token is invalid and the public repository cannot be accessed..How to fix it:Remove original author token, GithubGenerated public tokens are always cleared, Just don’t add it
  • 2024/8/1 03:43 - Ver: 0.1.2
  • Fix the problem of failure in search page
    Fixed the problem of not displaying when viewing other warehouses(increase delay)

Github Repo Size

A userscript that adds the size of Github repositories to the search results and repository pages.

Preview

preview1.png preview2.png

Prerequisites

To use this script, you will need a userscript manager. Some popular choices are:

Installation

  1. Install Tampermonkey or your preferred userscript manager.
  2. Install the script from here.
  3. (Optional) If you want to view the sizes of private repositories, see the instructions below.

View Private Repositories Size

By default, this script will only display the sizes of public repositories. To display the sizes of private repositories, you will need to generate a new personal access token with the repo scope. This token will be used to authenticate with the Github API.

  1. Generate a new token here.
  2. Give the token a name and check the repo scope.
  3. Click on the Generate token button and copy the token.
  4. Click the script menu Set GitHub Token and fill in the token you just generated.

Usage

This script will automatically run on Github search pages and repository pages, and will display the repository size next to the repository name.

Change description

Fix the problem of failure in search page Fixed the issue of not displaying when viewing other warehouses (increased delay)

grateful

The script is modified from the user mshll's script Github Repo Size Thanks to the original The hard work and wisdom of the author mshll

Github Repo Size+ Update Record

  • 2024/8/20 05:28 - Ver: 0.1.2.26

  • 2024/8/13 00:19 - Ver: 0.1.2.18

    • Added script menu → GitHubToken settings interface, no need to modify in the code.
  • 2024/8/12 21:56 - Ver: 0.1.2.17

    • #254059 Added repository size display in user profile repositories and org lists.
  • 2024/8/5 05:18 - Ver: 0.1.2.8

    • #254059 The original author's token expired, causing inability to access public repositories. Fix: Deleted the original author's token. GitHub-generated public tokens are always cleared, so decided not to add them.
  • 2024/8/1 03:43 - Ver: 0.1.2

    • Fixed issue with search page failure
      Fixed issue with repository display when viewing other repositories (added delay)

GitHubRelated scripts

  • GitHubSubmit information displayHTML: This script will GitHub The submission information on HTML view,to see submission details more clearly。It will automatically submit the information list、The commit header and latest commit information are converted to HTML Format,Provide better visual effects and user experience。
  • GitHubFolder download: Add a download button,Allows easy downloading of specific GitHub folder。
  • GitHubDownload single files and copy filesURL: Add button at the end of each file line,to copy the original file URL and download files
  • githubShow warehouse size: existGithub查看仓库和搜索仓库时Show warehouse size
  • GitHub Sort by Date: Change the sorting method of warehouse list files to descending date order,Conveniently view the latest updated files。

Help

More user scripts / back to top↑

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址