GitCompare is a modern, responsive full-stack platform designed to compare developer profiles side-by-side. It parses user public repositories, contribution calendars, streaks, and programming languages to rank developers, award performance badges, compare code repositories, and generate downloadable PDF summaries.
Built specifically for GSSoC contributors, this repository is fully ready for developer collaboration.
- Side-by-Side Comparison: Compares bio parameters, repositories, forks, watchers, stars, pull requests, and issues.
- Language Analysis: Visually tracks primary programming language usage percentages.
- Capability Radar Chart: Identifies code output, OSS impact, community size, consistency, and growth shapes.
- Repository Comparisons: Inputs two repositories in
owner/repoformats to map issue count, forks, size, and stargazers. - Leaderboard Table: Locally saves comparisons and ranks them dynamically by developer score.
- Analytics Scorecard: Calculates a developer's score out of 100 based on contributions, consistency, and community metrics.
- Report Exports: Renders client-side downloadable PDF summary sheets.
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS (v4)
- Charts: Recharts
- PDF Engines: html2canvas + jsPDF
- Theme Support: next-themes (Dark / Light mode support)
Follow these simple steps to run GitCompare locally:
- Clone the repository:
git clone https://github.com/YOUR_USERNAME/GitCompare.git cd GitCompare - Install dependencies:
npm install
- Environment Setup:
Create a
.env.localfile at the root of the project:Note: Personal Access Tokens can be generated in GitHub Developer settings. They raise the API query limit from 60 to 5,000 requests/hour.GITHUB_TOKEN=your_personal_access_token_here
- Start the local server:
npm run dev
- Preview the app: Open http://localhost:3000 on your local browser.
src/
├── app/ # Route layouts, pages and API endpoints
├── components/ # Reusable layout and custom visual cards
├── features/ # Feature logic
├── hooks/ # Custom React state hooks
├── lib/ # GitHub REST/GraphQL connection utilities
├── services/ # Analytics and leaderboard database controllers
├── types/ # TypeScript interfaces
├── utils/ # Date/number formatting and algorithms
We welcome all contributions! Please review our Contributing Guide and Code of Conduct before getting started.
If you are looking for issue ideas, checkout ISSUES.md which lists over 50 structured developer tasks categorized by difficulty label.

