{"id":21625167,"url":"https://github.com/ohcnetwork/leaderboard","last_synced_at":"2025-04-05T04:12:11.813Z","repository":{"id":37015601,"uuid":"495026880","full_name":"ohcnetwork/leaderboard","owner":"ohcnetwork","description":"Leaderboard collects data from GitHub and Slack to show off the work of our open source contributors","archived":false,"fork":false,"pushed_at":"2025-03-30T10:12:01.000Z","size":1914,"stargazers_count":25,"open_issues_count":19,"forks_count":97,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-01T20:15:57.333Z","etag":null,"topics":["hacktoberfest","nextjs","tailwindcss"],"latest_commit_sha":null,"homepage":"https://contributors.ohc.network/","language":"TypeScript","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/ohcnetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-22T10:27:30.000Z","updated_at":"2025-03-30T10:13:44.000Z","dependencies_parsed_at":"2023-02-19T14:31:30.204Z","dependency_job_id":"2fb756ec-16b9-4dd8-950f-da30395d9e97","html_url":"https://github.com/ohcnetwork/leaderboard","commit_stats":{"total_commits":452,"total_committers":55,"mean_commits":8.218181818181819,"dds":0.6460176991150443,"last_synced_commit":"f91feaacce062672046167e24b43ee09b2a604e5"},"previous_names":["ohcnetwork/leaderboard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fleaderboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fleaderboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fleaderboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fleaderboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohcnetwork","download_url":"https://codeload.github.com/ohcnetwork/leaderboard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284951,"owners_count":20913704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hacktoberfest","nextjs","tailwindcss"],"created_at":"2024-11-25T01:08:17.729Z","updated_at":"2025-04-05T04:12:11.792Z","avatar_url":"https://github.com/ohcnetwork.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A simple leaderboard app built with Next.js and Tailwind CSS to list the top contributors of a GitHub organization.\n\n\u003cimg width=\"1822\" alt=\"image\" src=\"https://github.com/ohcnetwork/leaderboard/assets/25143503/6352a4cf-4b8b-4f80-b45c-6af323ee502e\"\u003e\n\n## Getting Started\n\n### Prerequisites\n\nEnsure that `pnpm` is installed on your device. You can check the steps for installation here. [Docs Link](https://pnpm.io/installation)\n\n### Starting the development server\n\nInstall dependencies:\n\n```bash\npnpm install\n```\n\nNow run the development server:\n\n```bash\npnpm dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n### Troubleshooting\n\nIf you encounter any issues during setup, refer to the following troubleshooting tips:\n\n- **Error: GITHUB_PAT is not configured in the environment. Request quota exhausted for request POST /graphql**\n\n  - If you're facing this error for new contributors, follow these steps:\n\n    1. Instead of running `pnpm dev`, create your own GitHub access token. [Read Steps here](https://docs.github.com/en/enterprise-server@3.9/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens).\n    2. Run the following command instead:\n\n       ```bash\n       GITHUB_PAT=\u003cYOUR_KEY\u003e pnpm dev\n       ```\n\n  - Alternatively, if you have the `gh cli` installed and configured on your device, you can run the following command without creating an access token:\n\n    ```bash\n    GITHUB_PAT=$(gh auth token) pnpm dev\n    ```\n\n### Installing packages\n\nTo install new packages, run the following command:\n\n```bash\npnpm add \u003cpackage_name\u003e\n```\n\n\u003e _You can get more info about `pnpm` through their official docs [pnpm docs](https://pnpm.io/motivation)_\n\n## How to add a new member?\n\nCreate a new markdown file with the GitHub user name in the `contributors` folder. For example, if you want to\nadd `john-doe` as a contributor, and create a file named `john-doe.md` in the `contributors` folder.\n\nThe file should contain the following content:\n\n```md\n---\nname: John Doe\ntitle: Full Stack Developer\ngithub: john-doe\ntwitter: john-doe\nlinkedin: john-doe\nslack: U02TDGQQPMJ\njoining_date: \"09/05/2022\"\nrole: contributor\n---\n\n** A Bio about John Doe **  \n_Passionate about creating scalable and distributed systems for the power grid and interested in contributing to open\nsource digital public goods._ (supports markdown)\n```\n\nAll members marked with `role: core` and `role: operations` will be hidden from the leaderboard section by default. You can toggle their visibility by changing filters.\n\nYou will be able to see the user's profile page at `http://localhost:3000/contributors/john-doe`.\n\n# Customizing the app\n\n1. To add or remove a badge, edit the `config/GraduateAttributes.ts` file.\n\n2. To Setup the repo for a new org, update\n   the [scraper config](https://github.com/ohcnetwork/leaderboard/blob/060d88f1caf2190792beffaa464a2a48bfa6f2db/.github/workflows/scraper.yaml#L40) and update the `DATA_SOURCE` variable in the `.env` file to match the repo containing your organization data.\n\n3. To change the colors, fonts, or plugins edit the `tailwind.config.js` file.\n\n## Environment Variables\n\n| Variable                          | Description                                                                                                     | Default                                                                                                                                                                                                                                                                                                                                                                                                         | Optional? |\n| --------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |\n| **NEXT_PUBLIC_ORG_NAME**          | Will be displayed in the navbar                                                                                 | ohc.network                                                                                                                                                                                                                                                                                                                                                                                                     | No        |\n| **NEXT_PUBLIC_ORG_INFO**          | Will be displayed in the \"What do we do?\" section.                                                              | Open Healthcare Network is a free and open-source disaster management system that is used by National Health Mission, Government of India and various state governments for reimaging digital war rooms. The solution that students got an opportunity to intern with has supported 3.34Lac patient management and 1.29 Lac ambulance shiftings and is approved by the United Nations as a Digital Public Good. | Yes       |\n| **NEXT_PUBLIC_ORG_LOGO**          | Will be displayed in the footer.                                                                                | /logo.webp                                                                                                                                                                                                                                                                                                                                                                                                      | No        |\n| **NEXT_PUBLIC_META_TITLE**        | Metadata title                                                                                                  | Open Healthcare Network                                                                                                                                                                                                                                                                                                                                                                                         | No        |\n| **NEXT_PUBLIC_META_IMG**          | Metadata img                                                                                                    | /logo.webp                                                                                                                                                                                                                                                                                                                                                                                                      | No        |\n| **NEXT_PUBLIC_META_DESCRIPTION**  | Metadata description                                                                                            | ohc.network Leaderboard tracks the weekly progress of all ohc.network contributors.                                                                                                                                                                                                                                                                                                                              | No        |\n| **NEXT_PUBLIC_META_URL**          | Metadata url                                                                                                    | https://leaderboard.ohc.network                                                                                                                                                                                                                                                                                                                                                                                 | No        |\n| **NEXT_PUBLIC_PAGE_TITLE**        | Will be displayed in page title.                                                                                | OHC Network Contributors                                                                                                                                                                                                                                                                                                                                                                                        | No        |\n| **NEXT_PUBLIC_CONTRIBUTORS_INFO** | Will be displayed next to \"Our Contributors\" section. You can use it to display a note about your contributors. |                                                                                                                                                                                                                                                                                                                                                                                                                 | Yes       |\n| **DATA_SOURCE**                   | Url for data repository                                                                                         | https://github.com/ohcnetwork/leaderboard-data.git                                                                                                                                                                                                                                                                                                                                                              | Yes       |\n| **NEXT_PUBLIC_FEATURES**                   | These features will be displayed                                                                                    | Leaderboard,Contributors,Feed,Releases,                                                                                                                               | Yes       |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohcnetwork%2Fleaderboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohcnetwork%2Fleaderboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohcnetwork%2Fleaderboard/lists"}