Author: tushargururaj
Version: 0.0.1
Type: Dify Plugin Tool
GitHubRepoIntel is a comprehensive GitHub repository intelligence tool that provides advanced repository analysis, health scoring, technology stack extraction, contributor insights, and competitive analysis with optimized performance.
- Advanced Repository Analysis: Health scores based on commit frequency, contributor diversity, and issue resolution time
- Complete Tech Stack Extraction: Analysis of package.json, requirements.txt, Dockerfile, and other configuration files
- Detailed Contributor Analysis: Code quality metrics, contribution distribution, and developer expertise levels
- Competitive Repository Comparison: Side-by-side analysis of multiple repositories (up to 3)
- Trending Analysis: Identification of popular and emerging repositories
- Intelligent Rate Limiting: Request batching and priority queuing
- Graceful Degradation: Fallback to simpler alternatives when approaching rate limits
- Basic repository search and discovery
- Simple repository information (stars, forks, language)
- Basic contributor counts
- Lightweight developer profiles
- Repository metadata analysis
- Clone or download this plugin to your Dify plugins directory
- Install dependencies:
pip install -r requirements.txt
- Configure the plugin in Dify
To access enhanced features:
- Go to GitHub Settings > Developer settings > Personal access tokens
- Generate a new token with appropriate scopes
- Add the token to your plugin configuration
Note: The plugin works without authentication but with limited functionality.
Search for Python machine learning repositories
Analyze microsoft/vscode
Find trending repositories in AI
Compare facebook/react vs vuejs/vue
microsoft/vscode # Auto-detects as repository analysis
machine learning python # Auto-detects as repository search
trending repositories in web dev # Auto-detects as trending analysis
react vs angular # Auto-detects as repository comparison
The plugin automatically detects the type of analysis needed and uses the appropriate GitHub API endpoints:
/search/repositories- Repository search/repos/{owner}/{repo}- Repository details/repos/{owner}/{repo}/languages- Language statistics/repos/{owner}/{repo}/contributors- Contributor information/repos/{owner}/{repo}/commits- Commit history/repos/{owner}/{repo}/issues- Issue tracking/repos/{owner}/{repo}/contents- File contents
The plugin includes intelligent rate limiting and will gracefully degrade functionality when approaching limits.
All responses include:
- Structured JSON data optimized for AI processing
- Confidence scores for analysis accuracy
- Data freshness timestamps
- Actionable insights and recommendations
- Rate limit status
- Token-Efficient: Optimized descriptions and parameters to minimize context usage
- Smart Caching: Intelligent request management to avoid redundant API calls
- Efficient Comparison: Limited to 3 repositories for optimal performance
- Graceful Fallbacks: Automatic degradation when rate limits are approached
- Rate Limit Exceeded: Wait for the rate limit to reset or upgrade to authenticated tier
- Repository Not Found: Verify the repository name format (owner/repo)
- Authentication Error: Check your GitHub Personal Access Token
- Network Timeout: Check your internet connection and try again
- Clear error messages explain whether limitations are due to authentication tier or temporary API issues
- Graceful fallback to simpler alternatives when complex queries fail
Contributions are welcome! Please feel free to submit issues and pull requests.
This project is licensed under the MIT License.
For support and questions, please open an issue on the GitHub repository.