Skip to content

Sanu700/RepoLens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔍 RepoLens

Analyze any GitHub repository or developer profile instantly. Deep analytics, productivity scores, AI-powered insights, and improvement suggestions — all in one dashboard.

RepoLens Dashboard React Node.js GitHub API License: MIT Deploy on Vercel Deploy on Render


🌐 Live Demo

🚀 repo-lens-ivory.vercel.app

Try it with: torvalds · gaearon · sindresorhus · Sanu700


✨ Features

  • 📊 Repository Overview — Stars, forks, contributors, commits, languages, last activity
  • 📈 Analytics Charts — Commit timeline, language distribution, contributor activity
  • 🏆 Productivity Score — 0–100 score based on 6 key health metrics
  • 👤 Profile Analysis — Dev persona, skill radar, coding habits, and profile improvement suggestions
  • 💡 Smart Insights — Auto-generated observations about repo health
  • 🛠️ Improvement Suggestions — Prioritized, actionable recommendations
  • Fast — Parallel API calls for sub-second analysis

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • GitHub Personal Access Token (optional, increases API rate limits)

Installation

git clone https://github.com/Sanu700/RepoLens
cd RepoLens

Backend

cd backend
npm install

# Optional: create .env for GitHub token
echo "GITHUB_TOKEN=your_token_here" > .env
echo "PORT=3001" >> .env

npm run dev

Frontend

cd frontend
npm install
npm start

Open http://localhost:3000 and paste any GitHub repo URL!


🏗️ Project Structure

repolens/
├── backend/
│   └── src/
│       ├── index.js              # Express server
│       ├── routes/repo.js        # /api/repo/analyze endpoint
│       ├── services/
│       │   ├── github.js         # GitHub REST API calls
│       │   └── analytics.js      # Scoring & insights engine
│       └── utils/parseUrl.js     # GitHub URL parser
└── frontend/
    └── src/
        ├── App.js
        └── components/
            ├── LandingPage.js    # Home screen with URL input
            ├── Dashboard.js      # Full analytics dashboard
            ├── ScoreRing.js      # Animated productivity score
            └── Charts.js         # Recharts visualizations

📊 Productivity Score Breakdown

Metric Max Points
Commit Frequency 20
Recent Activity 20
Contributor Count 15
Issue Resolution Rate 15
Documentation Presence 15
Community Engagement 15
Total 100

🛠️ Tech Stack

Layer Technology
Frontend React 18, Recharts, Lucide Icons
Backend Node.js, Express
Data GitHub REST API v3
Styling CSS-in-JS with CSS variables

🤝 Contributing

PRs welcome! See CONTRIBUTING.md for guidelines.


🚀 Deployment

Full step-by-step guide in DEPLOYMENT.md.

Quick version:

  • Backend → Render (free, set Root Dir to backend)
  • Frontend → Vercel (free, set Root Dir to frontend)
  • Keep alive → UptimeRobot (free, ping /health every 5 min)

📄 License

MIT © 2026 RepoLens Contributors — see LICENSE for details.

You're free to use, modify, and distribute this project. Just keep the copyright notice. ⭐ A star is always appreciated!

About

Analyze any GitHub repository in real time — commit trends, contributor stats, language breakdown, and health metrics.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors