-
-
Notifications
You must be signed in to change notification settings - Fork 9
Contributing
We welcome all forms of contribution! Whether it’s fixing a bug, adding a new feature, improving documentation, or adding translations.
- Check Issues – See if there’s already an issue related to your contribution
- Read the Code of Conduct – We expect all contributors to follow our Code of Conduct
- Consider the Scope – For large changes, open an issue first for discussion
Fork the repository to your GitHub account.
git clone https://github.com/username/github-readme-profile.git
cd github-readme-profilenpm installgit checkout -b feature/your-feature-name- Follow the existing code style
- Add comments if necessary
- Update documentation if needed
npm testgit add .
git commit -m "feat: describe your change"
git push origin feature/your-feature-nameOpen a pull request from your branch to the main branch of the original repository.
GitHub Readme Profile supports custom theming, and you can contribute new themes to the built‑in collection.
Note
If you are contributing a theme only for personal use, you can customize the appearance of your card with URL parameters instead – no pull request needed.
Note
Your pull request with a new theme will be merged once it receives enough positive feedback from the community (at least 5–10 👍 reactions). This helps ensure that only themes with broad appeal are included.
Note
Before submitting your theme, please ensure it passes the WCAG 2.0 Level AA contrast ratio test. You can use WebAIM’s contrast checker to verify.
To contribute a theme:
- Edit the
themes/index.tsfile and add your theme at the end. - Follow the existing structure: provide a descriptive name and a set of color definitions (
title_color,text_color,icon_color,border_color,bg_color, etc.).
GitHub Readme Profile supports multiple languages. If your language is missing, you can contribute a translation! See the currently supported languages in i18n/README.md.
To add a new language:
- Edit the
i18n/index.tsfile. - Add a new property to each translation object using the language code as the key. The code should follow the ISO 639-1 standard (e.g.,
id,fr,ja). Country‑specific codes likept-BRare also acceptable. - Provide the translated strings for all keys. Use the existing translations as a reference.
If you are unsure about the language code, check this list for accepted codes.
Use the following format for commit messages:
-
feat:– New feature -
fix:– Bug fix -
docs:– Documentation changes -
style:– Formatting changes (no code change) -
refactor:– Code refactoring -
test:– Adding or updating tests -
chore:– Build process, tooling, etc.
Examples:
feat: add new theme 'ocean'
fix: resolve issue with gradient background
docs: update installation instructions
- Clear Title – Briefly describe the change
- Detailed Description – Explain what was changed and why
- Reference Issues – If related to an issue, reference it
- Update Documentation – If adding a feature, update documentation
If you have any questions, please open an issue with the question label or reach out via GitHub Discussions.
Made with ❤️ using TypeScript