How jewel777/repodoctor works
RepoDoctor is a Next.js application for assessing public GitHub repositories and comparing two projects. Users enter a repository on the home page to reach a health report, or submit two repositories through the comparison flow to see overall and category-level results. The shared analyzer gathers GitHub metadata and repository signals, derives health findings and scores, and supplies the report and comparison views. The README documents additional analysis areas not fully visible in the sampled excerpts; these are represented as analyzer responsibilities, not separate confirmed runtime services.
Main entry points: analyzeRepo.ts Health analyzer · [repo]/page.tsx Health report · [repoB]/page.tsx Comparison results · app/page.tsx Repository entry
Components 17
User entry
- Repository entry
app/page.tsx - Compare entry
app/compare/page.tsx
Repository analysis
- Health analyzer
lib/github/analyzeRepo.ts - GitHub API
- Repository metadata
lib/github/analyzeRepo.ts - Repository tree scan
lib/github/analyzeRepo.ts - README quality
lib/github/analyzeRepo.ts - Test detection
lib/github/analyzeRepo.ts - CI workflow checks
lib/github/analyzeRepo.ts - Security checks
lib/github/analyzeRepo.ts - Engineering checks
lib/github/analyzeRepo.ts - Release intelligence
lib/github/analyzeRepo.ts - Community health
lib/github/analyzeRepo.ts - Scores and findings
lib/github/analyzeRepo.ts
Reports and comparison
- Health report
app/report/[owner]/[repo]/page.tsx - Comparison results
app/compare/[ownerA]/[repoA]/[ownerB]/[repoB]/page.tsx
Other components
- Developer
Connections 19
- Developer → Repository entry: enters repository
README.md - Developer → Compare entry: starts comparison
README.md - Repository entry → Health report: routes to report
- Compare entry → Comparison results: routes to results
- Health report → Health analyzer: analyzes repository
app/report/[owner]/[repo]/page.tsx - Comparison results → Health analyzer: analyzes both
app/compare/[ownerA]/[repoA]/[ownerB]/[repoB]/page.tsx - Health analyzer → GitHub API: fetches signals
lib/github/analyzeRepo.ts - Health analyzer → Repository metadata: derives metadata
lib/github/analyzeRepo.ts - Health analyzer → Repository tree scan: scans paths
lib/github/analyzeRepo.ts - Health analyzer → README quality: checks README
lib/github/analyzeRepo.ts - Health analyzer → Test detection: detects tests
lib/github/analyzeRepo.ts - Health analyzer → CI workflow checks: checks workflows
lib/github/analyzeRepo.ts - Health analyzer → Security checks: checks security
README.md - Health analyzer → Engineering checks: checks engineering
README.md - Health analyzer → Release intelligence: checks releases
README.md - Health analyzer → Community health: checks community
README.md - Health analyzer → Scores and findings: produces scores
lib/github/analyzeRepo.ts - Health report → Scores and findings: renders findings
app/report/[owner]/[repo]/page.tsx - Comparison results → Scores and findings: compares scores
app/compare/[ownerA]/[repoA]/[ownerB]/[repoB]/page.tsx