Thank you for your interest in contributing to this project! 🎉
This project now uses individual contributor files instead of a single data.json file. This means:
- No More Merge Conflicts: Each contributor creates their own file, eliminating conflicts between pull requests
- Simple Process: Just create a JSON file with your information
- Automatic Build: GitHub Actions automatically rebuilds the
data.jsonfile when changes are merged
Your contributor file should be named contributors/{your-github-username}.json and follow this format:
{
"github": "your-github-username",
"photo": "https://github.com/your-github-username.png",
"quote": "Your favorite quote here"
}- github (required): Your GitHub username
- photo (optional): URL to your profile photo. If omitted, your GitHub avatar will be used automatically
- quote (required): Your favorite quote or a message
- Fork the repository - Click the "Fork" button at the top right
- Clone your fork -
git clone https://github.com/YOUR-USERNAME/first-contribution.git - Create a branch -
git checkout -b add-your-name - Create your file - Add
contributors/your-username.jsonwith your information - Commit -
git add contributors/your-username.json && git commit -m "Add YOUR-NAME to contributors" - Push -
git push origin add-your-name - Create a Pull Request - Go to GitHub and create a PR from your branch
- Your PR will be reviewed
- Once approved and merged, GitHub Actions will automatically run
- The
data.jsonfile will be regenerated from all contributor files - Your name will appear on the contributors page!
- Check
contributors/TEMPLATE.jsonfor an example - Look at existing files in the
contributors/directory - Open an issue if you have questions
- Ask for help in your pull request comments
If you want to test the build process locally:
npm run buildThis will regenerate data.json from all the contributor files.
Happy Contributing! 🚀