GitHub Top Forks Viewer

Display top 5 most starred forks in the sidebar of GitHub repository pages

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
maya1900
Dziennych instalacji
0
Wszystkich instalacji
2
Oceny
0 0 0
Wersja
1.2
Utworzono
03-05-2026
Zaktualizowano
07-05-2026
Rozmiar
8,52 KB
Licencja
MIT
Dotyczy

## 中文

篡改猴脚本,在 GitHub 仓库页面右侧栏显示该仓库被 fork 后 star 数最多的前 5 个项目。

### 功能

- 在仓库页右侧栏 Languages 下方显示 Top 5 fork
- 支持按 Stars / Newest / Watchers 排序
- 排序偏好跨会话保存
- 5 分钟本地缓存,减少 API 请求
- 兼容 GitHub SPA 导航

### 安装

1. 安装 [Tampermonkey](https://www.tampermonkey.net/) 浏览器扩展
2. 点击篡改猴图标 → 添加新脚本
3. 粘贴 `github-top-forks.user.js` 的内容并保存

### 使用

打开任意 GitHub 仓库页面(如 `https://github.com/owner/repo`),右侧栏 Languages 下方会自动显示 fork 列表。

点击标题栏右侧下拉菜单可切换排序方式。

---

## Screenshot

```
┌─ Top Forks ────── [Stars ▾] ─┐
│ 🔵 user-a ★ 128 │
│ 🔵 user-b ★ 64 │
│ 🔵 user-c ★ 32 │
│ 🔵 user-d ★ 16 │
│ 🔵 user-e ★ 8 │
└───────────────────────────────┘
```

## License

MIT