GitIngest - 將Git倉庫轉換為LLM提示

將任何Git倉庫轉換為LLM友好的文本摘要。通過將hub替換為ingest來訪問相應的摘要。

目前為 2025-09-13 提交的版本,檢視 最新版本

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

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

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

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

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

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

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
138 Aspen
評價
0 0 0
版本
1.0
建立日期
2025-09-13
更新日期
2025-09-13
尺寸
21.6 KB
授權條款
MIT
腳本執行於

Port the gitingest-extension browser extension to Tampermonkey script.

Core Features Ported:

  • ✅ Adds GitIngest button to GitHub repository pages
  • ✅ URL replacement (github.com → gitingest.com or custom URL)
  • ✅ Page navigation detection for SPA routing
  • ✅ Responsive button text (full/short based on screen size)
  • ✅ Proper GitHub styling integration

Settings via Tampermonkey Menu:

  • Configure custom base URL
  • Toggle open in new window
  • Reset settings to defaults

Key Changes:

  • Replaced WXT storage with Tampermonkey's GM_setValue/GM_getValue
  • Removed React popup UI (settings now via right-click menu)
  • Simplified to single file with no external dependencies
  • Kept all button styling and GitHub integration

The script will automatically inject the GitIngest button on GitHub repository pages and update when navigating between repositories. All settings are accessible through Tampermonkey's menu system.