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

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

作者
138 Aspen
今日安裝
0
安裝總數
0
評價
0 0 0
版本
1.0.1
建立日期
2025-09-13
更新日期
2025-09-13
尺寸
22.5 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.

长期地址
遇到问题?请前往 GitHub 提 Issues。