Github Repo Size+

Adds the repo size next to the repo name on github search and repo pages

目前為 2024-08-01 提交的版本,檢視 最新版本

作者
人民的勤务员
評價
0 0 0
版本
0.1.2.1
建立日期
2024-07-31
更新日期
2024-08-01
尺寸
6.6 KB
授權條款
MIT
腳本執行於

人民的勤务员/UserScripts

Gmail

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

Github commit forks stars Issue license CopyRight JavaScript Support **Tampermonkey OK** **Violentmonkey OK** **FireMonkey OK**

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. Replace the value of the TOKEN constant at the top of the script with 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

QingJ © 2025

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