GitHub to Gitingest Button

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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