{"id":15044064,"url":"https://github.com/kartikmehta8/reputation-framework","last_synced_at":"2026-01-29T06:33:12.049Z","repository":{"id":255820701,"uuid":"853635186","full_name":"kartikmehta8/reputation-framework","owner":"kartikmehta8","description":"A GitHub contributor ranking site using Jekyll, displaying commits, lines of code, and contributor details.","archived":false,"fork":false,"pushed_at":"2024-09-07T08:43:19.000Z","size":939,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T17:02:17.412Z","etag":null,"topics":["github-actions","github-api","jekyll","ruby"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kartikmehta8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-07T05:07:55.000Z","updated_at":"2024-09-07T16:25:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"fef10c4e-a96b-456b-91c6-489d1e62c13f","html_url":"https://github.com/kartikmehta8/reputation-framework","commit_stats":null,"previous_names":["kartikmehta8/reputation-framework"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kartikmehta8/reputation-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kartikmehta8%2Freputation-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kartikmehta8%2Freputation-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kartikmehta8%2Freputation-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kartikmehta8%2Freputation-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kartikmehta8","download_url":"https://codeload.github.com/kartikmehta8/reputation-framework/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kartikmehta8%2Freputation-framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28867101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T05:56:06.453Z","status":"ssl_error","status_checked_at":"2026-01-29T05:55:57.668Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","github-api","jekyll","ruby"],"created_at":"2024-09-24T20:50:01.511Z","updated_at":"2026-01-29T06:33:12.031Z","avatar_url":"https://github.com/kartikmehta8.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# GitHub Contributor Rankings\n\n![Banner](./assets/images/banner.webp)\n\n## Project Overview\n\nThis project is a **GitHub Contributor Ranking** system built using **Jekyll**. It displays the top contributors of any GitHub repository, ranking them based on their number of commits and lines of code contributed. Each contributor's profile includes details such as:\n- **Avatar**\n- **Name**\n- **Bio**\n- **Location**\n- **Number of followers**\n- **Commits**\n- **Lines of code**\n\nThe top three contributors are highlighted in **Gold**, **Silver**, and **Bronze**, making the leaderboard visually appealing and rewarding to view.\n\n### Project Goals:\n1. Provide a ranking system for contributors to any GitHub repository.\n2. Display important contributor meta information in a simple and responsive UI.\n3. Use GitHub Actions to automate fetching contributor data daily, ensuring the rankings are always up to date.\n\n## Setup Instructions\n\n### 1. Clone the Project\nTo begin, clone the repository to your local machine:\n\n```bash\ngit clone \u003crepo-link\u003e\ncd \u003crepo-directory\u003e\n```\n\n### 2. Install Jekyll\n\nEnsure that you have **Ruby** and **Bundler** installed. If you don't have them, install them using the following commands:\n```bash\nsudo apt-get install ruby-full\ngem install bundler\n```\n\nThen, install **Jekyll**:\n```bash\ngem install jekyll bundler\n```\n\n### 3. Install Dependencies\nNavigate to your project folder and install the required gems by running:\n```bash\nbundle install\n```\n\n### 4. Get Your GitHub Personal Access Token\nThis project requires a GitHub token to interact with the GitHub API. Here's how to generate one:\n1. Visit [GitHub Settings](https://github.com/settings/tokens).\n2. Click on **Generate new token**.\n3. Give the token a name and enable the following scopes:\n   - `repo`\n   - `read:user`\n4. Copy the generated token and store it securely.\n\n### 5. Configure Your Environment\n\nIn your project, you'll need to set up the GitHub token in your environment. Create an `.env` file in the project directory:\n\n```bash\ntouch .env\n```\n\nInside the `.env` file, add your GitHub token like this:\n```\nGITHUB_TOKEN=\u003cyour-personal-access-token\u003e\n```\n\n### 6. Update the Project Configuration\n\nIn the `_config.yml` file, you need to update the repository information:\n```yaml\njson:\n  - name: contributors\n    src: \"https://api.github.com/repos/\u003cuser_name\u003e/\u003crepository_name\u003e/contributors\"\n    headers:\n      Authorization: \"token {{ site.github_token }}\"\n```\n\nReplace `\u003cuser_name\u003e` and `\u003crepository_name\u003e` with the GitHub repository's owner and name. Do the same in `fetch_contributor_data.rb` line 6.\n\n### 7. Run the Fetch Script\n\nTo fetch contributor data, run the following command:\n```bash\nruby fetch_contributor_data.rb\n```\n\nThis will generate a `_data/contributors.json` file, which the Jekyll site will use to display contributor rankings.\n\n### 8. Start the Jekyll Server\n\nNow, you're ready to run the Jekyll site locally. Start the server using:\n```bash\nbundle exec jekyll serve\n```\n\nVisit `http://localhost:4000/` in your browser to see the contributor rankings.\n\n## GitHub Actions Automation\n\nThis project uses **GitHub Actions** to automate the daily update of contributor data. The action defined in `update_contributions.yml` fetches new data every day at midnight UTC and commits the updated data to the repository.\n\nTo enable this:\n1. Ensure the repository is pushed to GitHub.\n2. In the GitHub repository, go to **Settings** \u003e **Secrets** \u003e **Actions** and add your **GITHUB_TOKEN** as a secret.\n\nThe action will run automatically according to the schedule set in the `update_contributions.yml` file.\n\n## Summary\n\nThis GitHub Contributor Ranking project allows you to easily configure it for any GitHub repository. It highlights key contributor data and is fully responsive with a modern design. Automated updates ensure that the data is always fresh, making it a powerful tool for tracking and showcasing contributor efforts.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkartikmehta8%2Freputation-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkartikmehta8%2Freputation-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkartikmehta8%2Freputation-framework/lists"}