GitIngest - 将Git仓库转换为LLM提示

将任何Git仓库转换为LLM友好的文本摘要。通过将hub替换为ingest来访问相应的摘要。

当前为 2025-10-04 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

作者
138 Aspen
评分
0 0 0
版本
1.0.1
创建于
2025-09-13
更新于
2025-10-04
大小
22.5 KB
许可证
MIT
适用于

ALTERNATTIVE: https://repomix.com/

           

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.