Thank you for considering contributing to WebDevTools! We welcome contributions from everyone. Here’s a guide to help you get started.
This project adheres to a Code of Conduct to foster an open and welcoming environment. By participating, you agree to uphold this code. Report any issues to [email protected].
To report a bug, please open an issue with:
- A clear and descriptive title.
- Steps to reproduce the issue.
- Expected vs. actual results.
- Screenshots or logs if available.
To suggest a feature, please:
- Search for existing suggestions.
- If none exist, open an issue with:
- A clear title and detailed description.
- The problem it solves.
- Examples or references.
For code contributions:
- Fork the repository.
- Create a branch (
git checkout -b feature/your-feature-name
). - Make your changes.
- Test thoroughly.
- Add your feature(if it is a tool) to the
src/db/tools.json
- Commit and push (
git commit -am 'Add new feature'
andgit push origin feature/your-feature-name
). - Open a pull request.
- Fork and Clone:
git clone https://github.com/Bashamega/WebDevTools.git cd WebDevTools
- Install Dependencies:
npm install
- Run Development Server:
npm run dev
- Follow the existing coding standards.
- Use meaningful names for variables and functions.
- Keep functions small and focused.
- New tools must follow the tool naming convention outlined below.
- Write clear comments.
- Document important functions and classes.
- Update README.md as necessary.
When adding tools to db/tools.json, the tool name must be spelt correctly, and capitalized according to the following rules. Apply the rules in order, top to bottom (so that later rules, overrule previous ones if conflicting).
Rule | ✅ Good Example | ❌ Bad example |
---|---|---|
Names must be title case (more info) | Box Shadow Generator | Box shadow generator |
Acronyms must be uppercase | API | Api |
Coding languages must be named correctly | Markdown | Mark down |
Coding languages must have their official capitalization | JavaScript | Javascript |
If coding language has unknown/inconsistent capitalization, it's a proper noun so capitalize it | Tailwind | tailwind |
Why we use this naming convention:
- Names are uniform, and therefore look better on homepage.
- Accessability is improved as users know in what format to expect the names. This mitigates errors in visually scanning a page.
- For example, those with dyslexia (or other similar impairments) are prone to errors recognizing capital and lowercase letters (such as 'G' and 'g') as interchangeable. This could lead to not finding 'Json' because they were expecting 'JSON'.
For help, you can:
- Review the documentation.
- Check existing issues and pull requests.
- Reach out via discussions.
Thank you for contributing to WebDevTools! Your help is greatly appreciated.