您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Displays Gists (including private ones) in a compact view with clickable links, visibility status, and last update date
### Script Description
This **Tampermonkey** script displays a user's GitHub Gists in a compact format on their Gist page. It shows:
- The total number of Gists.
- A clickable link for each Gist title.
- The visibility (public or private) of each Gist.
- The last creation or modification date.
It uses the **GitHub API** to fetch the Gists and replaces the original Gist view with this compact layout.
### How to Get the Personal Access Token (PAT)
1. **Log in to GitHub** and go to **Settings** > **Developer settings** > **Personal access tokens**.
2. Click **Generate new token**, give it a name, and select the **gist** scope.
3. Click **Generate token** and copy the token.
4. In the script, replace `YOUR_PERSONAL_ACCESS_TOKEN_HERE` with your token.
This token allows the script to access both public and private Gists.