githubShow warehouse size
「 existGithubShow warehouse size when viewing and searching warehouses 」
Download:Github | ⭐Greasy
Fork
Update record
🛠️ GitHub Repo Size+ Change log
📅 2024/8/20 05:28 - Ver 0.1.2.26
New: GitHub Repo Size Display Use the setup interface of this script。
📅 2024/8/13 00:19 - Ver 0.1.2.18
New: Add script menu → set up GitHub Token interface,No need to modify within the code。
📅 2024/8/12 21:56 - Ver 0.1.2.17
New: #254059 Increased display of warehouse size in user profile warehouse list and organization list。
📅 2024/8/5 05:18 - Ver 0.1.2.8
repair: #254059 The original author’s token is invalid and the public repository cannot be accessed.。How to fix it:Remove original author token,GitHub Generated public tokens are always cleared,So no more adding。
📅 2024/8/1 03:43 - Ver 0.1.2
repair: Fix the problem of invalid search page。
repair: Fixed the issue 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
Prerequisites
To use this script, you will need a userscript manager. Some popular choices are:
Installation
- Install Tampermonkey or your preferred userscript manager.
- Install the script from here.
- (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.
- Generate a new token here.
- Give the token a name and check the
repo
scope.
- Click on the
Generate token
button and copy the token.
- 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
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下载: Add a download button,Allows easy downloading of specific GitHub 文件夹。
- 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: existGithubShow warehouse size when viewing and searching warehouses
- 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↑