Github Lagerstørrelse

eksistere github Tilføj lagerstørrelse ud for lagernavn på søge- og lagersider

Fra og med 04.09.2024. Se den nyeste version.

Skaber
人民的勤务员
Bedømmelser
0 0 0
Version
0.1.2.46
Oprettet
31.07.2024
Opdateret
04.09.2024
Size
16,6 kB
Licens
MIT
Gælder for
UserScripts

人民的勤务员/UserScriptsGithub:@ChinaGodMan

脚本来自互联网广大网友,本人仅是做了些许改动.感谢网友 如有侵权,联系必删,勤务员的脚本可供随意修改.
Gmail

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

Github commit forks Issue license CopyRight


starsStar Me请给我点星

给勤务员加鸡腿

github显示仓库大小

「 在Github查看仓库和搜索仓库时显示仓库大小 」

Download:Github | ⭐Greasy Fork

更新记录
  • 2024/8/20 05:28 - Ver: 0.1.2.26
  • GitHub Repo Size Display使用该脚本的设置界面。
  • 2024/8/13 00:19 - Ver: 0.1.2.18
  • 增加脚本菜单→设置GitHubToken界面,无需在代码内修改.
  • 2024/8/12 21:56 - Ver: 0.1.2.17
  • #254059增加在用户资料仓库列表和org列表显示仓库大小.
  • 2024/8/5 05:18 - Ver: 0.1.2.8
  • #254059原作者令牌失效导致无法访问公共仓库.修复方式:删除原作者令牌, Github生成的公共令牌总是被清除, 干脆不添加得了
  • 2024/8/1 03:43 - Ver: 0.1.2
  • 修复在搜索页面失效问题
    修复查看其他仓库时不显示(增加延时)

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)

使用帮助

更多用户脚本 / 回到顶部↑