Receive labelled tasks from registered social impact and civic tech repositories and convert them to JSON for static sites. Participants can search for open source contributors selected by field and publication criteria from a list.
Participation in issues related to society and civil life.
For Good First Issue, an open source site published by GitHub, is intended for social impact or civic tech-related projects.Help WantedOr notGood First IssueCollect tasks with the label and display them as candidates for participation.
By combining fields and topic labels, users can find contributions related to society and civic life in the same place.For Good First Issue aims to reduce barriers to participation when contributing to these projects.
Select the field and participation documents.
Published candidates must include social impact or civic tech related sustainable development goals they are working on in the description of the repository.
Information needed before participating, including detailed setup procedures.README.mdincluding guidelines for participation.CONTRIBUTING.mdThe condition of maintenance is the updating of 1 for less than a month, and is used to select not only the suitability of the field, but also the preparation for participation and continuing activities.
Generate JSON for display from registration paths and labels
The pass to the repository is registered file.happycommits.jsonAdd to.This file also defines extract labels for each repository and will be a condition to reduce the tasks obtained.
Creating a script.generate.tsFor registered repositories, contact GitHub API and obtain task information.generated.jsonRepository that does not meet the published conditions at the time of production processing,happycommits.jsonIt will be automatically deleted.
Connect the generated data to a static site.
A static website was created.generated.jsonThe site console consists of Next.js, React, and TypeScript, and is separated by API and generated by JSON.
This configuration uses it as a pre-generated data input instead of directly retrieving tasks whenever a web page is viewed.generated.jsonIt can also be used as a dami data, so you can move the display part without obtaining the latest information.
Update the data with authentication tokens.
To obtain the latest challenge information, use a valid GitHub Personal Access Token environmental variable.GH_PERSONAL_ACCESS_TOKENSet it up,npm run prebuildThis process is responsible for generating query and display data for GitHub API.
With local development,npm installAfter establishing a relationship of dependence,npm run devStart the development server in. You can work separately if you need the latest data and if you want to check the display with the accompanied damed data.
