GitHub Ingest Button

Add an "Ingest" button to GitHub repo pages with improved visual alignment.

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Nighthawk42
1日のインストール数
0
累計インストール数
3
評価
0 0 0
バージョン
1.3
作成日
2025/01/17
更新日
2025/01/17
大きさ
3.43KB
ライセンス
MIT
対象サイト

**GitHub Ingest Button Userscript**

This userscript adds an **Ingest** button to GitHub repository pages. The button is styled to match GitHub's native action buttons (like Watch, Fork, and Star) and, when clicked, takes you to GitIngest—a tool that provides LLM-friendly prompts based on the current repository.

Key features include:
- **Dynamic UI Injection:** The button is inserted into the GitHub header actions area and re-inserted if GitHub's dynamic navigation (e.g., PJAX) replaces parts of the page.
- **SVG Icon:** A custom SVG icon is used for visual consistency.
- **URL Parsing:** The script extracts the repository information from the current URL to correctly construct the GitIngest URL.
- **Retry Mechanism:** If the GitHub header actions area is not immediately available, the script retries until it can insert the button.

Enjoy a seamless integration with GitHub and streamlined access to GitIngest!