GitIngest - Turn any Git repo to LLM prompt

Turn any Git repository into a prompt-friendly text ingest for LLMs. By replacing hub with ingest to access a corresponding digest.

Author
138 Aspen
Daily installs
0
Total installs
0
Ratings
0 0 0
Version
1.0.1
Created
2025-09-13
Updated
2025-09-13
Size
22.5 KB
License
MIT
Applies to

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。