A Next.js application for analyzing competition in open source GitHub projects. GitIntel helps you discover, compare, and analyze GitHub repositories to understand the competitive landscape in any technology domain.
- ✅ GitHub API integration with GraphQL and REST
- ✅ Repository search and discovery
- ✅ Trending repositories analysis
- ✅ Repository statistics and metrics
- ✅ Beginner-friendly issues discovery - Find "good first issue" labeled issues in repositories
- ✅ Advanced repository analytics with risk assessment
- ✅ Technology stack analysis and language distribution
- ✅ Contributor insights and commit activity tracking
- ✅ Comprehensive UI for repository exploration and analysis
- Deep dive analytics for any GitHub repository
- Real-time statistics including stars, forks, issues, and PRs
- Technology stack detection and dependency analysis
- Risk assessment based on maintenance activity and contributor diversity
- Detailed contributor analysis with commit history
- Active vs. inactive contributor identification
- Weekly commit activity tracking
- Top contributor rankings and statistics
- Automatically detects issues labeled with beginner-friendly keywords
- Supports multiple label variations: "good first issue", "beginner", "help wanted", etc.
- Mobile-responsive drawer interface sliding in from the right
- Direct links to GitHub issues with full context
- Issue filtering and sorting by creation date
- Historical data visualization for stars, forks, and commits
- Growth trend calculations and projections
- Monthly activity breakdowns
- Commit activity statistics
- Framework: Next.js 15 with App Router
- Language: TypeScript
- Styling: Tailwind CSS
- GitHub API: Octokit (GraphQL + REST)
- Package Manager: pnpm
- Node.js (v18 or higher)
- pnpm package manager
- GitHub Personal Access Token or GitHub App credentials
git clone https://github.com/kunal-511/gitintel
cd gitintel
pnpm install
You need to set up GitHub API access. Choose one of the following methods:
- Go to GitHub Settings > Developer settings > Personal access tokens
- Click "Generate new token (classic)"
- Select the following scopes:
public_repo
(for public repository access)read:org
(for organization data)read:user
(for user data)
- Copy the generated token
- Go to GitHub Settings > Developer settings > GitHub Apps
- Click "New GitHub App"
- Fill in the required information
- Generate a private key and download it
- Note the App ID
Create a .env.local
file in the root directory:
cp env.example .env.local
Edit .env.local
and add your credentials:
# For Personal Access Token
GITHUB_TOKEN=your_github_personal_access_token_here
# For GitHub App (alternative to token)
GITHUB_APP_ID=your_github_app_id_here
GITHUB_APP_PRIVATE_KEY=your_github_app_private_key_here
# App Configuration
NEXT_PUBLIC_APP_NAME=GitIntel
NEXT_PUBLIC_APP_DESCRIPTION=Analyze competition in open source GitHub projects
pnpm dev
Open http://localhost:3000 to see the application.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
If you encounter any issues or have questions, please open an issue on GitHub.