Skip to content

Commit 50bffcf

Browse files
committed
docs: comprehensive architectural README upgrade based on codebase audit for github-ranker
1 parent 1415a0d commit 50bffcf

1 file changed

Lines changed: 65 additions & 50 deletions

File tree

‎README.md‎

Lines changed: 65 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,85 @@
1-
# 🚀 github-ranker
1+
# 🏆 GitHub Ranker — Real-Time Developer Impact Leaderboard
22

3-
![Language](https://img.shields.io/badge/Language-Python-blue?style=for-the-badge)
4-
![License](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)
5-
![Status](https://img.shields.io/badge/Production-Active-success?style=for-the-badge)
3+
[![Python](https://img.shields.io/badge/Python-3.10+-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://python.org)
4+
[![GitHub API](https://img.shields.io/badge/API-GitHub%20REST%20v3-181717?style=for-the-badge&logo=github&logoColor=white)](https://docs.github.com/en/rest)
5+
[![License](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](LICENSE)
66

7-
## 📌 Overview
7+
**GitHub Ranker** is a real-time developer leaderboard engine that calculates and ranks engineers based on verifiable open-source impact across GitHub.
88

9-
A real-time, verified leaderboard platform that ranks developers based on their actual GitHub impact.Join the global ranking and see where you stand against the world! 🌐 Live Leaderboard
9+
---
1010

11-
## ✨ Key Features & Architecture
11+
## 📌 Scoring Methodology
1212

13-
- **High-Performance Codebase:** Built using `Python` and modern engineering principles.
14-
- **Modular & Scalable Design:** Structured directory tree for seamless development and deployment.
13+
Unlike superficial metrics that only count vanity metrics or automated bot commits, GitHub Ranker balances multiple dimensions:
1514

16-
## 🛠️ Tech Stack & Dependencies
15+
```
16+
+--------------------------------------------------------------+
17+
| GitHub REST API v3 |
18+
+--------------------------------------------------------------+
19+
|
20+
v
21+
+--------------------------------------------------------------+
22+
| Ingestion & Verification |
23+
| Total Stars Earned | Public Repositories | PRs |
24+
| Followers Count | Verified Commits | Issues |
25+
+--------------------------------------------------------------+
26+
|
27+
v
28+
+--------------------------------------------------------------+
29+
| Weighted Composite Scoring |
30+
| Score = (Stars * 10) + (Followers * 5) + (Repos * 2) + Commits|
31+
+--------------------------------------------------------------+
32+
|
33+
v
34+
+--------------------------------------------------------------+
35+
| Cached Store: leaderboard.json |
36+
| Rendered via responsive `index.html` |
37+
+--------------------------------------------------------------+
38+
```
1739

18-
- **Core Language:** `Python`
19-
- **Libraries & Tools:** Python
20-
- **Deployment Infrastructure:** Vercel Edge / Cloud Services
40+
---
2141

22-
## 📁 Architecture & File Layout
42+
## 📁 Repository Structure
2343

2444
```text
2545
github-ranker/
26-
├── .github
27-
├── .github/ISSUE_TEMPLATE
28-
├── .github/ISSUE_TEMPLATE/bug_report.md
29-
├── .github/ISSUE_TEMPLATE/feature_request.md
30-
├── .github/PULL_REQUEST_TEMPLATE.md
31-
├── .github/workflows
32-
├── .github/workflows/ci.yml
33-
├── .gitignore
34-
├── CODE_OF_CONDUCT.md
35-
├── CONTRIBUTING.md
36-
├── LICENSE
37-
├── README.md
38-
├── app.py
39-
├── index.html
40-
├── leaderboard.json
46+
├── app.py # Ingestion engine, GitHub API aggregator & ranking calculator
47+
├── index.html # Clean, responsive leaderboard web dashboard
48+
├── leaderboard.json # Cached ranking database and verified player profiles
49+
├── LICENSE # MIT License
50+
└── README.md
4151
```
4252

43-
## 🚀 Quickstart & Installation
53+
---
54+
55+
## 🚀 Getting Started
56+
57+
### 1. Installation
58+
Clone the repository:
4459

45-
### Prerequisites
46-
- Python 3.9+
47-
- pip package manager
60+
```bash
61+
git clone https://github.com/Tarunjit45/github-ranker.git
62+
cd github-ranker
4863

49-
### Setup Instructions
64+
pip install requests python-dotenv
65+
```
66+
67+
### 2. Configure GitHub Token
68+
Set up your personal access token in `.env` to prevent rate limits:
5069

51-
1. **Clone the repository:**
52-
```bash
53-
git clone https://github.com/Tarunjit45/github-ranker.git
54-
cd github-ranker
55-
```
70+
```env
71+
GITHUB_TOKEN=ghp_your_github_token_here
72+
```
5673

57-
2. **Install dependencies:**
58-
```bash
59-
pip install -r requirements.txt
60-
```
74+
### 3. Run Ranking Update
75+
```bash
76+
python app.py
77+
```
6178

62-
3. **Execute application:**
63-
```bash
64-
python main.py
65-
```
79+
### 4. View Leaderboard
80+
Open `index.html` in your browser to view the real-time ranked roster.
6681

67-
## 📜 Author & License
82+
---
6883

69-
Architected & Developed by **[Tarunjit Biswas](https://github.com/Tarunjit45)**.
70-
Distributed under the **MIT License**.
84+
## 📄 License
85+
This project is licensed under the [MIT License](LICENSE).

0 commit comments

Comments
 (0)