|
1 | | -# 🚀 github-ranker |
| 1 | +# 🏆 GitHub Ranker — Real-Time Developer Impact Leaderboard |
2 | 2 |
|
3 | | - |
4 | | - |
5 | | - |
| 3 | +[](https://python.org) |
| 4 | +[](https://docs.github.com/en/rest) |
| 5 | +[](LICENSE) |
6 | 6 |
|
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. |
8 | 8 |
|
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 | +--- |
10 | 10 |
|
11 | | -## ✨ Key Features & Architecture |
| 11 | +## 📌 Scoring Methodology |
12 | 12 |
|
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: |
15 | 14 |
|
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 | +``` |
17 | 39 |
|
18 | | -- **Core Language:** `Python` |
19 | | -- **Libraries & Tools:** Python |
20 | | -- **Deployment Infrastructure:** Vercel Edge / Cloud Services |
| 40 | +--- |
21 | 41 |
|
22 | | -## 📁 Architecture & File Layout |
| 42 | +## 📁 Repository Structure |
23 | 43 |
|
24 | 44 | ```text |
25 | 45 | 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 |
41 | 51 | ``` |
42 | 52 |
|
43 | | -## 🚀 Quickstart & Installation |
| 53 | +--- |
| 54 | + |
| 55 | +## 🚀 Getting Started |
| 56 | + |
| 57 | +### 1. Installation |
| 58 | +Clone the repository: |
44 | 59 |
|
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 |
48 | 63 |
|
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: |
50 | 69 |
|
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 | +``` |
56 | 73 |
|
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 | +``` |
61 | 78 |
|
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. |
66 | 81 |
|
67 | | -## 📜 Author & License |
| 82 | +--- |
68 | 83 |
|
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