Why ghif?
🤖 LLM-Ready Format
Issues are converted to structured formats (Markdown/XML) that are optimized for LLM processing
📚 Context-Rich Development
Feed your LLM with real project context from issues and discussions
⚡️ Efficient Workflows
Integrate with your favorite AI tools to analyze issues, generate code, or get development insights
💾 Local Knowledge Base
Build a searchable archive of project issues for offline access and AI processing
Installation
macOS
Using Homebrew:
brew tap kiwamizamurai/tap
brew install ghif
Or download the binary directly from GitHub Releases and add it to your PATH.
Quick Usage
# In your GitHub repository directory
ghif
# Specify repository
ghif --repository owner/repo
# Choose output format
ghif --format markdown # default
ghif --format xml
# Fetch specific issues
ghif --issues 1,2,3
Note: A GitHub Personal Access Token is recommended for higher API rate limits.
Set it in your environment:
export GITHUB_TOKEN=$(gh auth token)
Integration with LLM Workflows
📊 Issue Analysis
- Identify patterns and common problems
- Get AI-powered issue summaries
- Generate task breakdowns
💻 Code Generation
- Generate relevant code snippets
- Get solutions based on similar issues
- Auto-generate tests
🗄️ Knowledge Management
- Build local knowledge base
- Enable semantic search
- Train custom models