GitHub to Gitingest Button

Adds a Gitingest button to GitHub repository pages (works on all repo paths)

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
abd3lraouf
日安装量
0
总安装量
0
评分
0 0 0
版本
1.0
创建于
2025-12-25
更新于
2025-12-25
大小
5.8 KB
许可证
MIT
适用于

GitHub to Gitingest Button

A Tampermonkey/Greasemonkey userscript that adds a Gitingest button to GitHub repository pages.

Gitingest converts GitHub repositories into LLM-friendly text digests, perfect for feeding codebases to AI assistants.

Features

  • Adds a native-looking GitHub button next to the "Copy path" button
  • Works on all repository pages including:
    • Main repo page: github.com/owner/repo
    • Subdirectories: github.com/owner/repo/tree/main/src
    • Files: github.com/owner/repo/blob/main/README.md
    • Branches: github.com/owner/repo/tree/develop
  • Handles GitHub's SPA navigation (button persists across page changes)
  • Uses GitHub's Primer design system for consistent styling

Installation

  1. Install Tampermonkey (Chrome/Edge/Firefox/Safari)
  2. Click the link below to install:

Install Script

  1. Click "Install" in the Tampermonkey dialog

Screenshot

The button appears next to the copy path button in the repository header:

konsist-documentation / advanced /  [📋] [Gitingest]

How it works

  1. Detects if you're on a GitHub repository page
  2. Finds the breadcrumb/header area
  3. Inserts a button styled like GitHub's native buttons
  4. Clicking opens gitingest.com with the same path in a new tab

Credits

Based on the original script by Doiiars.

License

MIT