Advanced GitHub Code Review Intelligence Dashboard
PR analysis, AI review comments, audit exports, trends, and multi-language code fixing.
ReviewForge X converts GitHub repository and pull request activity into a clear, visual intelligence report.
Instead of manually scanning every file, you get an instant quality/risk overview with hotspot-level review guidance.
- Accepts both repository URLs and pull request URLs.
- Auto-detects analysis mode (
repoorpr). - Evaluates commit behavior, collaboration, ownership concentration, and docs drift.
- Generates a score from
0-100. - Classifies result into
Elite,Healthy,Watch, orCritical.
- Risk signals:
- Ownership Concentration
- Volatility Pressure
- Collaboration Fragility
- Documentation Drift
- Review DNA categories:
- Complexity
- Resilience
- Collaboration
- Documentation
- Detects high-risk files from change patterns.
- Ranks hotspots by risk index.
- Produces AI-assisted review comments per hotspot:
- severity
- rationale
- actionable review notes
- Sign in with GitHub using OAuth.
- Uses session token for private repo and private PR access.
- Export each run as:
- JSON
- Includes score, signals, insights, hotspots, and recommendations.
- Tracks code-health trends over saved analysis runs.
- Shows average score and trend delta per team key.
- Supported languages:
- TypeScript
- JavaScript
- Python
- C
- C++
- C#
- Ruby
- SQL
- MySQL
- PostgreSQL
- TS/JS includes local diagnostics.
- LLM-powered fixing works with provider keys.
- OpenRouter and OpenAI support.
- Auto-routing for OpenRouter-style keys (
sk-or-v1-...). - Graceful fallback with clear messages when quota/key is missing.
- GitHub-inspired dark neon theme.
- Glass cards, glowing accents, animated logo presentation.
- Next.js (App Router)
- TypeScript
- Tailwind CSS
- NextAuth (GitHub OAuth)
- GitHub REST API
- PDFKit (PDF report generation)
- OpenAI/OpenRouter Chat Completions API
Analyze repo or PR.
Body
{
"inputUrl": "https://github.com/owner/repo OR https://github.com/owner/repo/pull/123"
}Fix pasted code with diagnostics + LLM assistance.
Body
{
"code": "your code here",
"language": "typescript"
}Download saved report.
Get team leaderboard and trend data.
GitHub OAuth auth handlers.
npm install
npm run devOpen: http://localhost:3000
Create .env.local in project root:
# GitHub OAuth
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
NEXTAUTH_SECRET=your_random_secret
# Optional: direct GitHub token for API limits
GITHUB_TOKEN=your_github_token
# LLM Provider (recommended: OpenRouter)
OPENROUTER_API_KEY=your_openrouter_key
OPENROUTER_MODEL=openai/gpt-4o-mini
OPENROUTER_SITE_URL=http://localhost:3000
OPENROUTER_APP_NAME=ReviewForge X
# Optional OpenAI fallback
OPENAI_API_KEY=your_openai_key
OPENAI_MODEL=gpt-4o-miniapp/page.tsx- main dashboard UIapp/leaderboard/page.tsx- trend leaderboard UIapp/api/analyze/route.ts- repo/PR analysis pipelineapp/api/fix-code/route.ts- pasted code fixer APIapp/api/reports/export/route.ts- PDF/JSON export APIapp/api/leaderboard/route.ts- leaderboard APIapp/api/auth/[...nextauth]/route.ts- OAuth handler
- Inline diff-level comment generation per PR file chunk
- Team/org-level dashboards with richer ownership maps
- CI integration for automatic PR gate checks
- Cached analytics for large repositories
Darshan Paapni
